Skip to main content

FFmpeg EUVDEUVD-2026-120241

| CVE-2026-125066 MEDIUM
Unchecked Return Value (CWE-252)
2026-11-09 disclosure@vulncheck.com GHSA-x5q2-x474-94c9
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 2^28-byte CLJR frame
  2. Delivery
    Deliver file to victim or service
  3. Exploit
    FFmpeg invokes CLJR decoder
  4. Execution
    init_get_bits failure ignored
  5. Persist
    NULL buffer read
  6. Impact
    Process crash (DoS)

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 a victim to process an attacker-supplied AVI file whose stream is decoded by FFmpeg's CLJR (Cirrus Logic AccuPak) decoder, and the crafted CLJR frame must be 2^28 bytes so that buf_size * 8 overflows the bit count and init_get_bits() fails; the vulnerable decode_frame() in libavcodec/cljrdec.c then proceeds and dereferences a NULL buffer. Per the CVSS vector this is local (AV:L) and needs passive user interaction (UI:P) - the victim must open or auto-process the file - with no authentication (PR:N). LIMITING factors: impact is a crash only (no code execution or data exposure), and the rarely-used CLJR codec path must actually be reached, which depends on the input stream format rather than any default network-facing configuration.

Impact

This is a medium-severity denial-of-service issue, and the signals are internally consistent rather than conflicting. The CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H) describes a local attack vector requiring passive user interaction, with impact limited to availability (a process crash) - no confidentiality or integrity impact, which matches CWE-252 (unchecked init_get_bits() return) and the NULL-pointer-dereference mechanism confirmed in the source diff. The vuln.today priority is 'this_month' (not act_now/emergency), aligning with a non-urgent DoS. No EPSS score was supplied, so exploitation probability cannot be quantified; it is not listed in CISA KEV, and no working exploit code is identified - only a vendor advisory and the fix commit are referenced. Net: this is a genuine but low-urgency bug, not a high-CVSS-but-misrated critical. Real-world risk is bounded by the fact that an attacker only achieves a crash of the decoding process, must get a victim to process a crafted file, and must reach the obscure CLJR codec path. Treat as routine patch hygiene rather than an emergency.

Exploit ScenarioDerived

An attacker crafts a malicious AVI file containing a Cirrus Logic AccuPak (CLJR) stream with a 2^28-byte frame and delivers it to a victim (e.g., via download, email, or a media-processing service). When FFmpeg decodes the file, the oversized frame overflows the bit count and init_get_bits() fails, but decode_frame() ignores the error and reads from a NULL buffer, crashing the process. No public working exploit code is identified; the vector is local with passive user interaction and impact is limited to a crash.

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

Opening an attacker-supplied AVI file in any application built on FFmpeg through 9.0.2 can crash the process: the Cirrus Logic AccuPak (CLJR) decoder in libavcodec/cljrdec.c dereferences a NULL buffer after failing to check the return value of its bit-reader initialization. Impact is limited to denial of service - a crash, with no code execution, memory disclosure, or data modification - and the vector is local and unauthenticated, requiring the victim to open or auto-process the crafted file (UI:P). No public exploit code is identified at time of analysis and the issue is not in CISA KEV; published severity is 6.8 with a 'this_month' priority, consistent with a routine media-parsing crash in a rarely exercised codec path.

RemediationAI

Upstream fix available (PR/commit); released patched version not independently confirmed - FFmpeg PR 25704 / commit d40c1b12811814fc6c2d0816527b003d8510ea06 replaces the unchecked init_get_bits() call with a size-validating init_get_bits8() whose negative return is propagated, so rebuild libavcodec from a revision at or after that commit, or apply the equivalent one-line change when backporting to 9.0.x. Where rebuilding is not immediately possible, the most direct compensating control is to deny the CLJR decoder to untrusted input - remove libavcodec's cljr decoder from the build or reject 'cljr'-tagged streams in the application's codec allowlist - accepting that legitimate AccuPak AVI files will then fail to decode; alternatively enforce a maximum frame/packet payload size below 2^28 bytes on media accepted from untrusted sources, which blocks the overflow precondition but can reject unusually large legitimate frames; and run transcoding, thumbnail, and preview workers as sandboxed low-privilege processes so that a successful NULL dereference crashes only the worker rather than the parent service. Prioritize these changes within a normal monthly patch cycle, as the reported impact is crash-only denial of service on a non-default, rarely used codec path.

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 CLJR decoder (libavcodec/cljrdec.c, decode_frame() around line 54), which uses the libavcodec get_bits bitstream reader. The legacy init_get_bits() helper takes a bit count as an int, so a frame whose payload is 2^28 bytes produces buf_size * 8 equal to 2^31 and overflows into a negative/invalid bit count; initialization consequently fails. Because decode_frame() ignores that return value and keeps calling the get_bits accessors, the decoder reads through a NULL buffer. The root cause class is CWE-252 (Unchecked Return Value) rather than a memory-safety bug in the bitstream reader itself, and the upstream fix at commit d40c1b12811814fc6c2d0816527b003d8510ea06 confirms this by replacing init_get_bits(&gb, buf, buf_size * 8) with a checked init_get_bits8(&gb, buf, buf_size) that returns an error when the size is out of range. The bug therefore depends on the size of the decoded CLJR frame, which is why reaching the rarely used CLJR codec path via a crafted AVI container is the prerequisite; the trigger for the underlying bit-reader failure is precisely the oversized (2^28-byte) frame described in the advisory. The only impact class reported is denial of service (tagged 'Denial Of Service'), and no CPE identifiers were supplied with the intelligence.

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 victim must process a malformed local file (AV:L, UI:R) with no privileges (PR:N); impact is a decoder-process crash only, so C:N/I:N/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 the Cirrus Logic AccuPak (CLJR) decoder in libavcodec/cljrdec.c because decode_frame() ignores init_get_bits() failure. Attackers can supply a crafted AVI file with a 2^28-byte CLJR frame that overflows the bit count, causing reads from a NULL buffer and crashing the process.

Threat Intelligence Overview

EPSS Score
0.2%
Top 92% exploitable
Prevalence
Ubiquitous
FFmpeg/libavcodec is embedded across a vast range of media software and services
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