NSFOCUS Security Advisory (SA2006-01)
Winamp m3u File Processing Buffer Overflow Vulnerability
Release Date: 2006-02-23
CVE ID: CVE-2006-0720
Affected systems & software
Nullsoft Winamp 5.12
Nullsoft Winamp 5.13
Unaffected systems & software
Nullsoft Winamp 5.2
Winamp is a popular media player that supports various media formats and
playlist formats, including m3u and pls formats.
NSFocus Security Team discovered a buffer overflow vulnerability when Winamp
processes .m3u files, which might cause Winamp to crash or even execute
arbitrary code when a user load a malicious .m3u file and play.
Winamp can play files by loading .m3u file. When the playing is paused or stopped,
Winamp will reset the title of the program, where function strncpy() is incorrectly
called, resulting in a static buffer overflow.
An attacker can cause winamp to crash by crafting a malicious .m3u file.
Remote code execution is possible but difficult.
Cancel .m3u file association to Winamp, and do not open untrusted .m3u files.
2006.02.13 Informed the vendor.
2006.02.15 The vendor confirmed the vulnerability.
2006.02.21 The vendor releases a new version to fix the vulnerability.
The vendor has released Winamp 5.2 to fix this vulnerability, which is available
for download at:
The Common Vulnerabilities and Exposures (CVE) project has assigned the
name CVE-2006-0720 to this issue. This is a candidate for inclusion in the
CVE list (http://cve.mitre.org), which standardizes names for security problems.
Candidates may change significantly before they become official CVE entries.
Liu Yexin of NSFocus Security Team found the vulnerability.
THE INFORMATION PROVIDED IS RELEASED BY NSFOCUS "AS IS" WITHOUT WARRANTY
OF ANY KIND. NSFOCUS DISCLAIMS ALL WARRANTIES, EITHER EXPRESSED OR IMPLIED,
EXCEPT FOR THE WARRANTIES OF MERCHANTABILITY. IN NO EVENT SHALL NSFOCUS
BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT,
INCIDENTAL,CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES,
EVEN IF NSFOCUS HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
DISTRIBUTION OR REPRODUCTION OF THE INFORMATION IS PROVIDED THAT THE
ADVISORY IS NOT MODIFIED IN ANY WAY.
NSFOCUS Security Team <security (at) nsfocus (dot) com [email concealed]>
NSFOCUS INFORMATION TECHNOLOGY CO.,LTD