Skip to main content

FFmpeg CVE-2026-135730

| EUVDEUVD-2026-133619 MEDIUM
Use of Uninitialized Resource (CWE-908)
2026-11-24 VulnCheck GHSA-fxjf-4qmw-88m5
4.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 VPK file with large channel count
  2. Delivery
    Deliver to victim for FFmpeg processing
  3. Exploit
    Trigger miscomputed last_block_size in vpk_read_header
  4. Execution
    Emit uninitialized heap bytes in final audio packet
  5. Impact
    Leak 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.

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

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

Alert me

AnalysisAIv1 – 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

FFmpeg 0 <9.1

Affected Packages

euvd ffmpeg fix: 9.1

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

Vendor (VulnCheck) PRIMARY 4.8 MEDIUM
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
vuln.today AI 3.3 LOW

Local file processing with required user interaction and no privileges; uninitialized heap exposure gives low confidentiality impact only, with no integrity or availability effect.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Red Hat 3.3 LOW

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
Low
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

EPSS Score
0.2%
Top 94% exploitable
Prevalence
Ubiquitous
FFmpeg underpins media processing across countless servers, apps, and distros
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor GitHub

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.2%
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
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

24
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +24
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-2025-25469 HIGH POC
8.8 Feb 18

Memory exhaustion in FFmpeg git-master builds before commit d5873b can occur when a victim processes attacker-controlled

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

Vendor StatusVendor

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