Skip to main content

FFmpeg CVE-2026-125064

| EUVDEUVD-2026-120239 MEDIUM
Unchecked Return Value (CWE-252)
2026-11-09 disclosure@vulncheck.com GHSA-38mr-whj6-vfhq
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 AVI with oversized G.726 chunk
  2. Delivery
    Deliver file to FFmpeg-based decoder
  3. Exploit
    init_get_bits() fails, failure ignored
  4. Execution
    NULL buffer read in g726_decode_frame()
  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 that FFmpeg (through 9.0.2) actually decode attacker-supplied media through the G.726 ADPCM path - specifically an AVI container carrying a ~268435392-byte G.726 audio chunk large enough to make init_get_bits() fail. The vector is local with passive user interaction (AV:L/UI:P): a victim or automated service must open or process the malicious file; there is no network-service trigger and no authentication is involved (PR:N). Limiting factors: impact is availability-only (process crash, VA:H, VC:N/VI:N), the G.726 decoder must be reachable for the input, and only installations running 9.0.2 or earlier without the fixing commit are affected.

Impact

This is a memory-safety crash (NULL pointer dereference, CWE-252 unchecked return value) whose real-world impact is confined to availability. The supplied CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H) and the CWE together describe a denial-of-service only: VC:N and VI:N mean no confidentiality or integrity consequence, and the commit diff confirms the fix is simply checking the return of init_get_bits8() - consistent with a decoder abort rather than controllable corruption. Exploitation requires the victim to feed a crafted AVI file through the G.726 decoder (UI:P, AV:L), which is why this is a this_month priority per the vuln.today decision label rather than act_now or emergency. There is no KEV listing and no EPSS score in the provided data, and no exploit/PoC flag is set, so there is no evidence of active or widespread exploitation. Net: a legitimate but moderate issue - a reliable crash primitive against anything that decodes untrusted media with FFmpeg, not a code-execution or mass-exploitation threat. The one signal worth verifying is scope of exposure: because FFmpeg is embedded in a vast number of downstream products, a low-severity local DoS can still matter for services that auto-process user-uploaded media.

Exploit ScenarioDerived

An attacker crafts an AVI file containing a 268435392-byte G.726 audio chunk and delivers it to a service or application that decodes media with FFmpeg (through 9.0.2). When g726_decode_frame() processes the oversized packet, init_get_bits() fails but its failure is ignored, so the decoder reads from a NULL buffer and the process crashes. No public exploit is identified in the provided data, but the trigger file is fully specified in the advisory and the one-line nature of the bug makes reproduction straightforward.

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

Crafted AVI files crash FFmpeg through 9.0.2 by forcing a NULL pointer dereference inside the G.726 ADPCM decoder (g726_decode_frame in libavcodec/g726.c), turning untrusted media into a denial-of-service vector for any process, service or pipeline that decodes, transcodes or inspects it. The decoder ignores the failure return of init_get_bits() when a G.726 audio chunk is around 268 MB and then reads from a bit buffer that was never established; the assessed impact is availability-only (CVSS 3.1 AV:L/AC:L/PR:N/UI:R, A:H, with no confidentiality or integrity loss), requiring that a victim or automated job actually open the malicious file. There is no CISA KEV listing and no public exploit identified at time of analysis, and vuln.today priority guidance schedules remediation within the month rather than as an emergency.

RemediationAI

The fix is upstream commit ec887b13a88afbaf44fb28c3045bda5d434da8dc (PR 25704, https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25704), which replaces init_get_bits() with init_get_bits8() and returns the initialization error rather than dereferencing an unset buffer; no released FFmpeg version carrying this commit is confirmed in the supplied data, so treat this as an upstream fix to backport or build against until a tagged release containing it is verified. Distributors and embedders should confirm whether their packaged FFmpeg is at or below 9.0.2 and apply the commit as a downstream patch. Because exploitation requires that attacker-supplied media actually reach the G.726 decoder, exposure can be narrowed in the interim by refusing or pre-screening AVI inputs that carry G.726 audio and by removing G.726 from decoder allowlists in inspection and transcoding services - the trade-off being loss of legitimate G.726 handling and possible rejection of valid files. Content is only dangerous if it is decoded, so quarantining or rejecting untrusted media before it reaches an FFmpeg-based decoder removes the crash path entirely, at the cost of breaking workflows that legitimately process G.726 audio.

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

G.726 is an ITU-T ADPCM speech codec, and FFmpeg's decoder lives in libavcodec/g726.c where g726_decode_frame() wraps the incoming packet in a GetBitContext through init_get_bits(), an API that takes its buffer length in bits. With an AVI carrying a 268435392-byte G.726 audio chunk, that bit-length does not satisfy the bit reader's constraints, so init_get_bits() fails; the return value was not checked (CWE-252, unchecked return value for which the codec class is well known), and decoding continued against a context whose buffer was never populated, producing a NULL pointer dereference and process termination. The upstream fix in commit ec887b13a88afbaf44fb28c3045bda5d434da8dc (PR 25704) replaces the call with init_get_bits8(), which takes a byte count, and propagates the error to the caller instead of continuing. The trigger sits entirely in the media-parsing path: it is only reachable when the G.726 decoder is asked to handle an attacker-supplied packet, and no other codec or container path is implicated by the supplied evidence.

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

Crash is triggered by processing a malicious local file (AV:L, UI:R required) with no privileges; impact is denial of service only, so C:N/I:N and A:H.

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 g726_decode_frame() in libavcodec/g726.c because it ignores init_get_bits() failure on oversized packets. Attackers can supply a crafted AVI file with a 268435392-byte G.726 audio chunk to make the decoder read from a NULL buffer, crashing the process.

Threat Intelligence Overview

EPSS Score
0.2%
Top 92% exploitable
Prevalence
Ubiquitous
FFmpeg is embedded in countless media applications, servers, and pipelines
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

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