Gentoo Logo

ModPlug: Multiple buffer overflows


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200612-04 / libmodplug
Release Date December 10, 2006
Latest Revision December 10, 2006: 01
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
media-libs/libmodplug < 0.8-r1 >= 0.8-r1 All supported architectures

Related bugreports: #143404


ModPlug contains several boundary errors that could lead to buffer overflows resulting in the possible execution of arbitrary code.

2.  Impact Information


ModPlug is a library for playing MOD-like music.


Luigi Auriemma has reported various boundary errors in load_it.cpp and a boundary error in the "CSoundFile::ReadSample()" function in sndfile.cpp.


A remote attacker can entice a user to read crafted modules or ITP files, which may trigger a buffer overflow resulting in the execution of arbitrary code with the privileges of the user running the application.

3.  Resolution Information


There is no known workaround at this time.


All ModPlug users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=media-libs/libmodplug-0.8-r1"

4.  References


Page updated December 10, 2006

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2015 Gentoo Foundation, Inc. Questions, Comments? Contact us.