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.
History

Wed, 25 Nov 2026 22:00:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 25 Nov 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-787
References
Metrics threat_severity

None

threat_severity

Moderate


Tue, 24 Nov 2026 03:30:00 +0000

Type Values Removed Values Added
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.
Title FFmpeg before 9.1 Heap Buffer Overflow via libmodplug Demuxer
First Time appeared Ffmpeg
Ffmpeg ffmpeg
Weaknesses CWE-122
CPEs cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*
Vendors & Products Ffmpeg
Ffmpeg ffmpeg
References
Metrics cvssV3_1

{'score': 7, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 7.3, 'vector': '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published: 2026-11-24T03:14:11.093Z

Updated: 2026-11-24T16:37:37.253Z

Reserved: 2026-11-24T02:24:12.026Z

Link: CVE-2026-135706

cve-icon Vulnrichment

Updated: 2026-11-24T16:25:36.901Z

cve-icon NVD

Status : Analyzed

Published: 2026-11-24T04:17:27.327

Modified: 2026-11-25T19:31:49.153

Link: CVE-2026-135706

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-11-24T03:14:11Z

Links: CVE-2026-135706 - Bugzilla