Skip to main content

FFmpeg CVE-2026-125068

| EUVDEUVD-2026-120243 MEDIUM
Unchecked Return Value (CWE-252)
2026-11-09 disclosure@vulncheck.com GHSA-vr38-c6jq-ghxf
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 Bink file with ~2^28-byte frame
  2. Delivery
    Deliver file to victim for decoding
  3. Exploit
    bits_count overflow makes init_get_bits fail
  4. Execution
    Ignored failure triggers NULL deref
  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 the victim to decode a crafted Bink-format file through FFmpeg's Bink video decoder (libavcodec/bink.c), specifically a file containing a frame of roughly 2^28 bytes so that the pkt->size << 3 bit-count calculation overflows and init_get_bits() fails. The flaw is reachable in default builds because the Bink decoder is standard, but it is gated by user interaction (UI:P) - the victim must open or process the attacker-supplied file - and the vector is local (AV:L), not remote-unauthenticated. Limiting factors: impact is availability-only (a process crash), with no code execution, data disclosure, or integrity effect; it affects FFmpeg through 9.0.2 and requires the specific oversized-frame condition.

Impact

This is a moderate-severity, availability-only denial-of-service flaw whose signals are internally consistent and point to low urgency. The provided CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:P/VA:H, score 6.8) describes a local attack requiring passive user interaction with no confidentiality or integrity impact - the attacker merely needs the victim to decode a crafted Bink file. CWE-252 (unchecked return value) matches the root cause confirmed in the commit diff: decode_frame() in libavcodec/bink.c ignored the failure of init_get_bits() when pkt->size << 3 overflowed the bit count for a ~2^28-byte frame, leading to a NULL/invalid GetBitContext dereference and a crash. There is no KEV listing, no EPSS score supplied, and no confirmed public exploit - only the upstream fix commit, pull request, and VulnCheck advisory are referenced, so there is no evidence of in-the-wild or automated exploitation. The vuln.today priority 'this_month' aligns with a patch-on-normal-cadence posture rather than emergency action. Net: a real but low-priority bug - crash-only, local, user-interaction-gated - not a high-CVSS-but-overstated issue and not an urgent threat; the main driver of attention is FFmpeg's enormous deployment footprint rather than the impact of any single crash.

Exploit ScenarioDerived

An attacker crafts a malformed Bink video file whose frame is approximately 2^28 bytes, causing the pkt->size << 3 bit-count computation to overflow; when a victim opens or processes this file with an FFmpeg-based application, init_get_bits() fails but its return value is ignored, and the subsequent decode dereferences an invalid bit-reader state and crashes the process. The impact is limited to denial of service (no code execution or data exposure), and the attacker must get the victim to decode the file. No public exploit code is identified at time of analysis, though the upstream fix commit effectively documents the triggering condition.

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

Processing a crafted Bink video file with FFmpeg 9.0.2 or earlier crashes the decoding process, giving an availability-only denial of service. In libavcodec/bink.c, decode_frame() computes a bit count as pkt->size << 3 in a signed int; a frame of roughly 2^28 bytes overflows that value, init_get_bits() fails, and the return code is ignored, leading to a NULL pointer dereference. The flaw is reachable in default builds because the Bink decoder ships as standard, but it requires the victim to open or process the attacker-supplied file (UI:P on a local vector), and there is no code execution, data disclosure, or integrity impact; no public exploit was identified at time of analysis, and the upstream fix commit 5195d6f9729ad00b93e4d0f0bea309416fb4713e replaces init_get_bits() with a checked init_get_bits8() call.

RemediationAI

Upstream fix available (commit 5195d6f9729ad00b93e4d0f0bea309416fb4713e); a formally tagged release containing it was not independently confirmed in the supplied data, so treat that commit (or the pull request https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25704) as the reference fix and rebuild or upgrade to the first maintainer-published version that includes it, then verify the Bink decoder now returns an error for the oversized-frame case. Where an upgrade cannot be taken immediately, the specific compensating controls are: build FFmpeg with the Bink decoder removed (--disable-decoder=bink), whose trade-off is that all Bink video playback and transcoding stops working; or enforce an input packet/file-size ceiling in the ingestion path ahead of libavcodec so no packet near 2^28 bytes reaches the decoder, whose trade-off is rejection of legitimately huge media containers; or refuse to process Bink content from untrusted sources entirely, which removes the attack surface but also removes the feature. Advisory context is available at https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-null-pointer-dereference-in-bink-video-decoder, and note that the exposure is availability-only (process crash), with no memory-corruption or data-exposure path described in the sources.

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 affected code is FFmpeg's Bink (RAD Game Tools Bink video) decoder, libavcodec/bink.c, which reads a Bink bitstream through the GetBitContext helper API. The root cause class is CWE-252, unchecked return value: decode_frame() derived the bit count as 'int bits_count = pkt->size << 3' and passed it to init_get_bits(), which returns an error when the requested bit size exceeds what the context can represent. With a packet near 2^28 bytes the left shift overflows the signed int, the initialization fails, and the function continues using an uninitialized/invalid GetBitContext, dereferencing a NULL pointer and aborting the process. The upstream commit removes the shifted bit-count variable, switches to init_get_bits8(&gb, pkt->data, pkt->size) with a checked return value, and replaces the manual 'get_bits_count(&gb) >= bits_count' loop guard with the bounds-safe 'get_bits_left(&gb) <= 0', so oversized or malformed packets are rejected before any bit reads occur. The vulnerable sink is line 1275 of libavcodec/bink.c as tagged n9.0.2; only the availability of the decoding process is affected, since the failure path is a crash rather than memory corruption that could be steered toward code execution.

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 local crafted file must be decoded by the victim (AV:L, UI:R), no privileges are needed (PR:N), and the only consequence is a process crash, 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 Bink video decoder because decode_frame() in libavcodec/bink.c ignores init_get_bits() failure. Attackers can supply a crafted Bink file with a frame of about 2^28 bytes, overflowing the bit count and crashing the process for denial of service.

Threat Intelligence Overview

EPSS Score
0.2%
Top 92% exploitable
Prevalence
Ubiquitous
FFmpeg/libavcodec underpins media handling across countless applications and platforms
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