Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious VPK file with large channel count
-
DeliveryDeliver to victim for FFmpeg processing
-
ExploitTrigger miscomputed last_block_size in vpk_read_header
-
ExecutionEmit uninitialized heap bytes in final audio packet
-
ImpactLeak adjacent memory contents
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Variable initialization
|
| Exploitation Conditions | Exploitation requires a victim to process an attacker-supplied, crafted VPK file (a niche Sony/game audio container) through FFmpeg's VPK demuxer in libavformat/vpk.c; the crafted file sets a large channel count so that st->duration %% samples_per_block, multiplied out, yields a last_block_size that is not reduced to the true remaining sample count, causing the final packet to include uninitialized heap memory. Limiting factors: passive user interaction is required (the file must be opened/processed, UI:P), the attack vector is local (AV:L), only the rarely-used VPK code path is affected, and the impact is confined to a small, non-deterministic read of adjacent heap memory with no integrity, availability, or code-execution consequence. |
| Impact | This is a genuine but low-urgency memory-disclosure flaw, not a critical priority. The supplied CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:N) scores 4.8 (medium) and the signals are internally consistent: local attack vector, passive user interaction (a victim must process an attacker-supplied file), and low confidentiality-only impact with no integrity or availability effect. There is no CISA KEV listing and no EPSS score was provided, so there is no evidence of active or widespread exploitation; the vuln.today priority is 'this_month' rather than act_now/emergency. No working public exploit is identified - the references are a FFmpeg pull request, the fix commit, source lines, and a VulnCheck advisory, none of which is confirmed as a working exploit. The impact is bounded: the commit confirms vpk_read_header() miscomputes last_block_size so leftover heap bytes are emitted in the final audio packet, i.e. an information leak, not code execution. Net assessment: patch on a normal maintenance cycle; this is a high-prevalence product but a low-real-risk issue. |
| Exploit ScenarioDerived | An attacker crafts a VPK audio file with an oversized channel count so that FFmpeg's VPK demuxer computes an incorrect final block size and emits uninitialized heap memory inside the last audio packet. A victim who transcodes, plays, or otherwise processes the file through FFmpeg could have small fragments of adjacent heap memory surfaced in the output. No confirmed working public exploit is identified at the time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 24, 2026
FFmpeg releases before 9.1 can leak leftover heap memory through the VPK demuxer in libavformat/vpk.c, where vpk_read_header() derives the size of the final audio packet from st->duration modulo samples_per_block in a way that can produce a last_block_size not divisible by the channel count. When a crafted VPK file declares a large channel count, the final packet is sized larger than the real remaining samples, so uninitialized heap bytes are carried into the decoded/exported audio output. It is a low-urgency information disclosure: the assessed vector (CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N) requires local access and the user opening an attacker-supplied .vpk file, the rarely-used VPK code path is the only affected route, and there is no integrity, availability or code-execution impact. No public exploit has been identified at time of analysis, and the vendor fix is available (upstream commit aeadaca2ab90b78ce9199c45973cace4b619c5d3, released in FFmpeg 9.1).
RemediationAI
Upgrade to FFmpeg 9.1 or later; the fix is upstream commit aeadaca2ab90b78ce9199c45973cace4b619c5d3 (pull request https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24914), which corrects the last-block-size computation in libavformat/vpk.c, and vendor patch availability is confirmed. The same commit can be backported if an immediate major-version jump is not feasible, and any product that statically links or bundles FFmpeg must be rebuilt against the patched libavformat rather than relying on a system package update alone. Until patched builds are deployed, exposure can be reduced by preventing untrusted .vpk files from reaching the demuxer - rejecting or quarantining that file type at upload and ingestion boundaries, since VPK is a rare game-audio container with little legitimate traffic in most pipelines - and by running conversions of untrusted media in a low-privilege, sandboxed worker whose adjacent heap holds no secrets, which limits what the uninitialized read can expose but does not eliminate the flaw. These are compensating controls only; per the vendor, updating is the complete fix. Advisory: https://www.vulncheck.com/advisories/ffmpeg-before-9.1-uninitialized-memory-disclosure-via-vpk-demuxer.
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 libavformat provides demuxers for hundreds of containers, one of which is VPK, a niche game-audio container format. In the vulnerable code (visible at line 71 of libavformat/vpk.c in the n9.0.2 tree) the demuxer computed the trailing packet size as (st->duration % samples_per_block) * 16 * st->codecpar->ch_layout.nb_channels / 28, performing the integer division by 28 only after multiplying by the channel count. That ordering means the result is not guaranteed to be a multiple of the channel count, so for a crafted file with an inflated channel count the computed last_block_size overshoots the actual number of remaining samples and the demuxer hands out a packet that extends past the initialized audio data into adjacent heap memory. The upstream fix rewrites the expression as (st->duration - ((int64_t)vpk->block_count - 1) * samples_per_block) * 16 / 28 * st->codecpar->ch_layout.nb_channels, computing the true remaining sample count first and applying the channel multiplier after the division. The root cause is CWE-908 (use of uninitialized resource): data that was never written is treated as valid audio payload. Exposure is bounded by the fact that only the VPK demuxer is affected, the attacker's influence over the leaked bytes is limited to whatever previously occupied that heap region, and the trigger is reached only when a VPK file is opened and demuxed.
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
Local file processing with required user interaction and no privileges; uninitialized heap exposure gives low confidentiality impact only, with no integrity or availability effect.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
FFmpeg before 9.1 contains an uninitialized memory vulnerability in vpk_read_header() in libavformat/vpk.c that computes a last block size not divisible by the channel count. Attackers can supply a crafted VPK file with a large channel count so the last audio packet exposes leftover heap memory contents.
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
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Related Vulnerabilities in FFmpeg Memory Corruption and NULL Dereference Flaws
View all 34FFmpeg 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-133619
GHSA-fxjf-4qmw-88m5
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB