CVE-2026-111270
libmodplug through 0.8.9.1 Heap Out-of-Bounds Write via CSoundFile::ReadDSM
Konstanty Bialkowski libmodplug
CVSS
6.9MediumExploitationPublic exploit codeCISA's assessment says proof of concept code is public, assessed 21 Oct 2026. Not in the KEV catalogCISA via CVE List
Exploit odds (EPSS)0.13%Chance of exploitation activity in the next 30 days, higher than 2% of CVEs. Scored 23 Oct 2026FIRST EPSS
Fixed inNone listedNo source names a fixed version. Check the vendor advisory below
What fixes it
No source in this snapshot names a fixed version. The vendor advisories under References are the place to check.
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.
Text from CVE List
Affected versions 1
- libmodplugaffected: all versions through 0.8.9.1CVE List
References 5
- vulncheck.com/advisories/libmodplug-through-0.8.9.1-heap-out-of-bounds-write-via-csoundfile-readdsmAdvisoryvia CVE List
- hackmd.io/@haind-pwn/cve-2026-111270-111271-libmodplug-dsm-pattern-oob-writeExploitvia CVE List
- hackmd.io/@haind-pwn/libmodplug-dsm-pattern-oob-writeReferencevia CVE List
- github.com/Konstanty/libmodplug/blob/d1b97ed0020bc620a059d3675d1854b40bd2608d/src/load_dsm.cpp#L130-L139Referencevia CVE List
- github.com/Konstanty/libmodplugReferencevia CVE List