Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft Bink file with ~2^28-byte frame
-
DeliveryDeliver file to victim for decoding
-
Exploitbits_count overflow makes init_get_bits fail
-
ExecutionIgnored failure triggers NULL deref
-
ImpactProcess 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (vulncheck).
CVSS VectorVendor: vulncheck
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
FFmpeg 2.x allows remote attackers to conduct cross-origin attacks and read arbitrary files by using the concat protocol
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
FFmpeg 2.x allows remote attackers to conduct cross-origin attacks and read arbitrary files by using the subfile protoco
The av_reallocp_array function in libavutil/mem.c in FFmpeg before 2.0.1 has an unspecified impact and remote vectors re
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
Out-of-bounds heap write in FFmpeg's RASC video decoder (decode_dlta in libavcodec/rasc.c) allows attackers to corrupt m
Memory corruption in FFmpeg before 8.1 allows an attacker who can supply a crafted H.264/HEVC media file to corrupt heap
Memory exhaustion in FFmpeg git-master builds before commit d5873b can occur when a victim processes attacker-controlled
Integer Overflow vulnerability in function filter_sobel in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attacker
Integer Overflow vulnerability in function filter_robert in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attacke
Integer Overflow vulnerability in function filter_prewitt in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attack
Integer Overflow vulnerability in function filter16_sobel in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attack
EUVD-2026-120243
GHSA-vr38-c6jq-ghxf
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB