Vulnerability Note VU#547028

Microsoft Windows contains buffer overflow in processing of WMF and EMF image formats

Original Release date: 14 Apr 2004 | Last revised: 14 Apr 2004


A vulnerability exists in the APIs that handle Microsoft Windows Metafiles (WMF) and Enhanced Metafiles (EMF) image formats. Exploitation may lead to an attacker executing arbitrary code on the system.


The code that renders Windows Metafiles (WMF) and Enhanced Metafiles (EMF) image formats contains a heap overflow vulnerability. Many program can be used to render WMF or EMF files and can be used to exploit this vulnerability. If the attacker can trick the victim into opening a maliciously crafted file, then the attacker maybe able to exploit this vulnerability to compromise the system. The following systems are affected by this issue:

  • Windows 2000
  • Windows XP
  • Windows NT 4.0


An attacker may be able to execute arbitrary code on the system with the privileges of the current user.


Apply a patch from the vendor
Microsoft Security Bulletin MS04-011 contains patch information to resolve this issue.

Systems Affected (Learn More)

VendorStatusDate NotifiedDate Updated
Microsoft CorporationAffected-14 Apr 2004
If you are a vendor and your product is affected, let us know.

CVSS Metrics (Learn More)

Group Score Vector
Base N/A N/A
Temporal N/A N/A
Environmental N/A N/A



Thanks to Microsoft and eEye Digital Security for reporting this vulnerability.

This document was written by Jason A Rafail.

Other Information

  • CVE IDs: CAN-2003-0906
  • Date Public: 13 Apr 2004
  • Date First Published: 14 Apr 2004
  • Date Last Updated: 14 Apr 2004
  • Document Revision: 5


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