Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| FFmpeg | FFmpeg | < 9.1 | 9.1 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | ffmpeg | No fix yet | — |
| Debian 13 | ffmpeg | No fix yet | — |
| Debian 12 | ffmpeg | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | ffmpeg | No fix yet | — |
Show 7 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 26.04 LTS | ffmpeg | No fix yet | — |
| Ubuntu Pro 24.04 LTS | ffmpeg | No fix yet | — |
| Ubuntu Pro 22.04 LTS | ffmpeg | No fix yet | — |
| Ubuntu Pro 20.04 LTS | ffmpeg | No fix yet | — |
| Ubuntu Pro 18.04 LTS | ffmpeg | No fix yet | — |
| Ubuntu Pro 16.04 LTS | ffmpeg | No fix yet | — |
| Ubuntu Pro 14.04 LTS | libav | No fix yet | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 2 repositories
-
cveForge/CVE-2026-135740 ★ 0 · Nov 24, 2026
PoC for CVE-2026-135740 — FFmpeg vf_readeia608 Heap OOB Read (CVSS 7.8)
-
googlesky/CVE-2026-135740 ★ 0 · Nov 24, 2026
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…
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 1
- WID-SEC-2026-4764 ffmpeg: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 23, 2026
References
- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/26121 issue-tracking
- Patch Commit patch
- https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavfilter/vf_readeia608.c#L176 technical-description
- https://github.com/FFmpeg/FFmpeg product
- VulnCheck Advisory: FFmpeg before 9.1 Heap Out-of-Bounds Write via readeia608 Filter Histogram third-party-advisory