Winamp m3u Parsing Stack Overflow Vulnerability
iDefense Security Advisory 02.01.06
February 1, 2006
Winamp is a popular media player for Windows which supports many
audio/video file formats.
More information can be obtained from the vendors site at:
It has been found that a specially crafted m3u or pls file can overwrite
a stack based buffer allowing for remote code execution.
Example m3U file format:
Example pls file to trigger exploit:
This vulnerability is specific to the 5.11 version of Winamp and does
not affect previous versions.
When Winamp is installed it registers the m3u extension so that such
files will automatically open in Winamp. This exploit can be triggered
by clicking on a link in a webpage, or from the use of malicious
Exploitation is straight forward, using a long full path. This path
can be either a filename or the UNC name for a fileshare, which does
not have to exist.
Public exploit code has been independently released for this
This exploit was tested with version 5.11 of Winamp. Previous versions
were tested and found to not be exploitable.
Removing the file associations for the m3u and pls file extension may
mitigate the risk of exploitation.
VI. VENDOR RESPONSE
The vendor has not responded to communication regarding this
The vulnerability appears to have been silently fixed in Winamp 5.13
which is available for download at:
VII. CVE INFORMATION
The Common Vulnerabilities and Exposures (CVE) project has assigned the
name CVE-2006-0476 to this issue. This is a candidate for inclusion in
the CVE list (http://cve.mitre.org), which standardizes names for
VIII. DISCLOSURE TIMELINE
12/15/2005 Initial vendor notification
02/01/2006 Public disclosure
This vulnerability was independently discovered by Alan Mccaig (b0f)
b0fnet (at) yahoo (dot) com [email concealed] and Ruben Santamarta (ruben (at) reversemode (dot) com [email concealed]).
Get paid for vulnerability research
Free tools, research and upcoming events
X. LEGAL NOTICES
Copyright (c) 2006 iDefense, Inc.
Permission is granted for the redistribution of this alert
electronically. It may not be edited in any way without the express
written consent of iDefense. If you wish to reprint the whole or any
part of this alert in any other medium other than electronically, please
email customerservice (at) idefense (dot) com [email concealed] for permission.
Disclaimer: The information in the advisory is believed to be accurate
at the time of publishing based on currently available information. Use
of the information constitutes acceptance for use in an AS IS condition.
There are no warranties with regard to this information. Neither the
author nor the publisher accepts any liability for any direct, indirect,
or consequential loss or damage arising from use of, or reliance on,