CVE-2026-135706
Description
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
Debian Mixed 4 releases
| Version | Package | Status | Fixed in |
|---|---|---|---|
| trixie | ffmpeg |
Affected | — |
| sid | ffmpeg |
Fixed | 7:9.1-3 |
| forky | ffmpeg |
Affected | — |
| bookworm | ffmpeg |
Affected | — |
SUSE Tracked 1 release
| Version | Package | Status | Fixed in |
|---|---|---|---|
| — | — | Unknown | — |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| ffmpeg | ffmpeg | {"endExcluding":"9.1"} | 9.1 |
References
- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24914
- https://github.com/FFmpeg/FFmpeg
- https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavformat/libmodplug.c#L200
- https://github.com/FFmpeg/FFmpeg/commit/edc96a209b25b78d3e4b96e951774eb13c8da0b0
- https://www.vulncheck.com/advisories/ffmpeg-before-9.1-heap-buffer-overflow-via-libmodplug-demuxer
- https://security-tracker.debian.org/tracker/CVE-2026-135706
- https://www.suse.com/security/cve/CVE-2026-135706.html
CWEs
CWE-122
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.