search menu icon-carat-right cmu-wordmark

CERT Coordination Center

Microsoft Internet Explorer buffer overflow in PNG image rendering component

Vulnerability Note VU#189754

Original Release Date: 2005-06-14 | Last Revised: 2005-06-27


A buffer overflow in the PNG image rendering component of Microsoft Internet Explorer (IE) may allow a remote attacker to execute code on a vulnerable system.


The Portable Network Graphics (PNG) image format is used as an alternative to other image formats such as the Graphics Interchange Format (GIF). Microsoft Internet Explorer supports PNG image format. The PNG image rendering component of Microsoft Internet Explorer (pngfilt.dll) does not properly handle PNG image files, potentially allowing a buffer overflow to occur. If a remote attacker can persuade a user to access a specially crafted PNG image with IE, that attacker may be able to trigger the buffer overflow.

For more information about affected components, please refer to MS05-025. Please note that Microsoft has reported this issue is distinct from those previously reported in VU#817368 and VU#388984 (CAN-2004-0597).


If a user opens a specially-crafted PNG image using a vulnerable version of Internet Explorer, an attacker may be able execute arbitrary code with the privileges of the user or cause Internet Explorer to terminate.


Apply An Update
Microsoft has addressed this issue in Microsoft Security Bulletin MS05-025.

Microsoft Security Bulletin MS05-025 suggests the following workarounds. While these workarounds will not correct the underlying vulnerability, they help block known attack vectors.

Disable PNG rendering

Until the patch can be applied, you may wish to disable the PNG rendering in IE. To disable the PNG rendering , follow these steps:

    1. Click Start, click Run, type "regsvr32 /u pngfilt.dll" (without the quotation marks), and then click OK.
    2. A dialog box appears to confirm that the unregistration process has succeeded. Click OK to close the dialog box.
    3. Close Internet Explorer, and reopen it for the changes to take effect..

    In addition, the following techniques may reduce the likelihood of exploitation:

    Read and send email in plain text format

    Outlook 2003, Outlook 2002 SP1, and Outlook 6 SP1 can be configured to view email messages in text format. Consider the security of fellow Internet users and send email in plain text format when possible. Note that reading and sending email in plain text will not necessarily prevent exploitation of this vulnerability.

    Do not follow unsolicited links

    In order to convince users to visit their sites, attackers often use URL encoding, IP address variations, long URLs, intentional misspellings, and other techniques to create misleading links. Do not click on unsolicited links received in email, instant messages, web forums, or internet relay chat (IRC) channels. Type URLs directly into the browser to avoid these misleading links. While these are generally good security practices, following these behaviors will not prevent exploitation of this vulnerability in all cases, particularly if a trusted site has been compromised or allows cross-site scripting.

    Vendor Information


    Microsoft Corporation Affected

    Updated:  June 14, 2005



    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 refer to

    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 MS05-025. Microsoft credits Mark Dowd of ISS X-Force for providing information regarding this vulnerability.

    This document was written by Jeff Gennari.

    Other Information

    CVE IDs: CVE-2005-1211
    Severity Metric: 22.50
    Date Public: 2005-06-14
    Date First Published: 2005-06-14
    Date Last Updated: 2005-06-27 12:22 UTC
    Document Revision: 50

    Sponsored by CISA.