{"id":"CVE-2026-111270","revision":"d1f787ab30bb4c6c8ab6649faf7bd34a","records":[{"revision":"d1f787ab30bb4c6c8ab6649faf7bd34a","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-111270","aliases":[],"title":"libmodplug through 0.8.9.1 Heap Out-of-Bounds Write via CSoundFile::ReadDSM","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.","state":0,"publishedAt":"2026-10-15T21:43:17.665+00:00","modifiedAt":"2026-10-21T01:33:42.918+00:00","affected":[{"ecosystem":"Vendor product","name":"libmodplug","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"Konstanty Bialkowski\",\n                    \"product\": \"libmodplug\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"versions\": [\n                        {\n                            \"version\": \"0\",\n                            \"lessThanOrEqual\": \"0.8.9.1\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"custom\"\n                        }\n                    ],\n                    \"packageURL\": \"pkg:github/Konstanty/libmodplug\",\n                    \"repo\": \"https://github.com/Konstanty/libmodplug\"\n                }"}],"metrics":[{"system":"CVSS 4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N","score":6.9,"severity":"MEDIUM"},{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H","score":6.1,"severity":"MEDIUM"}],"references":["https://hackmd.io/@haind-pwn/libmodplug-dsm-pattern-oob-write","https://github.com/Konstanty/libmodplug/blob/d1b97ed0020bc620a059d3675d1854b40bd2608d/src/load_dsm.cpp#L130-L139","https://github.com/Konstanty/libmodplug","https://www.vulncheck.com/advisories/libmodplug-through-0.8.9.1-heap-out-of-bounds-write-via-csoundfile-readdsm"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-111270","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-111270","identifiers":["CVE-2026-111270"]},"retained":false,"historicalAffected":[]}],"coverage":[]}