Bug 2554073

Summary: CVE-2026-111270 libmodplug: libmodplug: Denial of Service via heap-based out-of-bounds write in DSM parser [fedora-all]
Product: [Fedora] Fedora Reporter: Vladimir Vasilev <vvasilev>
Component: libmodplugAssignee: Antonio T. sagitter <sagitterghostproton.me>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: kvolny, sagitterghostproton.me
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["438e919e-02ae-488d-b71b-21dc7d204f80"]}
Fixed In Version: libmodplug-0.8.9.0-31.fc46 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-10-20 10:52:17 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2553880    

Description Vladimir Vasilev 2026-10-16 12:29:29 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.

Comment 1 Fedora Update System 2026-10-20 09:26:54 UTC
FEDORA-2026-6c58236667 (libmodplug-0.8.9.0-31.fc46) has been submitted as an update to Fedora 46.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-6c58236667

Comment 2 Fedora Update System 2026-10-20 10:52:17 UTC
FEDORA-2026-6c58236667 (libmodplug-0.8.9.0-31.fc46) has been pushed to the Fedora 46 stable repository.
If problem still persists, please make note of it in this bug report.