CVE-2026-135706
High 7.8 P4 · Monitor (12/100)FFmpeg before 9.1 contains a heap buffer overflow vulnerability in modplug_read_header() in libavformat/libmodplug.c that allocates the buf…
Confirmed facts from the sources
- CVSS
- 7.8 (High) · CVSS 3.1
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Scored by nvd@nist.gov - Exploitation confirmed
- Not in the CISA KEV catalog
- Exploitation estimated (EPSS)
- 0.49 % · percentile 35.0 % (as of 30.11.2026)
Probability of exploitation in the next 30 days – an estimate by FIRST, not confirmation. - Public exploit
- No reference to a public exploit.
- Fix
- Fix available
- Monitored technologies
- No monitored technology
Description (source)
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.
Affected products and versions
| Vendor / product | Affected versions | Fixed in | Source |
|---|---|---|---|
| github: ffmpeg/ffmpeg | < 9.1 | — | nvd |
| ffmpeg ffmpeg | < 9.1 | — | nvd |
Versions as published. “Fixed in” only where a source names the version explicitly.
Recommended mitigation
- code.ffmpeg.org (Patch)
- github.com (Patch)
In general: check your versions, update to a fixed version, limit exposure until then and follow the vendor guidance.
AI interpretation
No AI interpretation yet – it is created for urgent advisories of monitored technologies. The facts above apply regardless.
Why this priority?: P4 · Monitor (12/100)
- Estimated exploitation probability 0.49 % (EPSS, percentile 35 %) – an estimate, not confirmation (+0)
- Technical severity: CVSS 7.8 (HIGH) – on its own not a reason for top priority (+12)
- Fix available – plan the update (+0)
Priority is a general assessment from CVSS, KEV, EPSS, exploits, relevance and fix availability. Whether a specific environment is affected depends on its versions, configuration and exposure.
Original advisories and links
- Advisory https://www.vulncheck.com/advisories/ffmpeg-before-9.1-heap-buffer-overflow-via-libmodplug… · disclosure@vulncheck.com
- Advisory https://nvd.nist.gov/vuln/detail/CVE-2026-135706 · nvd
- Patch https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24914 · disclosure@vulncheck.com
- Patch https://github.com/FFmpeg/FFmpeg/commit/edc96a209b25b78d3e4b96e951774eb13c8da0b0 · disclosure@vulncheck.com
- Reference https://github.com/FFmpeg/FFmpeg · disclosure@vulncheck.com
- Reference https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavformat/libmodplug.c#L200 · disclosure@vulncheck.com