Buffer overflow in Konstanty Bialkowski Libmodplug
CVE-2026-111270
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H.
EPSS exploit prediction
No EPSS score from FIRST.org yet. New CVEs usually get one within a few days; no score means no signal yet, not low risk. How EPSS works.
Affected products
Weakness classification (CWE)
References
- hackmd.io/@haind-pwn/libmodplug-dsm-pattern-oob-write (technical-description)
- github.com/Konstanty/libmodplug/blob/d1b97ed0020bc620a059d3675d1854b40bd2608d/s… (technical-description)
- github.com/Konstanty/libmodplug (product)
- www.vulncheck.com/advisories/libmodplug-through-0.8.9.1-heap-out-of-bounds-writ… (third-party-advisory)
Frequently asked questions
- What is CVE-2026-111270?
- CVE-2026-111270 is a medium-severity vulnerability in Konstanty Bialkowski Libmodplug, classified under Out-of-bounds Write. CVSS score: 6.1/10. Published 2026-10-15.
- How severe is CVE-2026-111270?
- Medium severity. CVSS v3 base score is 6.1 out of 10.