Skip to main content

FFmpeg CVE-2026-125069

| EUVDEUVD-2026-120244 MEDIUM
Unchecked Return Value (CWE-252)
2026-11-09 disclosure@vulncheck.com GHSA-8phj-84xw-84r9
5.7
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

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

  1. Access
    Craft ~2^28-byte Motion Pixels packet
  2. Delivery
    Deliver malicious media to libavcodec
  3. Exploit
    init_get_bits() failure ignored
  4. Execution
    Bit count overflows, NULL buffer read
  5. Impact
    Process crashes (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 the target application route untrusted input through libavcodec's Motion Pixels (MVI) decoder and that the attacker supply a single oversized packet of roughly 2^28 bytes (~256 MB), which overflows the bit count passed to init_get_bits() so that the ignored failure leads to a NULL-buffer read. Limiting factors: the CVSS vector is AV:L (local decoder/API surface) with AT:P (a specific attack requirement - the ~256 MB packet size condition) and AC:H, and UI:P means attacker-supplied passive user interaction (the victim must open or process the crafted stream). Impact is availability-only (VA:H, VC:N/VI:N) - a crash, not code execution. The Motion Pixels codec is a niche/legacy path, so applications that do not decode this format are not exposed. Authentication: PR:N indicates no privileges required (unauthenticated).

Impact

This is a low-to-moderate priority availability-only issue, not an urgent threat. The CVSS 4.0 vector (AV:L/AC:H/AT:P/PR:N/UI:P, VA:H with VC:N/VI:N) describes a local-vector, high-complexity crash with no confidentiality or integrity impact - denial of service only, consistent with CWE-252 (unchecked return value from init_get_bits()) and the 'Denial Of Service' tag. There is no CISA KEV listing and no confirmed public exploit; the references are a fix PR, the FFmpeg repo, the vulnerable source line, the fix commit, and a VulnCheck advisory - none of which is working exploit code, so the status is 'no public exploit identified at time of analysis.' No EPSS score is supplied in the input, so exploitation probability cannot be quantified here. The vuln.today decision label is 'this_month' (routine patch cadence), not act_now or emergency, which aligns with a resource-exhaustion crash rather than code execution. One tension worth noting: the vector is AV:L (local) with UI:P, yet FFmpeg is frequently embedded in servers and services that process remote/untrusted media, so in those deployments an attacker may supply the malicious ~2^28-byte packet remotely even though CVSS scores the decoder API surface as local - assess against your own ingestion path. Net: real but low-severity; patch on normal cycle.

Exploit ScenarioDerived

An attacker crafts a Motion Pixels stream containing a roughly 2^28-byte (~256 MB) packet and gets a victim application to decode it via libavcodec (e.g., a media player, transcoder, or thumbnailing service that accepts untrusted files). Because mp_decode_frame() ignores the init_get_bits() failure, the oversized buffer overflows the bit count and the decoder reads from a NULL buffer, crashing the process. No public exploit code is identified; impact is limited to denial of service, and attacker-supplied passive user interaction (opening/processing the file) is required.

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

NULL pointer dereference in FFmpeg's Motion Pixels (MVI) decoder through 9.0.2 allows an unauthenticated attacker able to supply a crafted ~2^28-byte (~256 MB) packet through the libavcodec API to crash the process, with availability-only impact. Exploitation requires the target application to route untrusted input to this niche legacy decoder and, per the assessed vector, passive user interaction; the condition is high complexity and depends on the specific oversized-packet requirement. No public exploit was identified at time of analysis and the issue is not in CISA KEV, making it a low-to-moderate priority denial-of-service issue rather than an urgent threat.

RemediationAI

Apply upstream fix commit 26b4c37526fe0ecf1095b45daac08050f25f7659 (PR 25704), which replaces init_get_bits() with init_get_bits8() and checks the return value; a released FFmpeg version containing this fix is not independently confirmed in the supplied data. Teams unable to apply the fix should avoid decoding untrusted Motion Pixels (MVI) streams and reject packets at or above roughly 2^28 bytes before they reach libavcodec, accepting that legitimate large MVI files may fail. The vendor reference is https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/motionpixels.c#L302.

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 defect is an unchecked return value (CWE-252) in mp_decode_frame() in libavcodec/motionpixels.c. The decoder calls init_get_bits(&gb, mp->bswapbuf, buf_size * 8); when buf_size is near 2^28, the byte-to-bit multiplication overflows the bit count, init_get_bits() fails, and its return value is ignored, so subsequent bit reads operate on a NULL buffer and crash the process. The upstream fix commit 26b4c37526fe0ecf1095b45daac08050f25f7659 (PR 25704) replaces the call with init_get_bits8(&gb, mp->bswapbuf, buf_size) and returns on error. Motion Pixels is a legacy/niche codec path, so only applications that actually decode MVI through libavcodec are exposed. The CVSS 3.1 assessment is AV:L/AC:H/PR:N/UI:R with availability-only impact (VA:H), and the CVSS 4.0 AT:P reflects the specific ~256 MB packet condition.

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 decoder API surface and a specific ~256MB-packet trigger justify AV:L/AC:H; no privileges (PR:N) but victim must process the file (UI:R); crash-only, so C:N/I:N/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 NULL pointer dereference vulnerability in the Motion Pixels decoder because mp_decode_frame() ignores init_get_bits() failure. Attackers supplying a roughly 2^28-byte packet through the libavcodec API overflow the bit count, causing reads from 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 OS stacks
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