Skip to main content

FFmpeg CVE-2026-125236

| EUVDEUVD-2026-120186 MEDIUM
Memory Leak (CWE-401)
2026-11-09 disclosure@vulncheck.com GHSA-vff4-c9rw-vj7f
4.8
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

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

  1. Access
    Victim decodes attacker-supplied VVC stream
  2. Exploit
    Stream repeatedly replaces SPS/PPS parameter sets
  3. Impact
    Leaked references exhaust process memory (DoS)

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Resource cleanup, leak prevention
Exploitation Conditions

Exploitation requires that the target application or service actually decode VVC/H.266 content with FFmpeg's VVC decoder and that the attacker can supply a crafted stream to it (UI:P - the malicious stream must be fed to the decoder). The specific trigger is a stream that repeatedly replaces the parameter sets (SPS/PPS) so that the leak path in alloc_frame() is hit on each frame-buffer allocation failure, accumulating leaked references over time. Limiting factors: impact is confined to availability (memory growth/DoS) with no confidentiality or integrity effect; a single malformed frame is not enough - sustained processing of the crafted stream is needed to exhaust memory; and the rated vector is local (AV:L), though automated server-side decoders that process untrusted input could be reached without local interaction.

Impact

All signals point to a low-to-moderate, non-urgent issue despite FFmpeg's ubiquity. The CVSS 4.0 base score is 4.8 (medium) with a vector of AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L: local vector, passive user interaction required, no privileges, and only a LOW availability impact with no confidentiality or integrity impact - consistent with a memory-exhaustion denial of service rather than code execution. No EPSS score, no CISA KEV listing, and no public exploit were provided in the input, so there is no evidence of active exploitation or weaponization. The vuln.today decision label is 'this_month' (not act_now or emergency), which aligns with the modest technical impact. The one caveat worth verifying: the assessed vector is AV:L/UI:P (attacker-supplied content processed locally), but the same flaw could be reached over a network by a server-side transcoder that decodes untrusted uploads/streams, in which case the practical attack surface is larger than AV:L implies - confirm the deployment mode (desktop player vs. automated server-side decoding) before deprioritizing. Net: a real but low-severity hardening-grade DoS, not a high-CVSS-but-low-risk inflation case and not a drop-everything priority.

Exploit ScenarioDerived

An attacker crafts a malformed VVC (H.266) stream whose parameter sets are repeatedly replaced and feeds it to an application or service that decodes it with FFmpeg's VVC decoder. Each failed frame-buffer allocation leaks the referenced SPS and PPS structures, so sustained processing of the crafted stream steadily grows memory until the decoding process is exhausted and denied service. No public exploit code was identified in the provided intelligence; only the upstream fix commit and a VulnCheck advisory are referenced.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.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

Memory exhaustion denial of service in FFmpeg's native VVC (H.266) decoder, affecting builds through 9.0.2, caused by leaked SPS/PPS references in alloc_frame() whenever frame buffer allocation fails during decoding of a crafted stream. Only deployments that actually decode attacker-supplied VVC content are exposed - local players opening untrusted files, or server-side transcoders/thumbnailers fed untrusted media - and the crafted stream must be processed at length to grow memory toward exhaustion; impact is limited to availability. No public exploit code or active exploitation has been identified (no CISA KEV entry), and the upstream fix is a commit in libavcodec/vvc/refs.c rather than a confirmed tagged release, so the issue is rated low-to-moderate and non-urgent despite FFmpeg's ubiquity.

RemediationAI

Upstream fix available (PR/commit); released patched version not independently confirmed. Apply commit a13e27336a61a3452e1ab8b4bb132c4174c67498 (https://github.com/FFmpeg/FFmpeg/commit/a13e27336a61a3452e1ab8b4bb132c4174c67498, PR https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25088) or build from a revision containing it, and track the FFmpeg repository for the tagged release that first carries the change - the 9.0.2 tag referenced in the advisory still contains the vulnerable ordering. Where rebuilding is not immediately possible, the practical controls are to keep untrusted VVC/H.266 content away from the decoder: strip or reject H.266 streams at ingest and transcode them only on an isolated host, with the trade-off that legitimate H.266 media is no longer processed; or build with the VVC decoder disabled (configure --disable-decoder=vvc), losing H.266 playback entirely. For automated pipelines that must handle arbitrary media, run decoding in short-lived worker processes under a memory cgroup limit and recycle them on threshold, which bounds the leak at the cost of operational complexity and possible termination of large legitimate jobs.

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

CWE-401 (missing release of memory after effective lifetime) in FFmpeg's VVC/H.266 decoder, in the reference-frame management code at libavcodec/vvc/refs.c. VVC carries sequence parameter sets (SPS) and picture parameter sets (PPS) as reference-counted objects (av_refstruct_ref_c); in alloc_frame() the decoder acquired references to fc->ps.sps and fc->ps.pps before attempting to allocate the frame buffer, and returned on allocation failure without ever releasing them. Each failed allocation therefore permanently increments the parameter-set reference counts, so repeatedly replacing parameter sets in a crafted stream pins successive SPS/PPS objects that can never be freed, producing a steady memory growth. The published diff (commit a13e27336a61a3452e1ab8b4bb132c4174c67498, PR 25088) resolves this by moving the two av_refstruct_ref_c calls after the successful allocation path, so no reference is taken when the function bails out. The reported severity is modest: CVSS 4.0 base 4.8 and the assessed CVSS 3.1 vector AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L both confine impact to availability, with no confidentiality or integrity effect; a single malformed frame is insufficient, since sustained decoding of the crafted stream is needed to exhaust memory. No CPE identifiers, and no root-cause explanation beyond the leak path above, were supplied in the input.

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:N/VI:N/VA:L/SC:N/SI:N/SA:N
vuln.today AI 3.3 LOW

Attacker-supplied VVC content must be processed by the decoder (AV:L, UI:R), needs no privileges (PR:N), and only causes memory-exhaustion DoS, so C:N/I:N/A:L.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/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
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

FFmpeg through 9.0.2 contains a memory leak vulnerability in alloc_frame() in libavcodec/vvc/refs.c that leaks SPS and PPS references when frame buffer allocation fails. Attackers can supply a crafted VVC (H.266) stream that repeatedly replaces parameter sets, steadily growing memory use and causing denial of service.

Threat Intelligence Overview

EPSS Score
0.1%
Top 98% exploitable
Prevalence
Ubiquitous
FFmpeg is embedded across a vast range of media, streaming and transcoding software
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.1%
Patch available No
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

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

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