Vulnerability · Published Oct 15, 2026 · Assigned by VulnCheck
CVE-2026-111271libmodplug through 0.8.9.1 Heap Out-of-Bounds Read via CSoundFile::ReadAMS2
Medium 5.5
In plain English
A medium-severity out-of-bounds read in libmodplug from Konstanty Bialkowski. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 9% of all known vulnerabilities).
Severity (CVSS 3.1)5.5Medium
Exploit odds (30 days)0.2%top 90.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | libmodplug | no fix listed | DEBIAN-CVE-2026-111271 |
| Debian:13 | libmodplug | no fix listed | DEBIAN-CVE-2026-111271 |
| Debian:14 | libmodplug | no fix listed | DEBIAN-CVE-2026-111271 |
| Ubuntu:22.04:LTS | libmodplug | no fix listed | UBUNTU-CVE-2026-111271 |
| Ubuntu:24.04:LTS | libmodplug | no fix listed | UBUNTU-CVE-2026-111271 |
| Ubuntu:26.04:LTS | libmodplug | no fix listed | UBUNTU-CVE-2026-111271 |
| Ubuntu:26.10 | libmodplug | no fix listed | UBUNTU-CVE-2026-111271 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Konstanty Bialkowski | libmodplug | 0 – through 0.8.9.1 |
Weakness: CWE-125 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
References
- https://hackmd.io/@haind-pwn/libmodplug-dsm-pattern-oob-write technical-description
- https://github.com/Konstanty/libmodplug/blob/d1b97ed0020bc620a059d3675d1854b40bd2608d/src/load_ams.cpp#L509-L537 technical-description
- https://github.com/Konstanty/libmodplug product
- VulnCheck Advisory: libmodplug through 0.8.9.1 Heap Out-of-Bounds Read via CSoundFile::ReadAMS2 third-party-advisory