Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessDeliver crafted RealMedia/Cook file
-
ExploitVictim decodes file in FFmpeg
-
ExecutionTrigger OOB read in joint_decode()
-
ImpactRecover leaked pointers from decoded audio
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK
1 technique across 1 tactic: Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the Cook (RealAudio) decoder to be invoked in joint-stereo mode on an attacker-supplied RealMedia file whose extradata sets js_subband_start greater than subbands, which cook_decode_init() failed to validate; the crafted value drives joint_decode() to read past decode_buffer_0. Limiting factors: the CVSS vector is local (AV:L) and requires passive user interaction (UI:P), i.e. the victim must open or transcode the malicious file; impact is confidentiality-only and low (VC:L), leaking pointers/decoder state into decoded audio that the attacker must then recover, with no integrity or availability effect and no direct code execution. Affected builds are FFmpeg through 9.0.2; updating to a build containing commit 7145d13 is the fix as stated in the evidence. |
| Impact | This is a genuine but low-urgency issue, not a high-CVSS-but-low-risk mismatch - the signals are internally consistent and all point to limited severity. The CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:P, VC:L only) scores 4.8 (Medium) and describes a local, low-complexity, file-driven information disclosure requiring passive user interaction (the victim must decode an attacker-supplied RealMedia/Cook stream); there is no integrity or availability impact claimed. No EPSS score and no KEV status were provided in the input, and no CISA KEV listing is present, so there is no evidence of active exploitation. No confirmed public exploit code is present - the references are the upstream fix commit, the FFmpeg repo, a pull request, and a VulnCheck advisory, not a working PoC. The vuln.today decision label is 'this_month', consistent with a patch-on-normal-cycle priority rather than an emergency. The real-world limiter is the confidentiality impact magnitude: the OOB read leaks pointers and decoder state into the decoded audio samples (an ASLR-weakening primitive), so an attacker must both induce decoding of a crafted file and recover the leaked bytes from the audio output, and the leak alone grants no code execution. One thing to verify: the input Tags call this a 'Buffer Overflow', but the CWE (CWE-125) and description describe an out-of-bounds READ, not an overflow/write - treat the integrity/availability implications as absent, as the CVSS vector does. |
| Exploit ScenarioDerived | An attacker crafts a RealMedia file whose Cook extradata sets js_subband_start larger than subbands, then delivers it to a victim who opens or transcodes it with an FFmpeg-based player or pipeline. During joint-stereo decoding, joint_decode() reads past decode_buffer_0, mixing leaked heap pointers and decoder state into the decoded audio, which the attacker can recover from the output to help defeat ASLR. No public exploit code is identified at time of analysis; exploitation is local and requires the victim to process the malicious file (UI:P). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 09, 2026
Out-of-bounds read in FFmpeg's Cook (RealAudio) decoder, affecting builds through 9.0.2, allows an attacker who supplies a crafted RealMedia file to read past decode_buffer_0 and leak pointers and decoder state into the decoded audio, weakening ASLR. Exploitation requires the victim to open or transcode the malicious file so that the Cook decoder runs in joint-stereo mode with extradata setting js_subband_start greater than subbands; the impact is confidentiality-only and low, with no integrity or availability effect and no direct code execution. No public exploit code has been identified at time of analysis, and the issue is not listed as actively exploited; an upstream fix is available as commit 7145d13201c9f9c5253f40295714faa4f4ada1a0 (PR 24763).
RemediationAI
Apply the upstream fix by rebuilding FFmpeg from a source tree that includes commit 7145d13201c9f9c5253f40295714faa4f4ada1a0, or the corresponding change in pull request https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24763; the commit makes cook_decode_init() reject joint-stereo subpackets whose js_subband_start exceeds subbands with AVERROR_INVALIDDATA, so affected files fail to decode instead of over-reading. No tagged release containing the fix is independently confirmed in the provided data, so verify the commit is present in the build you deploy rather than assuming a version number; downstream distributions and applications that bundle libavcodec must pick up the patched code in their own packages. As a compensating control until patched builds are deployed, avoid decoding untrusted RealMedia/RealAudio files through FFmpeg or FFmpeg-based pipelines and transcode or probe such inputs in an isolated, unprivileged process with memory address randomization treated as already compromised for that sandbox, accepting the trade-off that legitimate RealAudio content will also be blocked. Because exploitation needs the victim to open or transcode a malicious file, filtering or quarantining unsolicited .rm/.ra attachments and downloads at the mail and web gateways reduces exposure, though it does not fix the underlying decoder.
Affected VersionsENISA
Affected Packages
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
Cook is the lossy audio codec used by RealAudio streams inside RealMedia containers, implemented in FFmpeg's libavcodec/cook.c. The flaw is a CWE-125 out-of-bounds read in the decode path: cook_decode_init() parses the stream extradata into per-subpacket fields including js_subband_start and subbands, but did not verify that js_subband_start stays within subbands when joint_stereo is signalled. That unchecked value is later consumed by joint_decode() (referenced at line 854 of the n9.0.2 source tree), which reads past the end of decode_buffer_0. Because the over-read data is folded into the decoded PCM output, an attacker who can recover that audio can obtain leaked pointers and decoder state useful for defeating ASLR. The upstream commit 7145d13201c9f9c5253f40295714faa4f4ada1a0 adds an explicit guard in cook_decode_init() that rejects joint-stereo subpackets where js_subband_start > subbands, logging the mismatched values and returning AVERROR_INVALIDDATA. The assessed vector is local (AV:L) with required user interaction (UI:R) and no privileges (PR:N), scoring confidentiality impact as low and integrity/availability as none.
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
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
File must be processed locally by the victim (AV:L, UI:R); no auth needed to craft the file (PR:N); out-of-bounds read leaks limited data (C:L) with no integrity or availability impact.
Primary rating from Vendor (vulncheck).
CVSS VectorVendor: vulncheck
DescriptionCVE.org
FFmpeg through 9.0.2 contains an out-of-bounds read vulnerability in the Cook decoder joint_decode() function because cook_decode_init() does not check js_subband_start against subbands. Attackers can supply a crafted RealMedia file whose extradata causes reads past decode_buffer_0, leaking pointers and decoder state into decoded audio to help defeat ASLR.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
FFmpeg 2.x allows remote attackers to conduct cross-origin attacks and read arbitrary files by using the concat protocol
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
FFmpeg 2.x allows remote attackers to conduct cross-origin attacks and read arbitrary files by using the subfile protoco
The av_reallocp_array function in libavutil/mem.c in FFmpeg before 2.0.1 has an unspecified impact and remote vectors re
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
Out-of-bounds heap write in FFmpeg's RASC video decoder (decode_dlta in libavcodec/rasc.c) allows attackers to corrupt m
Memory corruption in FFmpeg before 8.1 allows an attacker who can supply a crafted H.264/HEVC media file to corrupt heap
Memory exhaustion in FFmpeg git-master builds before commit d5873b can occur when a victim processes attacker-controlled
Integer Overflow vulnerability in function filter_sobel in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attacker
Integer Overflow vulnerability in function filter_robert in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attacke
Integer Overflow vulnerability in function filter_prewitt in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attack
Integer Overflow vulnerability in function filter16_sobel in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attack
EUVD-2026-120271
GHSA-r22j-f673-v9x4
NVD
CVE.org
EPSS
Exploit-DB