PatchSiren cyber security CVE debrief
CVE-2026-111271 Konstanty Bialkowski CVE debrief
libmodplug through 0.8.9.1 contains a heap-based out-of-bounds read vulnerability in CSoundFile::ReadAMS2() in src/load_ams.cpp. This allows attackers to read adjacent heap memory via crafted AMS files by supplying an AMS module whose pattern effect bytes keep bit 7 set, driving the decoder past the input buffer and crashing any libmodplug consumer. The vulnerability can lead to potential crashes and information disclosure, impacting applications that utilize libmodplug for processing AMS files.
- Vendor
- Konstanty Bialkowski
- Product
- libmodplug
- CVSS
- MEDIUM 6.8
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-10-15
- Original CVE updated
- 2026-10-16
- Advisory published
- 2026-10-15
- Advisory updated
- 2026-10-16
Who should care
Developers and administrators using libmodplug in their applications should assess exposure and prioritize updating to a fixed version if available. This includes reviewing the current version of libmodplug, identifying potential vulnerabilities, and implementing necessary updates or mitigations. Additionally, security teams and vulnerability management teams should be aware of the potential risks and take steps to mitigate them.
Why it matters
This vulnerability allows attackers to crash libmodplug consumer applications and potentially disclose information by reading adjacent heap memory. Developers and administrators should assess exposure, especially if using libmodplug in applications processing AMS files.
- Potential crash of libmodplug consumer applications
- Possible information disclosure via adjacent heap memory read
Technical summary
libmodplug through 0.8.9.1 contains a heap-based out-of-bounds read vulnerability in CSoundFile::ReadAMS2() in src/load_ams.cpp. This allows attackers to read adjacent heap memory via crafted AMS files by supplying an AMS module whose pattern effect bytes keep bit 7 set. The vulnerability can lead to potential crashes and information disclosure, impacting applications that utilize libmodplug for processing AMS files. Developers and administrators should assess exposure, especially if using libmodplug in applications processing AMS files.
Defensive priority
Medium
Recommended defensive actions
- Review and update libmodplug to a version beyond 0.8.9.1 if available
- Restrict input to CSoundFile::ReadAMS2() to prevent crafted AMS files
- Monitor for AMS files with pattern effect bytes having bit 7 set
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
- Review the supplied official advisory or CVE record to validate affected scope, severity, and vendor guidance
- Plan vendor-supported updates or mitigations through normal change control where exposure is confirmed
- Check relevant monitoring, detection, and logs for exposed assets that need extra review
Evidence notes
The CVE record and source item provide details on a heap-based out-of-bounds read vulnerability in libmodplug through 0.8.9.1. The vulnerability is in CSoundFile::ReadAMS2() in src/load_ams.cpp. 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.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-111271 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-111271
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-111271 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-111271
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
libmodplug through 0.8.9.1 Heap Out-of-Bounds Read via CSoundFile::ReadAMS2
Unverified legacy reference
URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/111xxx/CVE-2026-111271.json
cve_program_cvelist_v5
-
Source reference
Unverified legacy reference
URL: https://hackmd.io/@haind-pwn/libmodplug-dsm-pattern-oob-write
Supplemental source - technical-description
-
Source reference
Unverified legacy reference
URL: https://github.com/Konstanty/libmodplug/blob/d1b97ed0020bc620a059d3675d1854b40bd2608d/src/load_ams.cpp
Supplemental source - technical-description
-
Source reference
Unverified legacy reference
URL: https://github.com/Konstanty/libmodplug
Supplemental source - product
-
Source reference
Unverified legacy reference
URL: https://www.vulncheck.com/advisories/libmodplug-through-0.8.9.1-heap-out-of-bounds-read-via-csoundfile-readams2
Supplemental source - third-party-advisory
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.