CVE catalog

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

[CVE catalog]

Severity
Medium · CVSS 6.9CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Published
Updated
Source
[NVD] · [CVE record]
EPSS
0.20% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianlibmodplugsid1:0.8.9.0-4unknown
Debianlibmodplugforky1:0.8.9.0-4unknown
Debianlibmodplugtrixie1:0.8.9.0-3unknown
Debianlibmodplugbookworm1:0.8.9.0-3unknown

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianlibmodplugsourcesid(unfixed)not yet assignedNot reportedNot reported
Debianlibmodplugsourceforky(unfixed)not yet assignedNot reportedNot reported
Debianlibmodplugsourcetrixie(unfixed)not yet assignedNot reportedNot reported
Debianlibmodplugsourcebookworm(unfixed)not yet assignedNot reportedNot reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [libmodplug1]Affected

    Source package: [libmodplug]

    Details (2)
    • 1:0.8.9.0-3 · amd64 · bookworm

      Affected

      nvd · libmodplug · debian · bookworm; nvd · libmodplug · debian · 12

    • 1:0.8.9.0-3 · arm64 · bookworm

      Affected

      nvd · libmodplug · debian · bookworm; nvd · libmodplug · debian · 12

  • [libmodplug-dev]Affected

    Source package: [libmodplug]

    Details (2)
    • 1:0.8.9.0-3 · amd64 · bookworm

      Affected

      nvd · libmodplug · debian · bookworm; nvd · libmodplug · debian · 12

    • 1:0.8.9.0-3 · arm64 · bookworm

      Affected

      nvd · libmodplug · debian · bookworm; nvd · libmodplug · debian · 12

[Debian 13 (Trixie)]

  • [libmodplug1]Affected

    Source package: [libmodplug]

    Details (2)
    • 1:0.8.9.0-3+b2 · amd64 · trixie

      Affected

      nvd · libmodplug · debian · 13

    • 1:0.8.9.0-3+b2 · arm64 · trixie

      Affected

      nvd · libmodplug · debian · 13

  • [libmodplug-dev]Affected

    Source package: [libmodplug]

    Details (2)
    • 1:0.8.9.0-3+b2 · amd64 · trixie

      Affected

      nvd · libmodplug · debian · 13

    • 1:0.8.9.0-3+b2 · arm64 · trixie

      Affected

      nvd · libmodplug · debian · 13

Observed:

References