Heap-Based Out-of-Bounds Write in libmodplug Affects Multiple Versions
CVE-2026-111270
6.9MEDIUM
What is CVE-2026-111270?
The libmodplug library, up to version 0.8.9.1, is vulnerable to a heap-based out-of-bounds write originating from the CSoundFile::ReadDSM() function. The vulnerability arises because the variable nPat is not validated against the defined maximum patterns, allowing attackers to craft specially designed DSM files. This could exploit the vulnerability by including an excessive number of PATT chunks or manipulating the patt_len value, potentially leading to memory corruption and process crashes.
Affected Version(s)
libmodplug 0 <= 0.8.9.1
References
CVSS V4
Score:
6.9
Severity:
MEDIUM
Confidentiality:
None
Integrity:
Low
Availability:
High
Attack Vector:
Local
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
Unknown
Timeline
Vulnerability published
Vulnerability Reserved
Credit
HaiND from the Post and Telecommunication Institute of Technology
