{"id":"CVE-2026-111270","state":"PUBLISHED","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.","publishedAt":"2026-10-15T21:43:17.665Z","updatedAt":"2026-10-21T01:33:42.918Z","severity":{"score":6.9,"label":"Medium","version":"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","source":"VulnCheck"},"assigner":"VulnCheck","products":["Konstanty Bialkowski libmodplug"],"affected":[{"vendor":"Konstanty Bialkowski","product":"libmodplug","packageURL":"pkg:github/Konstanty/libmodplug","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"0.8.9.1","versionType":"custom"}],"repo":"https://github.com/Konstanty/libmodplug"}],"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","https://hackmd.io/@haind-pwn/cve-2026-111270-111271-libmodplug-dsm-pattern-oob-write"],"weaknesses":["CWE-787"],"ingestedAt":"2026-10-29T20:10:33.477Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/111xxx/CVE-2026-111270.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-111270","state":"PUBLISHED","datePublished":"2026-10-15T21:43:17.665Z","dateUpdated":"2026-10-21T01:33:42.918Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-10-15T19:33:19.371Z"},"containers":{"cna":{"title":"libmodplug through 0.8.9.1 Heap Out-of-Bounds Write via CSoundFile::ReadDSM","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Konstanty Bialkowski","product":"libmodplug","packageURL":"pkg:github/Konstanty/libmodplug","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"0.8.9.1","versionType":"custom"}],"repo":"https://github.com/Konstanty/libmodplug"}],"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","name":"VulnCheck Advisory: libmodplug through 0.8.9.1 Heap Out-of-Bounds Write via CSoundFile::ReadDSM","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"LOCAL","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"PASSIVE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"LOW","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":6.9,"baseSeverity":"MEDIUM"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"LOW","availabilityImpact":"HIGH","baseScore":6.1,"baseSeverity":"MEDIUM"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-787","lang":"en","description":"Out-of-bounds Write","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-10-15T21:43:17.665Z"},"datePublic":"2026-10-15T00:00:00.000Z","cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:konstanty_bialkowski:libmodplug:*:*:*:*:*:*:*:*","versionEndIncluding":"0.8.9.1"}]}]}],"credits":[{"lang":"en","value":"HaiND from the Post and Telecommunication Institute of Technology","type":"finder"}],"x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://hackmd.io/@haind-pwn/cve-2026-111270-111271-libmodplug-dsm-pattern-oob-write","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-10-21T01:33:14.344247Z","id":"CVE-2026-111270","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-21T01:33:42.918Z"}}]}}}