{"id":"CVE-2026-111270","published":"2026-10-15T21:43:17Z","modified":"2026-10-21T01:33:42Z","title":"libmodplug through 0.8.9.1 Heap Out-of-Bounds Write via CSoundFile::ReadDSM","vendor":"Konstanty Bialkowski","product":"libmodplug","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.1,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00172,"percentile":0.0383,"provenance":"source"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"}],"references":[{"url":"https://hackmd.io/@haind-pwn/libmodplug-dsm-pattern-oob-write","tags":["technical-description"]},{"url":"https://github.com/Konstanty/libmodplug/blob/d1b97ed0020bc620a059d3675d1854b40bd2608d/src/load_dsm.cpp#L130-L139","tags":["technical-description"]},{"url":"https://github.com/Konstanty/libmodplug","tags":["product"]},{"url":"https://www.vulncheck.com/advisories/libmodplug-through-0.8.9.1-heap-out-of-bounds-write-via-csoundfile-readdsm","tags":["third-party-advisory"]},{"url":"https://hackmd.io/@haind-pwn/cve-2026-111270-111271-libmodplug-dsm-pattern-oob-write","tags":["exploit"]}],"priority":{"score":10.0,"factors":[{"name":"EPSS percentile","points":0.77},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":4.27}]},"vendorSlug":"konstanty-bialkowski","affectedVersions":[{"vendor":"Konstanty Bialkowski","product":"libmodplug","versions":["<= 0.8.9.1"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-21T01:33:14.344247Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-102525","exploited":false,"provenance":"source"},"exploitRefs":["https://hackmd.io/@haind-pwn/cve-2026-111270-111271-libmodplug-dsm-pattern-oob-write"]}