{"id":"CVE-2026-111271","aliases":["AZL-109736","DEBIAN-CVE-2026-111271","EUVD-2026-102526","GHSA-pxwm-j3xc-rxqw","UBUNTU-CVE-2026-111271","openSUSE-SU-2026:12215-1","openSUSE-SU-2026:22165-1"],"status":"published","title":"libmodplug through 0.8.9.1 Heap Out-of-Bounds Read via CSoundFile::ReadAMS2","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.","severity":{"version":"4.0","score":6.8,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-12","score":0.00195,"percentile":0.09308,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-125"],"published":"2026-10-15T21:43:18Z","modified":"2026-11-05T05:36:30Z","affected":[{"source":"osv","ecosystem":"Azure Linux:3","package":"libmodplug","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.8.9.0-12"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"libmodplug","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:0.8.9.0-3","1:0.8.9.0-4"]},{"source":"osv","ecosystem":"Debian:13","package":"libmodplug","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:0.8.9.0-3","1:0.8.9.0-4"]},{"source":"osv","ecosystem":"Debian:14","package":"libmodplug","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:0.8.9.0-3","1:0.8.9.0-4"]},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"gst-plugins-bad0.10","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.10.23-7ubuntu2","0.10.23-7.2ubuntu1","0.10.23-7.2ubuntu1.1","0.10.23-7.2ubuntu1.2","0.10.23-7.2ubuntu1.3","0.10.23-7.2ubuntu1.3+esm1"]},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"libmodplug","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:0.8.8.4-4","1:0.8.8.4-4.1"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"libmodplug","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:0.8.8.5-2"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"libmodplug","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:0.8.9.0-1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"libmodplug","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:0.8.9.0-2","1:0.8.9.0-2build1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"libmodplug","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:0.8.9.0-3"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"libmodplug","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:0.8.9.0-3","1:0.8.9.0-3build1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"libmodplug","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:0.8.9.0-3build2"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"libmodplug","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:0.8.9.0-3build1","1:0.8.9.0-3build2"]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"libmodplug","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.8.9.0+git20170610.f6dd59a-4.1"}]}],"bundled":4},{"source":"osv","ecosystem":"openSUSE:Leap 16.0","package":"libmodplug","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.8.9.0+git20170610.f6dd59a-bp160.2.1"}]}],"bundled":4}],"products":[{"vendor":"konstanty bialkowski","product":"libmodplug"}],"references":[{"url":"https://hackmd.io/@haind-pwn/libmodplug-dsm-pattern-oob-write","tags":["technical-description","exploit","report"]},{"url":"https://github.com/Konstanty/libmodplug/blob/d1b97ed0020bc620a059d3675d1854b40bd2608d/src/load_ams.cpp#L509-L537","tags":["technical-description","report"]},{"url":"https://github.com/Konstanty/libmodplug","tags":["product","report"]},{"url":"https://www.vulncheck.com/advisories/libmodplug-through-0.8.9.1-heap-out-of-bounds-read-via-csoundfile-readams2","tags":["third-party-advisory","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-111271","tags":["web"]},{"url":"https://github.com/advisories/GHSA-pxwm-j3xc-rxqw"},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-111271","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-111271","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-111271","tags":["report"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2026-108577","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2026-111270","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2026-111271","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2026-75904","tags":["web"]},{"url":"https://bugzilla.suse.com/1275624","tags":["report"]},{"url":"https://bugzilla.suse.com/1284977","tags":["report"]},{"url":"https://bugzilla.suse.com/1285765","tags":["report"]},{"url":"https://bugzilla.suse.com/1285766","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2026-111271","title":"libmodplug through 0.8.9.1 Heap Out-of-Bounds Read via CSoundFile::ReadAMS2","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.","status":"published","published":"2026-10-15T21:43:18.348Z","modified":"2026-10-16T14:39:25.166Z","cvss":[{"version":"4.0","score":6.8,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","level":"medium","assessor":"cna"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"cna"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T14:20:15.34316Z"}],"euvd":[{"id":"EUVD-2026-102526","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.","status":"published","published":"2026-10-15T21:43:18Z","modified":"2026-10-16T14:39:25Z","cvss":[{"version":"4.0","score":6.8,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","level":"medium"}],"updated_at":"2026-11-02T17:00:05.596619Z"}],"ghsa":[{"id":"GHSA-pxwm-j3xc-rxqw","title":"libmodplug through 0.8.9.1 contains a heap-based out-of-bounds read vulnerability in CSoundFile:...","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.","status":"published","published":"2026-10-16T00:31:54Z","modified":"2026-10-16T00:32:01Z","cvss":[{"version":"4.0","score":6.8,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T15:13:49.895192Z"}],"nvd":[{"id":"CVE-2026-111271","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.","status":"published","published":"2026-10-15T22:19:27.957Z","modified":"2026-10-16T18:25:45.343Z","cvss":[{"version":"4.0","score":6.8,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium","assessor":"secondary"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"secondary"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T14:12:59.751798Z"}],"osv":[{"id":"DEBIAN-CVE-2026-111271","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.","status":"published","published":"2026-10-15T22:19:27.957Z","modified":"2026-10-23T18:05:32.134609944Z","cvss":[{"version":"4.0","score":6.8,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium"}],"updated_at":"2026-11-02T15:45:49.824149Z"},{"id":"UBUNTU-CVE-2026-111271","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.","status":"published","published":"2026-10-15T22:19:00Z","modified":"2026-10-28T17:50:35Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"},{"version":"4.0","score":6.8,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","level":"medium"}],"updated_at":"2026-11-02T16:55:59.591851Z"},{"id":"AZL-109736","title":"CVE-2026-111271 affecting package libmodplug 0.8.9.0-12","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.","status":"published","published":"2026-10-15T22:19:27Z","modified":"2026-11-05T05:36:30Z","updated_at":"2026-11-05T16:41:18.42484Z"},{"id":"openSUSE-SU-2026:12215-1","title":"libmodplug-devel-0.8.9.0+git20170610.f6dd59a-4.1 on GA media","description":"These are all security issues fixed in the libmodplug-devel-0.8.9.0+git20170610.f6dd59a-4.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2026-10-21T00:00:00Z","modified":"2026-10-22T17:23:11.296228678Z","updated_at":"2026-11-02T16:58:40.245664Z"},{"id":"openSUSE-SU-2026:22165-1","title":"Security update for libmodplug","description":"This update for libmodplug fixes the following issues:\n\nChanges in libmodplug:\n\n- CVE-2026-108577: This issue affects the function abc_add_gchord of the file src/load_abc.cpp of the component ABC Music Format Parser. This manipulation causes resource consumption [bsc#1284977]\n- CVE-2026-111270: a heap-based out-of-bounds write in CSoundFile:ReadDSM() in src/load_dsm.cpp because nPat is never checked against MAX_PATTERNS [bsc#1285765]\n- CVE-2026-111271: a heap-based out-of-bounds read vulnerability in CSoundFile:ReadAMS2() in src/load_ams.cpp [bsc#1285766]\n- CVE-2026-75904: libmodplug through 0.8.9.1 contains an out-of-bounds read in pat_smplooped in src/load_pat.cpp [bsc#1275624]\n","status":"published","published":"2026-10-23T20:13:09Z","modified":"2026-10-24T16:45:03.941990739Z","updated_at":"2026-11-02T16:58:42.426393Z"}]}}
