Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious high-bit-depth gray/YUV video
-
ExploitVictim pipeline processes file with readeia608 filter
-
ExecutionUnclamped luma indexes histogram out of bounds
-
ImpactHeap corruption causes crash or possible code execution
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, write limits
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires FFmpeg to process attacker-supplied video with a high bit depth (9, 10, 12, or 14 bit) gray or YUV pixel format through the readeia608 video filter specifically - a non-default closed-caption extraction filter that must be explicitly present in the filter graph/command. The bug is build_histogram() in vf_readeia608.c failing to clamp luma samples to the nominal maximum, so only inputs whose sample values exceed the 8-bit-era histogram bounds trigger it; standard 8-bit content is unaffected. Limiting factors: local file processing (AV:L), passive user interaction (UI:P) to feed the file into a readeia608 workflow, and the fact that it is not reached by ordinary decoding or playback that omits this filter. |
| Impact | The input CVSS 4.0 base score is 8.5 (High), but the vector tells the real story: AV:L (local - the attacker supplies a file that is processed locally rather than reaching a listening service over the network), AC:L, AT:N, PR:N, and UI:P (passive user interaction required). This is therefore not a remote, unauthenticated, wormable condition; it requires that FFmpeg actually process attacker-controlled media through a specific, non-default filter (readeia608). No EPSS score was provided in the input, so exploitation-probability cannot be weighed. KEV status is not present (not listed), and no PoC or exploit reference appears among the references, so exploitation status is 'no public exploit identified at time of analysis.' The vuln.today decision label is 'this_week' - a prioritize-but-not-emergency signal, consistent with a high-severity memory-corruption bug that has a patch but no observed exploitation. The description hedges impact as 'crashes or possibly code execution,' so while the vector asserts VC/VI/VA:H, reliable arbitrary code execution is not confirmed - denial of service (crash) is the certain outcome and code execution is a possibility, not an established fact. Net: a genuine high-severity heap out-of-bounds write worth patching promptly, but real-world risk is gated by the need to run the readeia608 filter on malicious high-bit-depth input, which substantially narrows exposure versus the raw score. |
| Exploit ScenarioDerived | An attacker crafts a 9-, 10-, 12-, or 14-bit gray or YUV video and gets it processed by an FFmpeg command or pipeline that includes the readeia608 filter (e.g., a captioning or transcode workflow). build_histogram() indexes its histogram with the unclamped high-bit-depth luma value, writing past the array bounds and corrupting the heap, causing a crash or possibly code execution. No public exploit code was identified in the provided sources; impact beyond a crash is described as only 'possibly' code execution. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 24, 2026
A heap out-of-bounds write in FFmpeg's readeia608 closed-caption extraction filter (libavfilter/vf_readeia608.c) lets crafted high bit depth video corrupt heap memory when the filter is explicitly used, causing crashes or potentially code execution. All FFmpeg builds before 9.1 that ship the readeia608 filter are affected, but only when processing 9, 10, 12 or 14 bit gray or YUV input whose luma samples exceed the nominal maximum; ordinary 8-bit content and normal decoding/playback that omits this filter never reach the flaw. A vendor patch is available (upstream commit df1ddf75) and no public exploit code has been identified at time of analysis, though the CVSS 4.0 base score is 8.5 (High) and the vector is local (AV:L) with passive user interaction (UI:P) and no privileges required (PR:N).
RemediationAI
Upgrade to FFmpeg 9.1 or later, which contains the one-line clamp in build_histogram(); the upstream fix is commit df1ddf75db9a1ff36a35019511e17f795cf20c55 (https://github.com/FFmpeg/FFmpeg/commit/df1ddf75db9a1ff36a35019511e17f795cf20c55) and the change was proposed via PR 26121 (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/26121). Distributions and applications that vendor FFmpeg should backport that commit rather than wait for a rebase. If upgrading is not immediately possible, the effective compensating control is to keep untrusted media away from the readeia608 filter: remove it from any filter graph or command template that processes user-supplied files, and avoid transcoding pipelines that invoke it on high bit depth (9/10/12/14 bit) gray or YUV input - the trade-off is that EIA-608 closed-caption extraction from those inputs stops working, since the filter is the only component that reads them. Pre-screen or reject untrusted inputs that declare high bit depth gray/YUV pixel formats before they reach a readeia608-enabled workflow, keeping in mind that this reduces but does not eliminate exposure if format detection is bypassed. Updating remains the only complete 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
The flaw is a classic out-of-bounds write (CWE-787) inside build_histogram() in libavfilter/vf_readeia608.c, the EIA-608 line-21 closed-caption reader. The function indexes a per-scanline histogram array directly with the luma value of each pixel in the line: scan->histogram[line[i].input]++. That indexing assumes sample values fit the 8-bit-era bounds of the histogram, but the filter can be fed higher bit depth pixel formats (9, 10, 12 or 14 bit gray or YUV), where sample values exceed the nominal maximum and walk past the end of the array, writing outside the allocated histogram buffer. The upstream fix is a single-line clamp, changing the write to scan->histogram[FFMIN(line[i].input, s->max)]++, so samples are saturated to the filter's configured maximum before being used as an index. The affected code is present in the n9.0.2 branch (referenced at line 176). The filter is not part of the default decode path: it is an analysis/extraction filter that must be explicitly present in the filter graph or command line, which is the primary reason the practical attack surface is narrow despite the High severity score.
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:H/VI:H/VA:H/SC:N/SI:N/SA:N
Local crafted-file processing (AV:L) via a user-invoked filter (UI:R), no privileges; impacts rated high as worst-case for possible code execution, though only a crash is confirmed.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
FFmpeg before 9.1 contains a heap out-of-bounds write vulnerability in libavfilter/vf_readeia608.c because build_histogram() does not clamp high bit depth luma samples to the nominal maximum. Attackers can supply crafted 9, 10, 12 or 14 bit gray or YUV video to corrupt heap memory, causing crashes or possibly code execution.
Executive ViewAI
A heap memory corruption vulnerability in FFmpeg's readeia608 filter, used for closed-caption extraction from high bit-depth video, could crash or potentially allow code execution. This affects only workflows that explicitly process 9/10/12/14-bit gray or YUV video with that filter, so standard 8-bit playback and normal decoding are not exposed. Leadership should prioritize patching any systems or pipelines that use this filter for media analysis or captioning.
Apply vendor patch.
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.
Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Related Vulnerabilities in FFmpeg Memory Corruption and NULL Dereference Flaws
View all 34FFmpeg 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-133609
GHSA-mrgq-3vwh-575j
NVD
CVE.org
EPSS
Exploit-DB