CVE-2026-111271 Details
Description
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.
A heap-based out-of-bounds read vulnerability has been identified in libmodplug versions through 0.8.9.1. The issue resides in the 'CSoundFile::ReadAMS2()' function within 'src/load_ams.cpp'. This vulnerability allows attackers to read adjacent heap memory by crafting AMS files that exploit the decoder's handling of pattern effect bytes. Specifically, attackers can manipulate the effect bytes to keep bit 7 set, causing the decoder to read past the intended buffer and potentially leading to a crash of the application using libmodplug.
Users can update to the latest version of libmodplug, which includes a fix for this vulnerability. The official GitHub repository is available under the 'Konstanty' account.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 15, 2026CISA-ADP
Assessed Oct 16, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-125 | Out-of-bounds Read | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| libmodplug | <= 0.8.9.1 |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 16, 2026 | CVE Modified | CISA-ADP |
| Oct 15, 2026 | New CVE Received | [email protected] |
Volerion