Skip to main content

FFmpeg CVE-2026-125072

| EUVDEUVD-2026-120247 MEDIUM
Unchecked Return Value (CWE-252)
2026-11-09 disclosure@vulncheck.com GHSA-jr53-v8jr-m3rg
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 oversized mp3adu packet
  2. Delivery
    Application calls libavcodec mp3adu decoder
  3. Exploit
    Signed integer overflow makes init_get_bits fail
  4. Execution
    Ignored failure leads to NULL buffer read
  5. Impact
    Process crash (denial of service)

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Return value checking
Exploitation Conditions

Exploitation requires the target application to pass attacker-controlled data to FFmpeg's mp3adu decoder specifically (the ADU-format MP3 path in libavcodec/mpegaudiodec_template.c) and to supply an oversized packet that triggers the signed integer overflow so init_get_bits() fails. Limiting factors per the CVSS 4.0 vector: the attack is local (AV:L) through the libavcodec API rather than remote, requires passive user interaction (UI:P) - the victim must decode the malicious input - has high attack complexity (AC:H) and a present attack requirement (AT:P), and yields only a crash (availability impact, VA:H; no confidentiality or integrity impact). It applies to FFmpeg through 9.0.2; applications that never route untrusted input to the mp3adu decoder are not exposed.

Impact

This is a medium-severity denial-of-service issue (CVSS 4.0 base 5.7), and the real-world signals align on low-to-moderate priority rather than emergency. The CVSS 4.0 vector is local, not network (AV:L): exploitation occurs by feeding a crafted packet to the libavcodec mp3adu decoder, so an attacker must get the target application to decode attacker-controlled data rather than reaching it directly over a network. High attack complexity (AC:H) plus a present attack requirement (AT:P) and passive user interaction (UI:P) further constrain exploitation, and the impact is availability-only (VA:H; VC:N/VI:N) - a process crash, with no confidentiality or integrity impact and no scope change. The vuln.today decision label is 'this_month' (not act_now/emergency), consistent with a DoS rather than a code-execution threat. No EPSS score is provided in the input, there is no CISA KEV listing, and no proof-of-concept exploit code is referenced - the only code links are the upstream fix commit and pull request, which are remediation artifacts, not exploits. Net: this is a legitimately real bug (confirmed by an upstream fix) but a low-urgency one - a crash-only DoS reachable only when an application decodes untrusted mp3adu data. CWE-252 (unchecked return value of init_get_bits) matches the described mechanism. Key missing data: no EPSS and no explicit fixed release version (only a fix commit) are provided.

Exploit ScenarioDerived

An application that uses FFmpeg's libavcodec to decode untrusted audio is made to process a crafted, oversized mp3adu packet. A signed integer overflow causes init_get_bits() to fail, but its return value is ignored, so subsequent bit reads dereference a NULL buffer and crash the decoding process, denying service to the host application. No public exploit code is identified; only the upstream fix commit and pull request are referenced.

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

Crash of the host process in FFmpeg through 9.0.2: the mp3adu (ADU-format MP3) decoder in libavcodec/mpegaudiodec_template.c ignores the failure return of init_get_bits() after an oversized packet drives a signed integer overflow in the bit-size calculation, so decoding continues against an invalid bit buffer and faults with a NULL pointer dereference. Only applications that route untrusted input specifically to the mp3adu decoder through the libavcodec API are exposed; the CVSS 4.0 vector (AV:L/AC:H/AT:P/PR:N/UI:P) rates this as a local, high-complexity availability-only issue (5.7 base), and the independent assessment concurs with a crash-only, no-confidentiality-or-integrity impact. No public exploit code is identified in the available data, no EPSS score or CISA KEV entry was supplied, and the vulnerability.today decision label is this_month, so the signal is low-to-moderate priority rather than emergency response.

RemediationAI

Apply the upstream fix in commit 0b007e0634de5b4424b9993c95a6c1c50de0115b (pull request 25696), which switches the call to init_get_bits8() and returns an error when initialisation fails; this is an upstream fix available as a commit/PR, and a released patched version number beyond 9.0.2 was not independently confirmed in the supplied data, so verify against the FFmpeg advisory or the VulnCheck advisory at https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-null-pointer-dereference-in-mpeg-audio-decoder before relying on a packaged build. Where rebuilding or upgrading immediately is not possible, the effective compensating control is to prevent untrusted input from reaching the mp3adu decoder at all: constrain the demuxer/decoder selection in the embedding application so MP3 handling never routes attacker-supplied data to that path, or reject packets whose declared size exceeds the decoder's expected frame budget before they are handed to libavcodec, accepting reduced format coverage as the trade-off. Isolating decode work in a separate, restartable process with crash-loop and resource limits contains the availability impact of a successful trigger but does not remove the bug. Given the this_month decision label and the medium 5.7 severity, remediation can be scheduled with the monthly patch cadence rather than treated as an emergency.

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 MPEG audio decoder template (libavcodec/mpegaudiodec_template.c) builds a GetBitContext over the packet payload after the MP3 header and hands it to the frame-parsing routines. The vulnerable code computed the bit length as (buf_size - HEADER_SIZE) * 8 and passed it to init_get_bits(), which cannot represent or validate that size; with an oversized packet the arithmetic overflows the signed integer and the initialiser fails. The return value was never checked, so the decoder proceeded to read through a bit buffer that was never validly set up, producing a NULL pointer dereference and process termination. The root cause class is CWE-252 (Unchecked Return Value), compounded by the signed integer overflow in the size expression; the upstream fix replaces the call with init_get_bits8() and returns early when it reports an error. The flaw resides in the mp3adu code path rather than the standard MP3 decode path, and no CPE strings were supplied with the intelligence, so scoping must be done by FFmpeg library version (through 9.0.2) and by which decoder an embedding application actually invokes.

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 libavcodec API vector (AV:L) with a crafted-input overflow condition folded into AC:H; no auth (PR:N) but the app must decode the data (UI:R); crash-only, so A:H and C:N/I:N.

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 NULL pointer dereference vulnerability in mp_decode_frame() in libavcodec/mpegaudiodec_template.c because init_get_bits() failure is ignored after a signed integer overflow. Attackers can pass an oversized packet to the mp3adu decoder through the libavcodec API, causing reads through a NULL buffer that crash the process.

Threat Intelligence Overview

EPSS Score
0.2%
Top 93% exploitable
Prevalence
Ubiquitous
FFmpeg/libavcodec is embedded across countless media apps, services, and platforms
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment MSRC 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