CVE-2026-111270

NameCVE-2026-111270
Descriptionlibmodplug 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libmodplug (PTS)bookworm, trixie1:0.8.9.0-3vulnerable
forky, sid1:0.8.9.2-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libmodplugsource(unstable)1:0.8.9.2-1

Notes

https://github.com/Konstanty/libmodplug/pull/109
Fixed by: https://github.com/Konstanty/libmodplug/commit/b824d9b32a1aa8b9145bbd53cbb73179ccc95acd (v0.8.9.2)

Search for package or bug name: Reporting problems