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.
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.2-1 | — |
| Debian 13 | libmodplug | 1:0.8.8.2-1 | — |
| Debian 12 | libmodplug | 1:0.8.8.2-1 | — |
| Debian 6.0 | libmodplug | 1:0.8.8.1-1+squeeze1 | DSA-2226-1 |
| Debian 5.0 | libmodplug | 1:0.8.4-1+lenny2 | DSA-2226-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 4 | gstreamer-plugins +1 | 0.8.5-1.EL.3 | RHSA-2011:0477 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 1 module
-
VideoLAN VLC ModPlug ReadS3M Stack Buffer Overflow
exploit/windows/fileformat/vlc_modplug_s3m
Exploit-DB 1
- VideoLAN VLC Media Player 1.1.8 - ModPlug ReadS3M Stack Buffer Overflow (Metasploit) EDB-17252 · remote · Apr 8, 2011 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 2
- RHSA-2011:0477 Red Hat Security Advisory: gstreamer-plugins security update Red Hat Security Advisories (RHSA) · Jun 28, 2026
- DSA-2226-1 libmodplug - buffer overflow Debian Security (DSA / DLA) · Mar 9, 2026
References
- USN-1148-1 vendor-advisory
- [oss-security] 20110411 Re: CVE request for libmodplug mailing-list
- GLSA-201203-16 vendor-advisory
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=622091
- https://www.sec-consult.com/files/20110407-0_libmodplug_stackoverflow.txt
- 44870 third-party-advisory
- [oss-security] 20110411 CVE request for libmodplug mailing-list
- https://bugzilla.redhat.com/show_bug.cgi?id=695420
- 1025480 vdb-entry
- http://modplug-xmms.git.sourceforge.net/git/gitweb.cgi?p=modplug-xmms/modplug-xmms%3Ba=commit%3Bh=aecef259828a89bb00c2e6f78e89de7363b2237b
- 48434 third-party-advisory
- DSA-2226 vendor-advisory
- 8243 third-party-advisory
- RHSA-2011:0477 vendor-advisory
- MDVSA-2011:085 vendor-advisory