Description
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.
Metrics
CVSS 3.1 6.1/10
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:HWeakness enumeration
Affected software
No affected versions have been published.
Timeline
- Published
- Oct 15, 2026
- Last modified
- Oct 21, 2026
- NVD status
- Deferred