FFmpeg
FFmpeg before 9.1 Heap Buffer Overflow via libmodplug Demuxer
FFmpeg before 9.1 contains a heap buffer overflow vulnerability in modplug_read_header() in libavformat/libmodplug.c that allocates the buffer using max_size instead of sz. When max_size is set to 0, attackers can supply crafted module files that avio_read() copies into a zero-sized buffer, causing memory corruption, crashes, or possible code execution.
First public PoC
8 hafter publication · 24 Nov 2026
Public PoCs11 on GitHub
CVSS7.3high · scored by CNA · CWE-122
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
FFmpeg FFmpeg
- < 9.1
Fixed in 9.1
Mitigation
Upgrade FFmpeg to 9.1 or later.
References
Timeline
Days relative to CVE publicationFirst public PoC 8 h after publication; not in CISA KEV. First PoC: googlesky/CVE-2026-135706 (created 24 Nov 2026, found by us: 24 Nov 2026).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Found by us | Stars | Assessment |
|---|---|---|---|---|
| googlesky/CVE-2026-135706 | 24 Nov 2026 +8 h | 24 Nov 2026 | 0 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.