Skip to main content

FFmpeg EUVDEUVD-2026-120201

| CVE-2026-125251 HIGH
Integer Overflow or Wraparound (CWE-190)
2026-11-09 disclosure@vulncheck.com GHSA-cpj2-27gm-mf52
7.3
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Deliver crafted VVC/H.266 file
  2. Delivery
    Victim decodes on 32-bit FFmpeg build
  3. Exploit
    nb_units multiplication overflows, undersizing RPL allocation
  4. Execution
    Heap out-of-bounds write corrupts memory
  5. Impact
    Potential 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 (1) a 32-bit FFmpeg build (through 9.0.2) - on 64-bit builds the nb_units * sizeof(RefPicListTab) multiplication does not overflow, so they are not plausibly affected; (2) the VVC/H.266 decoder being invoked on attacker-controlled media; and (3) a crafted access unit containing a very large number of NAL units to force the integer overflow in alloc_frame(). Limiting factors that reduce real-world risk: the attack is local/file-driven (AV:L) and needs the victim to process the malicious file (UI:P), the trigger is non-trivial (AC:H) with a specific attack requirement (AT:P, the 32-bit condition), and there is no evidence of active exploitation. No privileges are required (PR:N).

Impact

This is a genuine but conditional memory-corruption flaw, not a drop-everything emergency, and the signals are internally consistent. The CVSS 4.0 vector (AV:L/AC:H/AT:P/PR:N/UI:P) correctly frames it as a local, file-processing bug: the victim must process an attacker-supplied VVC/H.266 file (UI:P), no attacker privileges are needed (PR:N), but a specific attack requirement applies (AT:P) and the trigger is non-trivial (AC:H). The vuln.today decision label is 'this_week' - elevated but below act_now/emergency - which aligns with the absence of a CISA KEV listing and the lack of any provided EPSS score. No PoC or exploit-code reference is present among the inputs (the references are the fix commit, the pull request, the FFmpeg repo, and a VulnCheck advisory), so there is no public exploit identified at time of analysis. The single most important risk-reducing factor, confirmed by both the description and the code (av_size_mult on nb_units * sizeof(RefPicListTab)), is that the overflow is specific to 32-bit builds; 64-bit builds, where size_t multiplication of these values does not overflow, are not plausibly affected the same way. Net: a high-severity heap out-of-bounds write with real exploitation potential, but materially gated by the 32-bit-build requirement, the need to feed the target a crafted file, and the absence of active-exploitation evidence. Treat as a prompt-patch item for anyone shipping or running 32-bit FFmpeg with VVC decoding exposed to untrusted media, not as an internet-wide emergency.

Exploit ScenarioDerived

An attacker crafts a malicious VVC (H.266) file containing a very large number of NAL units per access unit and delivers it to a victim running a 32-bit FFmpeg build - for example an automated transcoding/thumbnailing service or a desktop media player that accepts untrusted uploads. When the file is decoded, alloc_frame() computes nb_units * sizeof(RefPicListTab) which overflows 32-bit size arithmetic, undersizing the reference picture list allocation and producing heap out-of-bounds writes that corrupt adjacent memory and may lead to code execution. No public exploit is identified at time of analysis; only the upstream fix commit and a VulnCheck advisory are available.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.1% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Nov 09, 2026

A heap out-of-bounds write exists in FFmpeg's VVC (H.266) decoder: alloc_frame() in libavcodec/vvc/refs.c computes the size of the reference picture list allocation as nb_units * sizeof(RefPicListTab) without an overflow check, so a crafted access unit containing a very large number of NAL units can wrap that multiplication on 32-bit builds and produce an undersized heap buffer that is then written past its end. The flaw is confirmed in FFmpeg through 9.0.2 and is only plausibly exploitable when the VVC decoder is compiled for a 32-bit target and fed attacker-controlled media; on 64-bit builds the multiplication does not overflow. The attack is file-driven and local, requires the victim to open the malicious H.266 file, and the trigger is non-trivial; no public exploit code and no confirmed active exploitation were identified at time of analysis. An upstream fix commit (053660fdb0d2403b838690689c47ad7685c3b10b) adds an overflow-checked allocation.

RemediationAI

