search menu icon-carat-right cmu-wordmark

CERT Coordination Center

Microsoft Windows Media Player vulnerable to buffer overflow in bitmap processing routine

Vulnerability Note VU#291396

Original Release Date: 2006-02-14 | Last Revised: 2006-03-17


Microsoft Windows Media Player contains a buffer overflow vulnerability that may allow a remote, unauthenticated attacker to execute arbitrary code on a vulnerable system.


Microsoft Windows Media Player (WMP) is an application that ships with Microsoft Windows systems used to play various types of media files. Windows Media Player fails to properly validate bitmap image files (.bmp), potentially allowing a buffer overflow to occur.

If the size field in the bitmap header is set to set to a value that is less than the actual size of the file, WMP will allocate an under-sized buffer to hold the bitmap. When data is copied to this buffer, the buffer overflow may occur. For more information, please see Microsoft Security Bulletin MS06-005.

Exploit code for this vulnerability is publicly available.


By persuading a user to open a specially crafted bitmap file with Windows Media Player, an attacker may be able to execute arbitrary code with the privileges of the user.


Apply an Update
Microsoft has addressed this issue in Microsoft Security Bulletin MS06-005.

Please see Microsoft Security Bulletin MS06-005 for a list of workarounds to mitigate this vulnerability.

Vendor Information


Microsoft Corporation Affected

Updated:  February 14, 2006



Vendor Statement

We have not received a statement from the vendor.

Vendor Information

The vendor has not provided us with any further information regarding this vulnerability.


Please see

If you have feedback, comments, or additional information about this vulnerability, please send us email.

CVSS Metrics

Group Score Vector



This vulnerability was reported in Microsoft Security Bulletin MS06-005. Microsoft credits Marc Maiffret of eEye Digital Security with providing information regarding this issue.

This document was written by Jeff Gennari.

Other Information

CVE IDs: CVE-2006-0006
Severity Metric: 27.00
Date Public: 2006-02-14
Date First Published: 2006-02-14
Date Last Updated: 2006-03-17 18:04 UTC
Document Revision: 27

Sponsored by CISA.