Skip to main content

FFmpeg CVE-2026-125225

| EUVDEUVD-2026-120175 MEDIUM
Unchecked Return Value (CWE-252)
2026-11-09 disclosure@vulncheck.com GHSA-wpcm-g3fv-8mfv
6.8
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

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

  1. Access
    Craft AAC file with >256MB ADTS packet
  2. Delivery
    Deliver to FFmpeg remuxing service/workflow
  3. Exploit
    Bit count overflows, init_get_bits fails unchecked
  4. Execution
    get_bits() NULL pointer dereference
  5. Impact
    Application 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 invoke FFmpeg's aac_adtstoasc bitstream filter, which is applied specifically when remuxing AAC audio into MP4, Matroska (MKV), FLV, or LATM containers - not an all-configurations default. The attacker must supply a crafted AAC file containing an ADTS packet larger than 256 MB so that pkt->size * 8 overflows the bit count and init_get_bits() fails. Limiting factors: the vector is local (AV:L) and requires passive user/operator interaction (UI:P) to process the malicious file, the impact is availability-only (a crash, no code execution or data disclosure), and the large (>256 MB) packet requirement means the attacker must deliver a sizeable crafted file through a workflow that actually performs ADTS-to-ASC remuxing.

Impact

This is a moderate-priority availability issue, not a critical emergency. The supplied CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H) scores 6.8 and limits impact to availability only - a crash (DoS), with no confidentiality or integrity loss, consistent with CWE-252 (unchecked return value) and the 'Denial Of Service' tag. The vuln.today decision label is 'this_month', not act_now/emergency, which aligns with a non-weaponized DoS. No EPSS score, KEV listing, or PoC/exploit reference is present in the input, so exploitation probability signals are absent rather than low - do not read their absence as proof of low interest. The local attack vector plus passive user interaction (UI:P) means an operator or service must process an attacker-supplied file, and the trigger specifically requires a single ADTS AAC packet exceeding 256 MB to overflow the bit-count computation, so init_get_bits() fails and the unchecked path reaches get_bits() for a NULL dereference. The 256 MB threshold and local/file-based delivery materially raise the bar versus a trivial remote crash, pushing this toward targeted or opportunistic DoS against media-processing pipelines rather than widespread automated exploitation. Net: real but bounded - prioritize because FFmpeg is ubiquitous, but it is availability-only and not evidence of active exploitation.

Exploit ScenarioDerived

An attacker uploads or supplies a crafted AAC file containing an ADTS packet larger than 256 MB to a service or workflow that remuxes audio to MP4, Matroska, FLV, or LATM using FFmpeg's aac_adtstoasc bitstream filter. When the victim application processes the file, the oversized packet overflows the bit-count value, init_get_bits() fails without the return value being checked, and the subsequent get_bits() call dereferences a NULL pointer, crashing the application. No public exploit identified at time of analysis; the only referenced code is the upstream fix commit, not a working exploit.

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-inducing NULL pointer dereference in FFmpeg's aac_adtstoasc bitstream filter, reachable only when an application actually uses that filter to remux AAC audio into MP4, Matroska, FLV or LATM containers. A crafted input carrying an ADTS packet larger than 256 MB overflows the integer bit count passed to init_get_bits(); the failure is never checked, so the following get_bits() call crashes the process. Impact is availability-only (CVSS 4.0 6.8 with AV:L/UI:P; independently assessed as CVSS 3.1 AV:L/AC:L/PR:N/UI:R/A:H), no public exploit identified at time of analysis, and vuln.today priority is this_month rather than immediate action.

RemediationAI

Upstream fix available (PR/commit); released patched version not independently confirmed - the correction is commit 3b1cbb5e0f66b85d15f1d3527436520b3f4711ec, proposed via https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25569, which replaces the overflowing init_get_bits() call with init_get_bits8() plus a checked return that jumps to the fail path. Because no fixed tagged release is confirmed in the supplied data, sites that cannot take the commit immediately should constrain the input instead: enforce an ingest-side limit that rejects any AAC/ADTS packet or frame above 256 MB (trade-off: legitimate oversized media is also refused, and the limit must sit in front of the remuxer, not inside FFmpeg); avoid invoking the aac_adtstoasc filter on untrusted files, or run ADTS AAC to MP4/MKV/FLV/LATM remuxing in a sandboxed or short-lived worker process with memory and CPU limits so a dereference crash is contained rather than taking down the parent service (trade-off: that remux path is unavailable or non-conformant for untrusted input, and crash isolation costs an extra process boundary); and restrict untrusted media submission to workflows that do not perform ADTS-to-ASC conversion. Reference tracking is available through https://github.com/FFmpeg/FFmpeg/commit/3b1cbb5e0f66b85d15f1d3527436520b3f4711ec and the VulnCheck advisory linked above.

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 flaw sits in FFmpeg's ADTS-to-AudioSpecificConfig bitstream filter (libavcodec/bsf/aac_adtstoasc.c, line 82 in the n9.0.2 tree), which converts ADTS-framed AAC into the raw AAC/ASC form expected inside MP4, Matroska, FLV and LATM containers. The vulnerable code calls init_get_bits(&gb, pkt->data, pkt->size * 8), passing the packet length in bits as an int expression; for pkt->size above roughly 268 MB (about 256 MiB) that multiplication overflows, the bitreader is initialized with a bogus/invalid bit count, and because the return value is discarded the subsequent get_bits() call dereferences an unusable reader state and crashes. This is CWE-252 (Unchecked Return Value) rather than a memory-corruption class: the fix in commit 3b1cbb5e0f66b85d15f1d3527436520b3f4711ec switches to init_get_bits8(&gb, pkt->data, pkt->size) and adds an explicit 'if (ret < 0) goto fail;' guard so oversized packets are rejected instead of entering the bit reader. The trigger is therefore narrowly gated on both the filter being invoked and a >256 MB ADTS packet being supplied; the sources do not describe any other path to the crash.

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

A crafted local file must be processed through the aac_adtstoasc remux path (AV:L, UI:R); the overflow is deterministically triggered (AC:L) with no privileges, and impact is crash-only (A:H, C:N/I:N).

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

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
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 aac_adtstoasc_filter() that allows attackers to crash applications via oversized ADTS AAC packets. Attackers can supply a crafted file with a packet over 256 MB, overflowing the bit count so init_get_bits() fails unchecked and get_bits() crashes during MP4, Matroska, FLV or LATM remuxing.

Threat Intelligence Overview

EPSS Score
0.2%
Top 92% exploitable
Prevalence
Ubiquitous
core multimedia library embedded in countless applications, 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

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