{"id":"CVE-2026-111271","published":"2026-10-15T22:19:27.957","lastModified":"2026-10-16T18:25:45.343","description":"libmodplug through 0.8.9.1 contains a heap-based out-of-bounds read vulnerability in CSoundFile::ReadAMS2() in src/load_ams.cpp that allows attackers to read adjacent heap memory via crafted AMS files. Attackers can supply an AMS module whose pattern effect bytes keep bit 7 set, driving the decoder past the input buffer and crashing any libmodplug consumer.","cvssScore":5.5,"cvssSeverity":"MEDIUM","cvssVector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","cwes":["CWE-125"],"vendors":[],"products":[],"references":[{"url":"https://github.com/Konstanty/libmodplug","tags":[]},{"url":"https://github.com/Konstanty/libmodplug/blob/d1b97ed0020bc620a059d3675d1854b40bd2608d/src/load_ams.cpp#L509-L537","tags":[]},{"url":"https://hackmd.io/@haind-pwn/libmodplug-dsm-pattern-oob-write","tags":[]},{"url":"https://www.vulncheck.com/advisories/libmodplug-through-0.8.9.1-heap-out-of-bounds-read-via-csoundfile-readams2","tags":[]},{"url":"https://hackmd.io/@haind-pwn/libmodplug-dsm-pattern-oob-write","tags":[]}],"exploitRefs":[{"url":"https://github.com/Konstanty/libmodplug","tags":[]},{"url":"https://github.com/Konstanty/libmodplug/blob/d1b97ed0020bc620a059d3675d1854b40bd2608d/src/load_ams.cpp#L509-L537","tags":[]}],"hasPoc":true,"ai":null}