Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconCraft malicious APAC file
-
DeliveryDeliver to victim or upload to media pipeline
-
ExploitFFmpeg APAC decoder processes file
-
InstallUnreset bitstream_index integer overflow
-
C2Reallocation check bypassed
-
Executememcpy heap out-of-bounds write
-
ImpactCrash or arbitrary code execution
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Integer overflow checks
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that FFmpeg's APAC decoder (libavcodec/apac.c) be invoked to decode an attacker-crafted APAC file on a vulnerable version - FFmpeg before 8.1.3 or 9.x before 9.0.2. The trigger is specifically a growing, unreset bitstream_index that overflows (CWE-190) and bypasses the reallocation check before memcpy(). Limiting factors per the CVSS vector (AV:L/UI:P): this is not remotely reachable without local file processing, and it depends on passive user interaction - the victim or a backend service must actually accept and decode the malicious APAC input. Any pipeline that auto-transcodes untrusted user-supplied media with FFmpeg satisfies the interaction condition. The only complete fix stated by the evidence is updating to the fixed versions (8.1.3 / 9.0.2). |
| Impact | This is a genuine but second-tier priority: a heap out-of-bounds write (CWE-190 integer overflow) in FFmpeg's APAC decoder carrying a CVSS 4.0 base of 8.5 with high confidentiality, integrity, and availability impact (VC:H/VI:H/VA:H). The vendor-supplied vector is AV:L/AC:L/AT:N/PR:N/UI:P - this is NOT a remote network-reachable flaw; exploitation requires the victim to locally process an attacker-supplied APAC file, with passive user interaction. That local-plus-interaction gating is the main thing that keeps this below emergency status despite the high impact score. No EPSS score was provided, there is no CISA KEV listing (not actively exploited per available data), and no confirmed working exploit code was supplied - only the fix PR, patch commit, and vulnerable source line are referenced. The vuln.today decision label is 'this_week,' which aligns with the signal picture: serious memory-corruption bug in extremely widely-embedded software, but no evidence of active or at-scale exploitation. The public patch commit (e15ddb7) does lower the bar for exploit development since the exact fix and overflow condition are now disclosed. Missing data to note: EPSS and any SSVC automatable/exploitation fields were not provided, so widespread-exploitation probability cannot be quantified from the input. |
| Exploit ScenarioDerived | An attacker crafts a malicious APAC audio file and delivers it to a victim (e.g., via a download, email attachment, or a web/media service that transcodes user-uploaded media with FFmpeg). When the file is decoded, a growing, unreset bitstream_index causes an integer overflow that bypasses the reallocation size check, so memcpy() writes past the heap buffer - corrupting memory to crash the process or potentially achieve code execution. No confirmed working exploit code was provided in the input, though the fix commit publicly discloses the exact overflow condition. |
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 APAC decoder affects versions before 8.1.3 and 9.x before 9.0.2 when a crafted APAC file is decoded. An unreset bitstream_index grows until an integer overflow (CWE-190) bypasses the reallocation check, allowing a memcpy() to corrupt heap memory or crash the process; the CVSS 4.0 base score is 8.5 with high C/I/A impact on the vulnerable component. Exploitation is local and requires user interaction (AV:L/UI:P, PR:N), and no public exploit was identified at time of analysis, while fixed releases 8.1.3 and 9.0.2 are available.
RemediationAI
Upgrade FFmpeg to 8.1.3 for the 8.x branch or 9.0.2 for the 9.x branch; these are the fixed versions provided, and the vendor patch is available. The source fix is commit e15ddb7f9a2f9b3ab8ac305efb6f94ddc18463d0 (pull request https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24432), with the advisory at https://www.vulncheck.com/advisories/ffmpeg-before-8.1.3-and-9-x-before-9.0.2-heap-out-of-bounds-write-via-apac-decoder. The evidence states that updating is the only complete fix and provides no validated workaround.
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 libavcodec/apac.c implements the APAC audio decoder and tracks bitstream_index and bitstream_size while handling input buffers. In the affected code, an unreset bitstream_index can grow with crafted input until an integer overflow (CWE-190) subverts the reallocation check, so a subsequent memcpy()/memmove() writes past the heap allocation. The supplied fix commit e15ddb7f9a2f9b3ab8ac305efb6f94ddc18463d0 changes the guard around the bitstream compaction/memmove path, and the CPE cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:* identifies FFmpeg as the affected product. The CVSS 4.0 vector AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N describes local access with user interaction and high impact only on the vulnerable component.
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
File must be locally decoded with victim interaction (AV:L/UI:R), no privileges needed (PR:N), and heap corruption yields potential code execution, so C/I/A:H.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
FFmpeg before 8.1.3 and 9.x before 9.0.2 contains a heap out-of-bounds write vulnerability in the APAC decoder in libavcodec/apac.c caused by an unreset bitstream index. Attackers can supply a crafted APAC file whose growing bitstream_index triggers an integer overflow, bypassing the reallocation check so memcpy() corrupts heap memory or crashes the application.
Executive ViewAI
A high-severity vulnerability in the FFmpeg APAC decoder can be triggered by decoding a malicious APAC file, leading to heap corruption or a crash of the affected application. This impacts any product or service that uses the vulnerable FFmpeg library to process untrusted media, potentially causing service disruption or memory compromise. Leadership should prioritize remediation to protect service availability and prevent potential further exploitation.
Apply vendor patch.
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.
Integer overflow occurs when an arithmetic operation produces a result that exceeds the maximum value a given integer type can store.
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-120217
GHSA-crxj-w795-w2wj
NVD
CVE.org
EPSS
Exploit-DB