CVE details
CVE-2026-111270
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.
Matched ports (1)
| Port | Package | Version | Status | Maintainer |
|---|---|---|---|---|
| audio/libmodplug | libmodplug | 0.8.9.1.r461 | unaddressed | ehaupt@FreeBSD.org |
Template for a VuXML entry
Range taken from the CVE record, check it before committing. make newentry in security/vuxml creates the vid.
<vuln vid="FIXME (make newentry)">
<topic>FIXME -- FIXME</topic>
<affects>
<package>
<name>libmodplug</name>
<range><lt>FIXME</lt></range>
</package>
</affects>
<description>
<body xmlns="http://www.w3.org/1999/xhtml">
<p>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.</p>
</body>
</description>
<references>
<cvename>CVE-2026-111270</cvename>
<url>https://nvd.nist.gov/vuln/detail/CVE-2026-111270</url>
</references>
<dates>
<discovery>2026-10-15</discovery>
<entry>2026-10-26</entry>
</dates>
</vuln>