Buffer overflow in Ffmpeg
CVE-2026-135740
- CVSS v3
- 7.8 High
- Public exploits
- 2 repositories
- EPSS
- 0.002 · 9.2th percentile
- Published
- 2026-11-24
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
- Attack Vector
- Local
AV:L - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- Required
UI:R - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- High
I:H - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.002, 9.2th percentile (last changed ). About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
2 public repositories with exploit or proof-of-concept code for this CVE:
- cveForge/CVE-2026-135740 (last pushed 2026-11-24): PoC for CVE-2026-135740 — FFmpeg vf_readeia608 Heap OOB Read (CVSS 7.8)
- googlesky/CVE-2026-135740 (last pushed 2026-11-24): FFmpeg <9.1: readeia608 build_histogram() indexes a fixed histogram with unclamped high-bit-depth luma — OOB heap write. Verbatim clamp from 34dce12^ vs fix with ASan: heap OOB on vuln, clamped on fi…
References
- code.ffmpeg.org/FFmpeg/FFmpeg/pulls/26121 (issue-tracking, Patch, Issue Tracking)
- github.com/FFmpeg/FFmpeg/commit/df1ddf75db9a1ff36a35019511e17f795cf20c55 (Patch, patch)
- github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavfilter/vf_readeia608.c (Product, technical-description)
- github.com/FFmpeg/FFmpeg (Product, product)
- www.vulncheck.com/advisories/ffmpeg-before-9.1-heap-out-of-bounds-write-via-rea… (Third Party Advisory, third-party-advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.