Skip to main content

FFmpeg EUVDEUVD-2026-54161

| CVE-2026-70629 MEDIUM
Use of Uninitialized Resource (CWE-908)
2026-08-06 disclosure@vulncheck.com GHSA-824f-v6qw-342h
6.8
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious RSCC video with undersized compressed tile
  2. Delivery
    Deliver file to FFmpeg-based media service
  3. Exploit
    Service decodes file via RSCC decoder
  4. Execution
    Tile decompresses fewer bytes than declared geometry
  5. Persist
    av_image_copy_plane() copies uninitialized inflated_buf suffix into output frame
  6. Impact
    Attacker retrieves decoded output and extracts leaked heap contents

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Variable initialization
Exploitation Conditions

The target must decode a crafted RSCC-encoded video file using FFmpeg's built-in RSCC decoder (libavcodec/rscc.c), which is compiled in by default in standard FFmpeg builds - no non-default configuration is required to be vulnerable. The attacker must craft a tile whose compressed payload inflates to fewer bytes than the tile's declared geometry (width × height × bytes-per-pixel), which requires knowledge of the RSCC tile header format but no authentication or system privileges. Passive user interaction is required (CVSS 4.0 UI:P): a user or automated service must open or process the crafted file, meaning services that automatically decode uploaded or fetched media are at elevated risk. Exploitation is strictly limited to information disclosure - no code execution, no integrity modification, and no availability impact are possible via this flaw. The severity of what can be disclosed is highest in persistent long-running decoding services, where ctx->inflated_buf retains data across many frame decode cycles.

Impact

The CVSS 4.0 score of 6.8 (Medium) accurately characterizes real-world risk: attack vector is local (AV:L), passive user interaction is required (UI:P), and impact is confidentiality-only (VC:H, VI:N, VA:N). The local attack vector does not mean physical access - any service that ingests user-supplied video effectively becomes a network-reachable attack surface through the media input pathway, which is the primary threat model for transcoding pipelines, media upload endpoints, and persistent decoding daemons. The risk is materially elevated in persistent decoding services where ctx->inflated_buf accumulates residual data across frames and sessions, potentially leaking sensitive in-process memory (e.g., credentials, keys, or prior user content). No KEV listing exists, no POC has been identified, and EPSS data was not provided, all of which suggest this is not yet actively exploited at scale. The low attack complexity (AC:L) and no-prerequisites configuration (AT:N, PR:N) mean that if a POC were published, reliable exploitation would be straightforward. Overall: a genuine medium-priority finding for any organization operating FFmpeg-based media processing services that accept untrusted input.

Exploit ScenarioDerived

An attacker uploads a crafted RSCC-encoded video file to a media transcoding service backed by FFmpeg, engineering the tile compressed data so it decompresses to fewer bytes than the declared tile width-by-height geometry. When FFmpeg's RSCC decoder processes the file, the unwritten tail of ctx->inflated_buf - containing residual heap data from earlier in the session - is incorporated into the decoded frame and written to the transcoder's output file or stream. The attacker then retrieves the output and inspects the frame pixel data for recognizable heap artifacts, potentially recovering fragments of prior decoded media or in-process memory contents. No POC has been identified at time of analysis, but the attack requires only file delivery and standard decoding.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 06, 2026

Heap memory disclosure in FFmpeg's native RSCC decoder (libavcodec/rscc.c) allows an attacker who can supply a crafted video file to expose residual heap contents - including data from prior heap allocations or previously decoded frames - to any downstream consumer of the decoded output. The flaw stems from rscc_decode_frame() calling av_image_copy_plane() without verifying that the number of decompressed bytes matches the declared tile geometry, allowing the unwritten suffix of the persistent ctx->inflated_buf to propagate silently into the output frame. All FFmpeg builds from 3.0 through 8.x are affected; no public exploit has been identified at time of analysis, and no KEV listing exists.

RemediationAI

