PatchSiren cyber security CVE debrief
CVE-2026-111270 Konstanty Bialkowski CVE debrief
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. This vulnerability affects systems or applications using the libmodplug library, potentially leading to process crashes and memory corruption. Defenders should assess exposure, verify versions, and prioritize updates to prevent these issues.
- Vendor
- Konstanty Bialkowski
- Product
- libmodplug
- CVSS
- MEDIUM 6.9
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-10-15
- Original CVE updated
- 2026-10-21
- Advisory published
- 2026-10-15
- Advisory updated
- 2026-10-21
Who should care
Defenders responsible for systems or applications using the libmodplug library should assess exposure and prioritize verification and potential updates to prevent crashes and memory corruption.
Why it matters
Defenders should care about CVE-2026-111270 because it involves a heap-based out-of-bounds write in the libmodplug library, potentially leading to process crashes and memory corruption. Those responsible for systems or applications using libmodplug should assess exposure, verify versions, and prioritize updates to prevent these issues. The impact is currently limited by the lack of known exploitation and specific affected versions.
- Potential process crashes due to memory corruption
- Need for verification of libmodplug version and DSM file input handling
- Possible memory corruption and instability in affected systems
Technical summary
The libmodplug library through version 0.8.9.1 is vulnerable to a heap-based out-of-bounds write in the CSoundFile::ReadDSM() function. This occurs because the nPat value is not checked against the MAX_PATTERNS limit. An attacker can exploit this by providing a crafted DSM file with over 240 PATT chunks or a wrapping patt_len value, leading to heap memory corruption and potentially crashing the consuming process.
Defensive priority
Defenders should prioritize verifying and updating libmodplug to prevent potential crashes and memory corruption.
Recommended defensive actions
- Verify libmodplug version and update to a fixed version if available
- Review and monitor DSM file inputs for potential malicious activity
- Implement memory corruption protections and crash handling mechanisms
- Check relevant monitoring, detection, and logs for exposed assets that need extra review
- Track exceptions, retest remediated assets, and close the item only after evidence is documented
- 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
Evidence notes
The CVE record and NVD entry provide details on the vulnerability, but the scope of affected versions and potential impact require further verification. The libmodplug library through version 0.8.9.1 is vulnerable to a heap-based out-of-bounds write in the CSoundFile::ReadDSM() function. This occurs because the nPat value is not checked against the MAX_PATTERNS limit. An attacker can exploit this by providing a crafted DSM file with over 240 PATT chunks or a wrapping patt_len value, leading to heap memory corruption and potentially
Sources and references
Verified primary and authoritative sources
-
CVE-2026-111270 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-111270
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-111270 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-111270
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Source reference
Unverified legacy reference
URL: https://github.com/Konstanty/libmodplug
-
Source reference
Unverified legacy reference
URL: https://github.com/Konstanty/libmodplug/blob/d1b97ed0020bc620a059d3675d1854b40bd2608d/src/load_dsm.cpp
-
Source reference
Unverified legacy reference
URL: https://hackmd.io/@haind-pwn/libmodplug-dsm-pattern-oob-write
-
Source reference
Unverified legacy reference
URL: https://www.vulncheck.com/advisories/libmodplug-through-0.8.9.1-heap-out-of-bounds-write-via-csoundfile-readdsm
-
Source reference
Unverified legacy reference
URL: https://hackmd.io/@haind-pwn/cve-2026-111270-111271-libmodplug-dsm-pattern-oob-write
134c704f-9b21-4f2e-91b3-4a467353bcc0
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.