Skip to main content

FFmpeg CVE-2026-125242

| EUVDEUVD-2026-120192 MEDIUM
Memory Leak (CWE-401)
2026-11-09 disclosure@vulncheck.com GHSA-gh9x-8hxx-prcf
5.7
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

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

  1. Access
    Supply crafted H.264 stream with malformed NAL units
  2. Delivery
    Victim decodes via VDPAU hwaccel path
  3. Exploit
    Abort pictures before end_frame
  4. Execution
    Leak bitstream_buffers table on repeat
  5. Impact
    Exhaust heap memory, denial of service

Vulnerability Assessment

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

Exploitation requires FFmpeg to be built with and actively using the VDPAU hardware-acceleration decode path (libavcodec/vdpau.c), and the attacker must supply a crafted H.264 stream whose malformed NAL units repeatedly abort pictures before end_frame so the bitstream_buffers table is leaked each iteration. Limiting factors: the vector is local (AV:L) and gated by user interaction (UI:P) - the victim must process the malicious input; attack complexity and a specific attack requirement apply (AC:H/AT:P); and the denial of service only materializes under sustained or repeated processing that accumulates leaked allocations. Builds or decode configurations that do not use the VDPAU hwaccel path are not affected.

Impact

This is a medium-severity, availability-only issue (CVSS 4.0 base 5.7). The supplied CVSS 4.0 vector carries multiple limiting signals that converge toward modest real-world risk: AV:L (local), AC:H (high complexity), AT:P (a specific attack requirement must be met), UI:P (the victim must process the malicious input), PR:N (no privileges), and impact confined to VA:H (availability) with VC:N/VI:N - no confidentiality or integrity loss, consistent with CWE-401 memory leak leading to denial of service. The vuln.today priority Decision label is 'this_month', i.e. routine remediation rather than act_now/emergency. No CISA KEV listing is present (no public exploit identified at time of analysis), no EPSS score was provided in the input, and no confirmed working PoC is supplied - the references are the FFmpeg fix PR, two fix commits, and a VulnCheck advisory, all remediation/disclosure artifacts rather than exploit code. The signals are internally consistent (local, user-interaction-gated, availability-only DoS), so there is no sharp conflict to flag; the main caveat is that EPSS is absent from the input and cannot be weighed. Bottom line: a legitimate bug to patch on a normal cadence, not a high-urgency priority, and materially gated by the requirement that the VDPAU hardware-acceleration decode path actually be in use.

Exploit ScenarioDerived

An attacker crafts an H.264 stream containing malformed NAL units that repeatedly abandon pictures before end_frame, then induces a victim running FFmpeg with the VDPAU hardware-acceleration decode path to process it. Each aborted picture leaks the bitstream_buffers table, and sustained or looping processing gradually exhausts heap memory until the decoding process crashes or the host degrades. No public exploit was identified at time of analysis; exploitation is local, high-complexity, and requires the victim to process the attacker's input.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Nov 09, 2026

Heap memory exhaustion in FFmpeg's VDPAU hardware-accelerated decode path can cause denial of service when crafted H.264 streams repeatedly abandon pictures before end_frame, leaking the bitstream_buffers table. The issue affects FFmpeg through 9.0.2 and is limited to builds actively using the VDPAU hwaccel path, with local, user-assisted processing required. No public exploit was identified at time of analysis, and there is no CISA KEV entry.

RemediationAI

Apply the upstream fixes in commits 2c6cd8098844f2367f8ba0a3a483e405c8f76449 and eac2bedcf6245552b39eed32b334851bc6a1b8fa, or the corresponding FFmpeg PR at https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25231, and upgrade to an FFmpeg build containing these changes; a released patched version is not independently confirmed from the available data. If upgrading is not immediately possible, avoid the VDPAU hwaccel decode path for untrusted H.264 input by using software decoding or disabling VDPAU acceleration, accepting higher CPU load, because builds or configurations not using VDPAU are reported unaffected. The VulnCheck advisory is available at https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-memory-leak-via-vdpau-hwaccel-bitstream-buffer-table.

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

FFmpeg's VDPAU integration in libavcodec/vdpau.c manages hardware-accelerated decoding and allocates a bitstream_buffers table for picture contexts. The weakness is CWE-401 (Missing Release of Memory after Effective Lifetime): when a crafted H.264 stream's malformed NAL units cause pictures to be aborted before ff_vdpau_common_end_frame, the table is not freed, so repeated aborts accumulate heap allocations. The upstream fix adds ff_vdpau_free_frame_priv(), which calls av_freep(&pic_ctx->bitstream_buffers), and registers it as the .free_frame_priv callback for the AV1, H.264, HEVC, MPEG-1/2/4, VC-1/WMV3, and VP9 VDPAU hwaccels. Exploitation requires FFmpeg to be built with and actively using the VDPAU decode path; configurations that do not use VDPAU are not affected. The assessed vector is availability-only (A:H), with local access, high attack complexity, a specific attack requirement, no privileges, and user interaction.

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

Local stream decode via VDPAU (AV:L), no privileges (PR:N) but requires victim processing and a hard-to-meet trigger (UI:R/AC:H); heap exhaustion yields availability-only impact (A:H).

3.1 AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H
4.0 AV:L/AC:H/AT:P/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Red Hat 4.7 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
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
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 libavcodec/vdpau.c that allows attackers to exhaust heap memory by aborting pictures before end_frame. Attackers can supply crafted H.264 streams with malformed NAL units that repeatedly abandon pictures, leaking the bitstream_buffers table continuously and causing denial of service.

Threat Intelligence Overview

EPSS Score
0.2%
Top 95% exploitable
Prevalence
Ubiquitous
FFmpeg/libavcodec underpins vast numbers of media pipelines, though VDPAU path narrows real exposure
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 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

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
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