Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-135706: high-severity vulnerability (CVSS 7.3) in FFmpeg FFmpeg.
What happened
Original description from the 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.
Why it matters
High severity, CVSS 7.3.
Affected products and versions
FFmpeg FFmpeg < 9.1
| Product | Versions | Fixed in |
|---|---|---|
| FFmpeg FFmpeg | < 9.1 | — |
| ffmpeg ffmpeg | < 9.1 | — |
Action recommended by the source
See the official references for the fix or mitigation.
Sources and references
- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24914 — CVE Program
- https://github.com/FFmpeg/FFmpeg/commit/edc96a209b25b78d3e4b96e951774eb13c8da0b0 — CVE Program
- https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavformat/libmodplug.c#L200 — CVE Program
- https://github.com/FFmpeg/FFmpeg — CVE Program
- https://www.vulncheck.com/advisories/ffmpeg-before-9.1-heap-buffer-overflow-via-libmodplug-demuxer — CVE Program
Weaknesses (CWE): CWE-122
Relevant change history
Published
Preliminary advisory published.