Skip to main content

libmodplug EUVDEUVD-2026-102526

| CVE-2026-111271 MEDIUM
Out-of-bounds Read (CWE-125)
2026-10-15 VulnCheck GHSA-pxwm-j3xc-rxqw
6.8
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious AMS module with bit-7 effect bytes
  2. Delivery
    Deliver file to victim via download or attachment
  3. Exploit
    Victim opens file in libmodplug consumer
  4. Execution
    ReadAMS2() reads past heap buffer
  5. Impact
    Process crash / adjacent heap memory read

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK

1 technique across 1 tactic: Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the victim to open or process an attacker-supplied AMS (Velvet Studio) module file using an application that links libmodplug 0.8.9.1 or earlier; the crafted file must specifically keep bit 7 set in its pattern effect bytes to drive the ReadAMS2() decoder past the input buffer. Limiting factors: the attack vector is local (AV:L) and requires passive user interaction (UI:P) - there is no network-triggerable path and no exploitation against a default configuration without a user loading the file. No authentication or privileges are needed on the part of the attacker (PR:N), but delivery and victim action are prerequisites, and the practical outcome is a crash of the consuming process rather than confirmed data exfiltration or code execution.

Impact

This is a moderate, client-side reliability/DoS issue rather than a high-urgency priority. The input CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H) scores 6.8 and is driven almost entirely by availability impact (VA:H) - the realized effect is a crash of any libmodplug consumer, not code execution. Note a conflict worth stating explicitly: the description and the 'Information Disclosure' tag imply the attacker can 'read adjacent heap memory' (CWE-125), yet the CVSS confidentiality impact is VC:N/C:N - meaning the OOB read is treated as causing a crash rather than leaking data back to the attacker. Verify with the reporter whether any read data is actually exfiltrated or only triggers a fault. No EPSS score, KEV listing, or SSVC decision data was provided in the input; absence of these is not evidence of safety but means exploitation probability cannot be quantified here. A detailed technical write-up (hackmd) and the exact vulnerable source lines are public, lowering the bar to reproduce, but there is no indication of active exploitation. The local attack vector plus required user interaction (victim must open a crafted AMS file) substantially limit real-world impact - this is not a remotely-wormable flaw.

Exploit ScenarioDerived

An attacker crafts a malicious AMS module file whose pattern effect bytes keep bit 7 set and distributes it (email attachment, download, embedded in a media library). When a victim opens or previews the file in any application that links libmodplug (media players, desktop sound frameworks), the ReadAMS2() decoder reads past the input heap buffer and crashes the host process. A public technical write-up describing the bug and the exact vulnerable code path exists, making reproduction straightforward.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 15, 2026

Crafted AMS (Velvet Studio) module files can crash any application that uses libmodplug 0.8.9.1 or earlier by triggering a heap-based out-of-bounds read in CSoundFile::ReadAMS2(). The attacker must deliver a specially formed AMS file whose pattern effect bytes keep bit 7 set, driving the decoder past the input buffer; the victim must then open or process the file, and no authentication is required. The issue is a local, client-side denial-of-service (CVSS 6.8) with no confirmed confidentiality or integrity impact, and no public exploit code or active exploitation has been identified at time of analysis.

RemediationAI

No vendor-released patch for CVE-2026-111271 has been identified at time of analysis; monitor the upstream libmodplug repository (https://github.com/Konstanty/libmodplug) and the VulnCheck advisory for a fixed release beyond 0.8.9.1. Until a patch is available, avoid opening or processing untrusted AMS (Velvet Studio) files with any libmodplug-based application, and where feasible configure file-type filters or extension blocking to reject .ams files. If AMS support is not required, consider disabling or removing that decoder path from the consuming application, recognizing that this may break legitimate module playback. Process untrusted files in a sandboxed or low-privilege environment to limit the impact of a crash; this does not fix the underlying out-of-bounds read and may introduce performance or compatibility trade-offs. Application vendors that bundle libmodplug should track upstream fixes and rebuild their products once a patched version is released, while compile-time hardening such as ASLR and heap canaries can raise exploitation difficulty but do not eliminate the defect.

Affected VersionsENISA

libmodplug 0 ≤0.8.9.1

Affected Packages

euvd libmodplug no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is a CWE-125 out-of-bounds read in the AMS decoder of libmodplug, an open-source library that decodes many tracker module formats (MOD, S3M, XM, IT, AMS, and others). The vulnerable routine is CSoundFile::ReadAMS2() in src/load_ams.cpp (see the referenced code at lines 509-537 in commit d1b97ed0020bc620a059d3675d1854b40bd2608d), which parses pattern effect bytes from an AMS file. When those effect bytes repeatedly keep bit 7 set, the decoder advances its read pointer beyond the allocated input buffer and reads adjacent heap memory. Because the malformed data is processed during file parsing, the out-of-bounds access can crash the consuming process. Although the description notes the possibility of reading adjacent heap memory, the assessed impact vector rates only availability (A:H) with no confidentiality or integrity impact, so the practical outcome is a denial-of-service via crash rather than confirmed data exfiltration.

Know when Libmodplug gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 6.8 MEDIUM
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
vuln.today AI 5.5 MEDIUM

Victim must open a crafted file (AV:L, UI:R); no privileges needed (PR:N); realized impact is a process crash (A:H) with no confirmed disclosure or integrity loss (C:N/I:N).

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

libmodplug through 0.8.9.1 contains a heap-based out-of-bounds read vulnerability in CSoundFile::ReadAMS2() in src/load_ams.cpp that allows attackers to read adjacent heap memory via crafted AMS files. Attackers can supply an AMS module whose pattern effect bytes keep bit 7 set, driving the decoder past the input buffer and crashing any libmodplug consumer.

Threat Intelligence Overview

EPSS Score
0.1%
Top 98% exploitable
Prevalence
Medium
legacy module-audio decoding library bundled in some media frameworks
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
Poc
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy