CVE-2026-111271: libmodplug through 0.8.9.1 Heap Out-of-Bounds Read via CSoundFile::ReadAMS2

Published Oct 15, 2026
·
Updated

libmodplug through 0.8.9.1 contains a heap-based out-of-bounds read vulnerability in CSoundFile::ReadAMS2() in src/loadams.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.

Affected Software

1 affected component
libmodplug libmodplug<=0.8.9.1

Event History

Oct 15, 2026
CVE Published
via MITRE·09:43 PM
Data Sourced
via MITRE·09:43 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is exposed to this issue?

Any application that uses an affected libmodplug version to parse AMS module files is exposed when it processes an attacker-supplied crafted AMS file. The described outcome is a crash of the libmodplug consumer.

2

What must an attacker do to trigger the vulnerability?

The attacker must provide a crafted AMS module with pattern effect bytes that keep bit 7 set. This causes CSoundFile::ReadAMS2() to advance past the input buffer.

3

Is user interaction required?

Yes. The supplied CVSS vector includes UI:R, indicating that a user must interact with attacker-controlled content, such as causing the consuming application to process the crafted AMS file.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203