CVE-2026-135706
published high CVSS 4.0 · 7.3FFmpeg before 9.1 Heap Buffer Overflow via libmodplug Demuxer
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| FFmpeg | — | FFmpeg0 to < 9.1 · Other versions: unaffected | Affected | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.3 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.0 | high | VulnCheck · cna | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| FFmpeg | FFmpeg | 0 to < 9.1 (affected · custom)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-122 Heap-based Buffer Overflow
References
5- 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
- Patch Commit https://github.com/FFmpeg/FFmpeg/commit/edc96a209b25b78d3e4b96e951774eb13c8da0b0
- VulnCheck Advisory: FFmpeg before 9.1 Heap Buffer Overflow via libmodplug Demuxer https://www.vulncheck.com/advisories/ffmpeg-before-9.1-heap-buffer-overflow-via-libmodplug-demuxer
Provider assertions
2VulnCheck · cna
FFmpeg before 9.1 Heap Buffer Overflow via libmodplug Demuxer
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 230ecb5454f4007fe3499c4e13253b67bb60a42ddfeeca1229a842afb478e5f2
- Ingested
- 24 Nov 2026, 16:42:07 UTC
- Source record
- Official CVE record