Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft AVI/MKV with short (<8 byte) LCL ZLIB packet
-
ExploitVictim opens/transcodes file in FFmpeg with multithread decoding
-
ExecutionInteger underflow bypasses length clamp in decode_frame()
-
ImpactHeap out-of-bounds read crashes decoder
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Integer underflow checks
|
| Exploitation Conditions | Exploitation requires the decoding application to process a crafted AVI or MKV file containing an LCL (LossLess Codec Library) video stream whose ZLIB packet is shorter than 8 bytes, AND the multithreaded decode path must be active (FLAG_MULTITHREAD). Per UI:P, a victim must passively open, play, or transcode the attacker-supplied file - it is not self-triggering. Limiting factors that reduce real-world risk: the attack vector is local/file-based (AV:L), so the attacker must deliver the file and rely on user interaction; the vulnerable code path is specific to the LCL codec, which is uncommon in modern media; and impact is confined to an application crash (VA:H) with at most a small heap over-read (VC:L), with no write, no integrity impact and no demonstrated code execution. |
| Impact | This is a moderate-severity, limited-impact memory-safety flaw rather than a top-priority emergency. The supplied CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:H) scores 6.9 (Medium) and characterizes the issue as locally-reached, low-complexity, requiring no privileges but requiring passive user interaction, with high availability impact (a crash) and only low confidentiality impact (a bounded heap over-read), no integrity impact and no scope change. CWE-191 (integer underflow) and the fix diff - which adds a 'len < 8' guard in decode_frame() - confirm the mechanism is an underflowed length that bypasses clamping and drives a heap out-of-bounds READ, not a writable overflow, so remote code execution is not indicated by the evidence; the realistic outcome is a decoder/application crash with possible minor memory disclosure. On the exploitation signals: no CISA KEV entry is present, no EPSS score was provided, and no public exploit or PoC reference is supplied (the references are the upstream fix PR/commit, the FFmpeg repo and a VulnCheck advisory, none of which is working exploit code), so there is no evidence of active exploitation or widespread weaponization. The vuln.today Decision label is 'this_month', consistent with a patch-on-normal-cadence issue rather than act_now/emergency. Note the AV:L (local) vector combined with a file-parsing bug: exploitation realistically means delivering a crafted file that a victim opens, and it is further gated by the FLAG_MULTITHREAD multithreaded-decoding path and use of the uncommon LCL codec - verify against your own deployment's decoding configuration. |
| Exploit ScenarioDerived | An attacker crafts a malicious AVI or MKV container carrying an LCL (LossLess Codec Library) video stream whose ZLIB packet is shorter than 8 bytes and sends it to a victim who plays or transcodes it with an FFmpeg-based application that has multithreaded decoding (FLAG_MULTITHREAD) enabled. The short packet triggers an integer underflow in decode_frame() in lcldec.c, bypassing the length clamp and causing a heap out-of-bounds read that crashes the decoding application (denial of service) and may disclose a small amount of adjacent heap memory. No public exploit was identified at time of analysis; the mechanism is confirmed by the upstream fix commit. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 09, 2026
Heap out-of-bounds read in FFmpeg's LCL (LossLess Codec Library) video decoder in libavcodec/lcldec.c, affecting FFmpeg through 9.0.2, allows an attacker to crash an application that decodes a crafted AVI or MKV file containing an LCL video stream whose ZLIB packet is shorter than 8 bytes while the multithreaded decode path (FLAG_MULTITHREAD) is active. The integer underflow (CWE-191) bypasses the decoder's length clamping, producing an out-of-bounds read of heap memory; impact is confirmed as denial of service (application crash) with at most a small heap over-read, no write and no demonstrated code execution. The attack is file-based and local in vector, requiring the victim to open, play or transcode the supplied file; it is rated this_month priority, no public exploit code was identified at time of analysis, and an upstream fix exists in commit 12e5d4ec98b7add7bcac9d8131d9a6dfb2549966 / PR 25020.
RemediationAI
Upstream fix available (PR/commit); released patched version not independently confirmed. Apply commit 12e5d4ec98b7add7bcac9d8131d9a6dfb2549966 (https://github.com/FFmpeg/FFmpeg/commit/12e5d4ec98b7add7bcac9d8131d9a6dfb2549966), which is the change proposed in PR 25020 (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25020) and adds a guard in decode_frame() rejecting ZLIB packets with len < 8 by returning AVERROR_INVALIDDATA, or rebuild against an FFmpeg revision that includes it. Because the flaw requires an attacker-supplied file to be decoded - a crafted AVI or MKV with an LCL stream shorter than 8 bytes on the multithreaded path - reduce exposure by not decoding untrusted media with LCL support enabled where the codec is not needed, and by running decoders on untrusted input in a sandboxed or low-privilege process so a crash cannot escalate; note that the multithreaded decode path is a stated precondition of the trigger, but the supplied sources do not confirm that disabling decoder threading is a complete workaround, so patching remains the authoritative fix.
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
FFmpeg's lcldec.c implements decoding for the LCL (LossLess Codec Library) lossless video codec, a legacy format that can appear inside AVI and MKV containers. In the affected code path the decoder handles ZLIB-compressed packet data and derives internal buffer offsets and lengths from the packet size; the reported defect is an integer underflow (CWE-191) that occurs when a ZLIB packet is shorter than 8 bytes, which defeats the existing length clamping and lets subsequent indexing read past the end of a heap buffer. The vulnerable path is only reached with FLAG_MULTITHREAD set, i.e. when the decoder is operating in its multithreaded mode. The upstream fix is minimal and confirms the trigger: decode_frame() now rejects packets with len < 8, logging "len %d is too small" and returning AVERROR_INVALIDDATA. The vulnerable code is visible at libavcodec/lcldec.c line 287 in the n9.0.2 tag. Because the flaw is confined to the LCL decoder, only applications that decode LCL-encoded streams are exposed, and the codec is uncommon in modern media workflows - a factor that materially reduces real-world exposure.
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:L/VI:N/VA:H/SC:N/SI:N/SA:N
AV:L because a file must be delivered and opened locally; UI:R as the victim must open/play it; PR:N needs no auth; C:L for the bounded heap over-read, I:N, A:H for the crash.
Primary rating from Vendor (vulncheck).
CVSS VectorVendor: vulncheck
DescriptionCVE.org
FFmpeg through 9.0.2 contains an integer underflow in decode_frame() in libavcodec/lcldec.c that allows attackers to trigger a heap out-of-bounds read via short ZLIB packets with FLAG_MULTITHREAD. Attackers can supply a crafted AVI or MKV file with an LCL video stream whose packet is shorter than 8 bytes, bypassing length clamping to crash the decoding application.
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
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Integer overflow occurs when an arithmetic operation produces a result that exceeds the maximum value a given integer type can store.
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-120286
GHSA-82jp-g685-6p37
NVD
CVE.org
EPSS
Exploit-DB