Apply the upstream fix in commit 053660fdb0d2403b838690689c47ad7685c3b10b (pull request https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25572), which replaces the unchecked nb_units * sizeof(RefPicListTab) expression in alloc_frame() with an av_size_mult() overflow check that aborts decoding on failure; this is an upstream commit-level fix, and a released patched version number is not independently confirmed in the available data, so verify the commit or a release containing it is present in your build rather than assuming a specific tag. Because the flaw only manifests on 32-bit builds, prioritize identification and patching of 32-bit compilations of FFmpeg, including copies embedded in media players, transcoders, and thumbnailers that process user-supplied files; 64-bit builds are not plausibly affected per the assessment but should still be updated on the normal cycle. Where a rebuild is not immediately possible, the practical compensating control is to avoid decoding untrusted VVC/H.266 content on 32-bit deployments - for example by disabling or refusing the VVC decoder for untrusted input, converting or rejecting .h266/AVC-adjacent media at an ingestion boundary, or isolating the decoding process (sandbox, separate low-privilege user, or container) so that a heap corruption cannot reach higher-value memory; the trade-off is loss of H.266 playback/transcoding capability or added processing latency for such input. Updating remains the only complete fix, and 32-bit deployments should treat this within the current week rather than as an emergency patch-out-of-band event. Advisory: https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-vvc-decoder-heap-out-of-bounds-write-via-refs-c.

Affected VersionsENISA

FFmpeg 0 ≤9.0.2

Affected Packages

euvd ffmpeg no fix

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

The weakness is CWE-190 (integer overflow) in an allocation size computation. In libavcodec/vvc/refs.c, the VVC decoder's alloc_frame() allocates the per-frame reference picture list table with av_refstruct_allocz(s->current_frame.nb_units * sizeof(RefPicListTab)), where nb_units derives from the number of NAL units the decoder parses for the current access unit. Because the multiplication is performed in the platform's native size type, a 32-bit build can wrap the product when a crafted stream declares a very large NAL unit count, causing a heap allocation far smaller than the number of entries the decoder subsequently initializes. Those writes land outside the allocated buffer, corrupting adjacent heap metadata and objects (VC:H/VI:H/VA:H in the assessed vector). The upstream patch replaces the unchecked expression with av_size_mult(s->current_frame.nb_units, sizeof(RefPicListTab), &rpl_size) and routes the failure to the existing fail label, rejecting streams whose size computation overflows rather than under-allocating. The impacted component is the H.266/VVC decoding path; the exact trigger conditions and the NAL unit count required to overflow are described only at the level of 'a very large number of NAL units per access unit' in the available sources.

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 7.3 HIGH
CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 7.0 HIGH

File must be decoded locally (AV:L) and the victim must open it (UI:R); the 32-bit-build plus large-NAL-count precondition makes it AC:H; no privileges (PR:N); heap OOB write can yield full compromise (C/I/A:H).

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

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

Attack Vector
Local
Attack Complexity
High
Attack Requirements
Present
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

FFmpeg through 9.0.2 contains an integer overflow vulnerability in the VVC decoder alloc_frame() function in libavcodec/vvc/refs.c that undersizes the reference picture list allocation on 32-bit builds. Attackers can supply a crafted VVC (H.266) file with a very large number of NAL units per access unit to trigger heap out-of-bounds writes and corrupt memory.

Executive ViewAI

Why It Matters

A heap overflow vulnerability in FFmpeg's VVC (H.266) decoder affects only 32-bit builds, where a malicious media file could corrupt memory and potentially enable code execution. The primary risk is to users who process untrusted H.266 video content on 32-bit systems, such as media servers or desktops; 64-bit systems are not impacted. Leadership should prioritize patching 32-bit FFmpeg deployments and restricting untrusted media processing.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis; interim mitigations include disabling the VVC decoder in FFmpeg builds, blocking H.266 file types at email and web gateways, and limiting processing of untrusted media to 64-bit systems.

Threat Intelligence Overview

EPSS Score
0.1%
Top 98% exploitable
Prevalence
Ubiquitous
FFmpeg/libavcodec embedded in vast media pipelines; VVC and 32-bit narrow real exposure
Data Quality
5 sources
Confidence: Medium

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 HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

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