CVE Catalog

CVE-2026-111271

MediumCVSS 5.5
Published: Translated: NVD NIST

Summary

libmodplug through 0.8.9.1 contains a heap-based out-of-bounds read vulnerability in CSoundFile::ReadAMS2() in src/load_ams.cpp that allows attackers to read adjacent heap memory via crafted AMS files. Attackers can supply an AMS module whose pattern effect bytes keep bit 7 set, driving the decoder past the input buffer and crashing any libmodplug consumer.

Risk Assessment

The vulnerability enables remote crashes of applications playing module music files, potentially leading to denial of service or memory data leakage.

Recommendation

Upgrade libmodplug beyond version 0.8.9.1 and fix the buffer boundary check in ReadAMS2().

Other vulnerabilities in libmodplug

See all
Original NVD description (English source)

libmodplug through 0.8.9.1 contains a heap-based out-of-bounds read vulnerability in CSoundFile::ReadAMS2() in src/load_ams.cpp that allows attackers to read adjacent heap memory via crafted AMS files. Attackers can supply an AMS module whose pattern effect bytes keep bit 7 set, driving the decoder past the input buffer and crashing any libmodplug consumer.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS