CVE-2026-111270: Out-of-bounds Write in Konstanty Bialkowski libmodplug
Description
CVE-2026-111270 is a medium severity heap-based out-of-bounds write vulnerability in libmodplug version 0.8.9.1 and earlier. It occurs in the CSoundFile::ReadDSM() function due to lack of validation of the nPat variable against MAX_PATTERNS. An attacker can craft a malicious DSM file with excessive pattern chunks or manipulated length values to corrupt heap memory and cause a crash.
CVSS v4.0
Score 6.9medium
Affected software
Konstanty Bialkowski
libmodplug
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in libmodplug through version 0.8.9.1 involves a heap-based out-of-bounds write in the CSoundFile::ReadDSM() function located in src/load_dsm.cpp. The root cause is that the variable nPat, representing the number of patterns, is not checked against the maximum allowed patterns (MAX_PATTERNS). This allows an attacker to supply a specially crafted DSM file containing more than 240 pattern chunks or a wrapping patt_len value, leading to heap memory corruption and potential process crash.
Potential Impact
Successful exploitation can lead to heap memory corruption, which may cause the consuming process to crash. There is no indication of privilege escalation or remote code execution. The attack requires local vector access (AV:L) and user interaction (UI:P).
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a patch is available, avoid processing untrusted or suspicious DSM files to mitigate risk.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-10-15T19:33:19.371Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6ad14e2f2cdf04f6566084f2
Added to database: 10/15/2026, 22:05:35 UTC
Last enriched: 10/15/2026, 22:34:17 UTC
Last updated: 10/15/2026, 22:34:17 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.