Skip to main content

FFmpeg EUVDEUVD-2026-120246

| CVE-2026-125071 MEDIUM
Unchecked Return Value (CWE-252)
2026-11-09 disclosure@vulncheck.com GHSA-7xwx-886w-7fhp
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 oversized ~268MB JV video packet
  2. Exploit
    Deliver file to a libavcodec-based application
  3. Execution
    Bit count overflows, decode_frame reads NULL buffer
  4. Impact
    Application 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 decode attacker-supplied JV-format video through FFmpeg's libavcodec JV decoder (jvdec.c) and that the attacker can submit a roughly 268,435,460-byte (~268 MB) packet, which overflows the 8*video_size bit-count computation so decode_frame() dereferences a NULL buffer. Limiting factors: the vector is local (AV:L) not network, it needs passive user interaction to get the file processed (UI:P), it carries a specific attack requirement (AT:P - the oversized packet) and high complexity (AC:H), the JV codec is a niche/rarely-used format so most deployments never reach this path, and impact is availability-only (a crash) with no confidentiality or integrity effect. Access is unauthenticated (PR:N) but local. Per the evidence, the complete fix is the upstream code change; no alternative vendor mitigation is stated.

Impact

This is a low-to-moderate real-world priority despite the 5.7 CVSS 4.0 score. Every severity-limiting signal points the same way: the vector is AV:L (local - the attacker must get a crafted JV packet/file processed by the target, not reach it over a network), AC:H and AT:P (a non-trivial, specific trigger - a roughly 268,435,460-byte packet that overflows the 8*video_size bit count), UI:P (passive user interaction - something must feed the file to the decoder), and the only impact is VA:H with VC:N/VI:N - a crash, no code execution, no data exposure. No CISA KEV listing is present, no EPSS score was provided in the input (so exploitation probability cannot be quantified here, and this gap should be noted explicitly), and no public exploit code is referenced - the listed links are the upstream fix commit, the FFmpeg repo/source line, the pull request, and the VulnCheck advisory, not a weaponized PoC. The vuln.today decision label is 'this_month', not act_now/emergency, consistent with a reliable-but-low-impact DoS. Net: a genuine NULL-pointer-dereference DoS confirmed by the source diff, but crash-only, local, and condition-dependent against a rarely-exercised codec - patch on a normal maintenance cycle rather than as an emergency.

Exploit ScenarioDerived

An attacker crafts a malicious JV video file containing a ~268 MB packet and gets a victim application built on libavcodec to decode it. The oversized packet overflows the bit count passed to init_get_bits, so decode_frame() in jvdec.c reads from a NULL buffer and the process crashes, producing a denial of service. Exploitation is local and requires the file to be routed through FFmpeg's JV decoder; no public exploit identified at time of analysis.

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

Denial of service in FFmpeg through 9.0.2's JV video decoder (libavcodec/jvdec.c): a crafted JV packet of roughly 268,435,460 bytes overflows the bit-count computation passed to the bitstream reader, so decode_frame() ends up reading from a NULL buffer and the decoding application crashes. Impact is availability-only, and exposure is narrow - the assessed vector is local (AV:L) with high attack complexity, a specific attack requirement (the oversized packet), required user interaction to get the file decoded, and the JV codec is a rarely used format, so only applications that decode untrusted JV media through libavcodec are reachable. No public exploit code was identified at time of analysis, and the issue is not in CISA KEV; the upstream fix commit is referenced in the advisory data.

RemediationAI

Upstream fix available (PR/commit); released patched version not independently confirmed - the corrective change is commit 839c93f261cd3e1719edfac4244a2d0055ce8841, which swaps init_get_bits(&gb, buf, 8 * video_size) for the checked init_get_bits8(&gb, buf, video_size) in libavcodec/jvdec.c and returns on error, and it is tracked upstream via PR https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25704. Rebuild or update FFmpeg (and every application, container image, or vendored copy that statically or dynamically links libavcodec) to a revision that contains that commit, then confirm the shipped libavcodec version rather than relying on a package version string alone; downstream distributions and embedded vendors should track their own advisories against the upstream commit and the VulnCheck advisory https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-null-pointer-dereference-in-jv-video-decoder. The advisory data states no alternative vendor mitigation and presents the code change as the complete fix, so there is no vendor-documented configuration workaround to substitute for patching; deployments that cannot rebuild immediately can only reduce exposure by keeping untrusted or oversized JV media away from libavcodec-based decoding paths (for example rejecting or quarantining very large JV inputs at the application or ingestion layer), which is a compensating control with the trade-off of blocking some legitimate large files and leaving the underlying decoder defect in place, and by treating decoder crashes as a service-availability concern in monitoring.

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 the JV video decoder, libavcodec/jvdec.c (the referenced source line is 169 of the n9.0.2 tag), which parses a JV-format bitstream handed to it through the libavcodec API. The vulnerable code initialised the bitstream reader with init_get_bits(&gb, buf, 8 * video_size); the bit-count argument is an int, so a video_size near 268 MB makes 8 * video_size overflow, leaving the GetBitContext with a corrupted bit counter and causing decode_frame() to read from a NULL buffer. The fix commit 839c93f261cd3e1719edfac4244a2d0055ce8841 replaces that call with the bounds-checked init_get_bits8(&gb, buf, video_size) and propagates its negative return, which maps to CWE-252 (Unchecked Return Value) - the 64-bit-safe initialiser both avoids the multiplication overflow and reports failure instead of proceeding with an invalid state. Any application that links libavcodec and routes attacker-supplied data to the JV decoder inherits the crash condition; formats and code paths that never invoke jvdec.c are unaffected. The trigger requires the oversized packet described in the advisory; the sources do not indicate any confidentiality or integrity impact, and no memory-corruption primitive beyond the NULL dereference is described.

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 crafted-file trigger through a specific decoder with an oversized-packet condition (AV:L, AC:H, UI:R); unauthenticated (PR:N); 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 libavcodec/jvdec.c that allows attackers to crash applications by supplying oversized JV video packets. Attackers can pass a roughly 268435460-byte packet through the libavcodec API, overflowing the bit count so decode_frame() reads from a NULL buffer and causes denial of service.

Threat Intelligence Overview

EPSS Score
0.2%
Top 93% exploitable
Prevalence
Ubiquitous
FFmpeg/libavcodec is embedded in a huge fraction of media-handling software
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