Skip to main content

FFmpeg EUVDEUVD-2026-133609

| CVE-2026-135740 HIGH
Out-of-bounds Write (CWE-787)
2026-11-24 VulnCheck GHSA-mrgq-3vwh-575j
8.5
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious high-bit-depth gray/YUV video
  2. Exploit
    Victim pipeline processes file with readeia608 filter
  3. Execution
    Unclamped luma indexes histogram out of bounds
  4. Impact
    Heap 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

FFmpeg 0 <9.1

Affected Packages

euvd ffmpeg fix: 9.1

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

Vendor (VulnCheck) PRIMARY 8.5 HIGH
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
vuln.today AI 7.8 HIGH

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.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

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
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

Why It Matters

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.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 91% exploitable
Prevalence
Ubiquitous
FFmpeg is a near-universal media library/tool across platforms and pipelines
Data Quality
5 sources
Confidence: Medium

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 HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
Medium

Priority Score

42
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +42
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

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

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy