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.
- CVSS
- 7.8High
- Chance of exploitation (EPSS)
- 0.40%
- Published
- Nov 24, 2026
- In the news
- Not yet
What to do
A serious memory corruption flaw in Ffmpeg that needs access to the machine itself. Exploit code is public, so patch it soon.
Action: Apply the vendor's update or follow its advisory.
Fixed in: 9.1
Affected versions
- Ffmpeg
- Before 9.1
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
Get alerts for these →Timeline 5
Latest change: Tenable Cloud Security plugin 482668: Echo: ffmpeg: security update to 7:7.1.5-0+deb13u1+e36 (Nov 24, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Wed, Nov 25, 2026
Tue, Nov 24, 2026
- Exploit codecveForge/CVE-2026-135740: PoC for CVE-2026-135740 — FFmpeg vf_readeia608 Heap OOB Read (CVSS 7.8)GitHub (unverified) · 16:15 UTC
- CVECVE-2026-135740 published (CVSS 7.8)CVE Program · 04:17 UTC
- DetectionNessus plugin 385784: Linux Distros Unpatched Vulnerability : CVE-2026-135740Tenable
Exploit code
Visit at your own risk. These are third-party sites we find automatically. We do not test, review or vouch for them, and fake proof-of-concept repositories sometimes contain malware.
- cveForge/CVE-2026-135740: PoC for CVE-2026-135740 — FFmpeg vf_readeia608 Heap OOB Read (CVSS 7.8)
GitHub, unverified · found Nov 24, 2026
References 5
- code.ffmpeg.org Patch /FFmpeg/FFmpeg/pulls/26121
- github.com Patch /FFmpeg/FFmpeg/commit/df1ddf75db9a1ff36a35019511e17f795cf20c55
- github.com /FFmpeg/FFmpeg
- github.com /FFmpeg/FFmpeg/blob/n9.0.2/libavfilter/vf_readeia608.c#L176
- www.vulncheck.com /advisories/ffmpeg-before-9.1-heap-out-of-bounds-write-via-readeia608-filter-histogram