CVE-2026-111271
libmodplug through 0.8.9.1 Heap Out-of-Bounds Read via CSoundFile::ReadAMS2
CVSS Score
5.5
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-125 |
| Vendor | konstanty bialkowski |
| Product | libmodplug |
| Published | Oct 15, 2026 |
Stay Ahead of the Next One
Get instant alerts for konstanty bialkowski libmodplug
Be the first to know when new medium vulnerabilities affecting konstanty bialkowski libmodplug are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
Affected Versions
Konstanty Bialkowski / libmodplug
0 โค 0.8.9.1
References
hackmd.io: https://hackmd.io/@haind-pwn/libmodplug-dsm-pattern-oob-write github.com: https://github.com/Konstanty/libmodplug/blob/d1b97ed0020bc620a059d3675d1854b40bd2608d/src/load_ams.cpp#L509-L537 github.com: https://github.com/Konstanty/libmodplug vulncheck.com: https://www.vulncheck.com/advisories/libmodplug-through-0.8.9.1-heap-out-of-bounds-read-via-csoundfile-readams2
Credits
HaiND from the Post and Telecommunication Institute of Technology