CVE-2026-135706

FFmpeg before 9.1 contains a heap buffer overflow vulnerability in modplug_read_header() in libavformat/libmodplug.c that allocates the buff

High published · updated

7.3
CVSS score out of 10 · NVD (vulncheck.com)

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.

Affected products and versions

Product / packageEcosystem / vendorVersionsFixed inSource
ffmpeg ffmpeg <9.19.1 NVD

References