Vulnerability · Published Oct 15, 2026 · Assigned by VulnCheck
CVE-2026-111270libmodplug through 0.8.9.1 Heap Out-of-Bounds Write via CSoundFile::ReadDSM
Medium 6.1
In plain English
A medium-severity out-of-bounds write 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)6.1Medium
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 write in CSoundFile::ReadDSM() in src/load_dsm.cpp because nPat is never checked against MAX_PATTERNS. Attackers can supply a crafted DSM file with over 240 PATT chunks or a wrapping patt_len value to corrupt heap memory and crash the consuming process.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | libmodplug | no fix listed | DEBIAN-CVE-2026-111270 |
| Debian:13 | libmodplug | no fix listed | DEBIAN-CVE-2026-111270 |
| Debian:14 | libmodplug | no fix listed | DEBIAN-CVE-2026-111270 |
| Ubuntu:22.04:LTS | libmodplug | no fix listed | UBUNTU-CVE-2026-111270 |
| Ubuntu:24.04:LTS | libmodplug | no fix listed | UBUNTU-CVE-2026-111270 |
| Ubuntu:26.04:LTS | libmodplug | no fix listed | UBUNTU-CVE-2026-111270 |
| Ubuntu:26.10 | libmodplug | no fix listed | UBUNTU-CVE-2026-111270 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Konstanty Bialkowski | libmodplug | 0 – through 0.8.9.1 |
Weakness: CWE-787 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H
References
- https://hackmd.io/@haind-pwn/libmodplug-dsm-pattern-oob-write technical-description
- https://github.com/Konstanty/libmodplug/blob/d1b97ed0020bc620a059d3675d1854b40bd2608d/src/load_dsm.cpp#L130-L139 technical-description
- https://github.com/Konstanty/libmodplug product
- VulnCheck Advisory: libmodplug through 0.8.9.1 Heap Out-of-Bounds Write via CSoundFile::ReadDSM third-party-advisory
- https://hackmd.io/@haind-pwn/cve-2026-111270-111271-libmodplug-dsm-pattern-oob-write exploit