Upstream fix available (PR/commit); released patched version not independently confirmed - the fix is present in upstream commits 533a619, a5fe21a, and cd1f545 on code.ffmpeg.org (PR #23895), but no tagged FFmpeg 9.0 release version was confirmed from the provided data. Organizations should apply these commits to their FFmpeg source tree and rebuild, or upgrade to FFmpeg 9.0 once it is officially released. As an immediate compensating control, rebuild FFmpeg with --disable-decoder=rscc to eliminate the vulnerable code path entirely; the trade-off is loss of RSCC decode capability, which is a niche screen-capture codec unlikely to be required in most production pipelines. For services that cannot be rebuilt immediately, implement strict input codec whitelisting using FFmpeg's -allowed_extensions and -codec options to reject RSCC-encoded files before they reach the decoder. Sandboxing the FFmpeg decoding process (via seccomp-bpf, bubblewrap, or containerization with no shared memory) limits the exploitability of any heap disclosure by preventing the leaked data from reaching sensitive co-resident memory.

Affected VersionsENISA

FFmpeg 3.0 <9.0

Affected Packages

euvd ffmpeg fix: 9.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

FFmpeg's RSCC decoder handles the RealMedia Screen Capture Codec, a tile-based format used in screen recordings. The vulnerable function rscc_decode_frame() inflates compressed tile data via zlib into ctx->inflated_buf, a persistent heap buffer that is not zeroed between frames or between decode invocations. CWE-908 (Use of Uninitialized Resource) is the root cause class: after decompression, the code calls av_image_copy_plane() using the full declared tile dimensions rather than the actual decompressed byte count, so any unwritten suffix of inflated_buf - potentially containing stale heap data from prior allocations or prior decoded frames - is blindly copied into the output frame. The vulnerability spans all CPE-applicable FFmpeg versions from 3.0 to pre-9.0 as confirmed by ENISA EUVD-2026-54161. The CVSS 4.0 vector AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N reflects a local file-processing flaw with no integrity or availability impact.

Know when Ffmpeg gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vulncheck) PRIMARY 6.8 MEDIUM
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
vuln.today AI 5.5 MEDIUM

File must be locally processed (AV:L), attacker needs no privileges to supply crafted input (PR:N), passive user or service interaction required (UI:R); confidentiality impact only, no integrity or availability effect.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
SUSE 6.1 MEDIUM
AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H
Red Hat 5.5 MEDIUM

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Aug 06, 2026 - 23:03 EUVD
CVE Published
Aug 06, 2026 - 22:18 cve.org
MEDIUM 6.8

DescriptionCVE.org

FFmpeg versions from 3.0 up to, but not including, 9.0 contain an uninitialized heap memory read vulnerability in the native RSCC decoder (libavcodec/rscc.c) that allows attackers to disclose heap memory contents by supplying a crafted video file with a compressed tile that decompresses fewer bytes than the declared tile geometry requires. When rscc_decode_frame() calls av_image_copy_plane() without validating the decompressed byte count against the tile dimensions, the unwritten suffix of the persistent intermediate buffer ctx->inflated_buf is copied into the decoded frame, potentially exposing data from prior heap allocations or previous decoded frames in persistent decoding services.

Threat Intelligence Overview

EPSS Score
0.1%
Top 97% exploitable
Prevalence
High
core multimedia framework embedded in countless media pipelines and applications
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Ffmpeg

View all
CVE-2016-1897 MEDIUM POC
5.5 Jan 15

FFmpeg 2.x allows remote attackers to conduct cross-origin attacks and read arbitrary files by using the concat protocol

CVE-2017-9993 HIGH
7.5 Jun 28

FFmpeg before 2.8.12, 3.0.x and 3.1.x before 3.1.9, 3.2.x before 3.2.6, and 3.3.x before 3.3.2 does not properly restric

CVE-2016-1898 MEDIUM POC
5.5 Jan 15

FFmpeg 2.x allows remote attackers to conduct cross-origin attacks and read arbitrary files by using the subfile protoco

CVE-2013-4265 CRITICAL POC
10.0 Nov 23

The av_reallocp_array function in libavutil/mem.c in FFmpeg before 2.0.1 has an unspecified impact and remote vectors re

CVE-2020-12284 CRITICAL POC
9.8 Apr 28

cbs_jpeg_split_fragment in libavcodec/cbs_jpeg.c in FFmpeg 4.1 and 4.2.2 has a heap-based buffer overflow during JPEG_MA

CVE-2026-58049 HIGH POC
8.8 Jun 28

Out-of-bounds heap write in FFmpeg's RASC video decoder (decode_dlta in libavcodec/rasc.c) allows attackers to corrupt m

CVE-2026-30754 HIGH POC
8.8 Sep 08

Memory corruption in FFmpeg before 8.1 allows an attacker who can supply a crafted H.264/HEVC media file to corrupt heap

CVE-2021-38094 HIGH POC
8.8 Sep 20

Integer Overflow vulnerability in function filter_sobel in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attacker

CVE-2021-38093 HIGH POC
8.8 Sep 20

Integer Overflow vulnerability in function filter_robert in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attacke

CVE-2021-38092 HIGH POC
8.8 Sep 20

Integer Overflow vulnerability in function filter_prewitt in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attack

CVE-2021-38091 HIGH POC
8.8 Sep 20

Integer Overflow vulnerability in function filter16_sobel in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attack

CVE-2021-38090 HIGH POC
8.8 Sep 20

Integer Overflow vulnerability in function filter16_roberts in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows atta

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise High Performance Computing 15 SP7 Affected
SUSE Linux Enterprise Module for Desktop Applications 15 SP7 Affected
SUSE Linux Enterprise Module for Package Hub 15 SP7 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy