Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessDeliver crafted RealMedia Cook file
-
DeliveryVictim app or pipeline decodes audio stream
-
ExploitOverlapping subpacket channel masks evade validation
-
Executioncook_decode_frame writes past output planes
-
ImpactHeap corruption enables crash or code execution
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, write limits
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires the victim application (or automated pipeline) to decode an attacker-supplied RealMedia file containing a Cook codec multichannel stream whose subpacket channel masks are non-disjoint (overlapping) - the missing validation that the masks' combined popcount equals the total subpacket channel count. The vulnerable code path is specifically the Cook multichannel decoder in libavcodec/cook.c; single-channel/non-overlapping Cook streams and other codecs are not affected. Limiting factors: the CVSS vector is local (AV:L) with passive user interaction (UI:P), so some action to process the malicious file is needed, and only FFmpeg before 8.1.3 and 9.x before 9.0.2 are affected - though server-side transcoding of untrusted uploads can satisfy the 'decode the file' precondition without direct human action. |
| Impact | This is a memory-corruption flaw (CWE-787, heap out-of-bounds write) in FFmpeg's Cook multichannel decoder, and the signals point to a credible but not emergency-grade priority. The supplied CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:P, score 8.5) indicates a local attack vector that requires passive user interaction - i.e. the victim must decode an attacker-supplied file - with no privileges needed and high confidentiality, integrity and availability impact to the vulnerable process. No EPSS score was provided, the CVE is NOT in CISA KEV, and no public exploit code is referenced (the only external links are the fix commit, the upstream pull request, and the VulnCheck advisory). Exploitation status is therefore: no public exploit identified at time of analysis. The vuln.today decision label is 'this_week', consistent with a serious memory-safety bug in an extremely widely embedded library rather than an actively-exploited emergency. Note one tension to verify: although the vector is AV:L, FFmpeg frequently decodes untrusted media inside automated server-side transcoding and upload pipelines, which can make a file-parsing flaw reachable without a human opening anything - so the real-world reachability may exceed what AV:L/UI:P alone suggests. |
| Exploit ScenarioDerived | An attacker crafts a malicious RealMedia file containing a Cook multichannel audio stream whose subpacket channel masks overlap rather than being disjoint. When a victim opens or an automated pipeline decodes this file with a vulnerable FFmpeg/libavcodec build, cook_decode_frame() writes decoded samples past the allocated output planes, corrupting the heap and potentially enabling code execution or a crash. No public exploit code is identified; the fixing commit is public, which could aid reverse-engineering of the trigger. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 09, 2026
Heap out-of-bounds write in FFmpeg's Cook multichannel decoder affects FFmpeg before 8.1.3 and 9.x before 9.0.2 when an application decodes a crafted RealMedia Cook stream whose subpacket channel masks overlap, allowing decoded samples to be written beyond allocated output planes and causing memory corruption with high confidentiality, integrity and availability impact inside the decoding process. The CVSS vector requires local access and user/passive interaction with PR:N, so no privileges are needed but a file must be processed; automated server-side transcoding of untrusted uploads can meet that precondition. It is not in CISA KEV and no public exploit was identified at time of analysis.
RemediationAI
Upgrade FFmpeg to 8.1.3 or 9.0.2 depending on branch; these are the fixed versions identified in the supplied data. The fixing commit 3e09f5e24eb277a6d011745ff03e602f61c5c171 adds validation in cook_decode_init that rejects a channel_mask whose popcount does not equal total_channels, so patched builds fail invalid Cook multichannel streams with AVERROR_INVALIDDATA. No vendor workaround is listed in the supplied references; as a compensating control, avoid decoding untrusted RealMedia/Cook multichannel inputs and restrict or isolate server-side transcoding pipelines that process attacker-supplied uploads, because decoding such a file is the trigger, but this does not remove the underlying bug. See https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24485, https://github.com/FFmpeg/FFmpeg/commit/3e09f5e24eb277a6d011745ff03e602f61c5c171, and https://www.vulncheck.com/advisories/ffmpeg-before-8.1.3-and-9-x-before-9.0.2-heap-buffer-overflow-in-cook-multichannel-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
FFmpeg's Cook decoder handles RealAudio Cook multichannel streams in libavcodec/cook.c. The decoder uses subpacket channel masks to map decoded samples into output channel planes; before the fix it did not verify that the channel mask population count matched the total subpacket channel count, so overlapping/non-disjoint masks could cause cook_decode_frame() to write beyond the allocated planes. This is CWE-787 (out-of-bounds write) in heap memory. The supplied commit 3e09f5e24eb277a6d011745ff03e602f61c5c171 adds a check in cook_decode_init that rejects a channel_mask when av_popcount(channel_mask) != total_channels, returning AVERROR_INVALIDDATA; the referenced vulnerable line is in n9.0.1 at libavcodec/cook.c#L1294. Single-channel or non-overlapping Cook streams and other codecs are not implicated by this fix.
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:H/VI:H/VA:H/SC:N/SI:N/SA:N
The victim must decode a crafted file, so AV:L and UI:R with no privileges (PR:N); a controlled heap out-of-bounds write supports high C/I/A within the decoding process (S:U).
Primary rating from Vendor (vulncheck).
CVSS VectorVendor: vulncheck
Lifecycle Timeline
2DescriptionCVE.org
FFmpeg before 8.1.3 and 9.x before 9.0.2 contains a heap buffer overflow vulnerability in the Cook multichannel decoder in libavcodec/cook.c that fails to verify subpacket channel masks are disjoint. Attackers can supply a crafted RealMedia Cook stream with overlapping subpacket masks, causing cook_decode_frame() to write decoded samples beyond allocated output planes in any application decoding the file.
Executive ViewAI
A high-severity memory corruption flaw in FFmpeg's Cook decoder affects any product or service that processes RealMedia audio, potentially enabling arbitrary code execution or data leakage during transcoding. Leadership should prioritize this because untrusted media uploads are common in customer-facing platforms, and a compromise could result in service disruption, data exposure, and reputational damage.
No vendor-released patch identified at time of analysis; interim mitigations include disabling the Cook decoder in FFmpeg configurations, blocking or sanitizing RealMedia files at upload, running media processing in isolated environments with least privilege, and monitoring for memory corruption indicators.
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.
Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.
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-120292
GHSA-gc9x-4w7v-3282
NVD
CVE.org
EPSS
Exploit-DB