Description
Off-by-one error in the CSoundFile::ReadAMS function in src/load_ams.cpp in libmodplug before 0.8.8.4 allows remote attackers to cause a denial of service (stack memory corruption) and possibly execute arbitrary code via a crafted AMS file with a large number of samples.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libmodplug | 1:0.8.8.4-1 | — |
| Debian 13 | libmodplug | 1:0.8.8.4-1 | — |
| Debian 12 | libmodplug | 1:0.8.8.4-1 | — |
| Debian 6.0 | libmodplug | 1:0.8.8.1-1+squeeze2 | DSA-2415-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 4 | gstreamer-plugins +1 | 0.8.5-1.EL.4 | RHSA-2011:1264 |
Advisories 2
- RHSA-2011:1264 Red Hat Security Advisory: gstreamer-plugins security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- DSA-2415-1 libmodplug - several Debian Security (DSA / DLA) · Mar 9, 2026
References
- FEDORA-2011-12370 vendor-advisory
- [oss-security] 20120810 CVE request: libmodplug: multiple vulnerabilities reported in <= 0.8.8.3 mailing-list
- DSA-2415 vendor-advisory
- http://sourceforge.net/projects/modplug-xmms/files/libmodplug/0.8.8.4/
- GLSA-201203-16 vendor-advisory
- FEDORA-2011-10503 vendor-advisory
- 45131 third-party-advisory
- [oss-security] 20120812 Re: CVE request: libmodplug: multiple vulnerabilities reported in <= 0.8.8.3 mailing-list
- http://modplug-xmms.git.sourceforge.net/git/gitweb.cgi?p=modplug-xmms/modplug-xmms%3Ba=commitdiff%3Bh=26243ab9fe1171f70053e9aec4b20e9f7de9e4ef
- 48058 third-party-advisory
- 46032 third-party-advisory
- 46793 third-party-advisory
- 48439 third-party-advisory
- 45742 third-party-advisory
- USN-1255-1 vendor-advisory
- openSUSE-SU-2011:0943 vendor-advisory
- 48434 third-party-advisory
- 48979 vdb-entry
- GLSA-201203-14 vendor-advisory
- 45901 third-party-advisory
- RHSA-2011:1264 vendor-advisory
- libmodplug-ams-code-execution(68985) vdb-entry
- 46043 third-party-advisory
- http://jira.atheme.org/browse/AUDPLUG-394
- 74210 vdb-entry
- 45658 third-party-advisory