FFmpeg before 9.1 Heap Buffer Overflow via libmodplug Demuxer

State
Published
Severity
7.3 High
Published
Nov 24, 2026
Updated
Nov 24, 2026
Reserved
Nov 24, 2026

Read the record on cve.org

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.

ProductVersions
FFmpeg FFmpegbefore 9.1 Affected

Weaknesses

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.