SkipNavigation
US-CERT
American Flag
  Vulnerability
Notes
Database

Search Vulnerability Notes

Vulnerability Notes Help Information


 
 View Notes By
  Name

ID Number

CVE Name

Date Public

Date Published

Date Updated

Severity Metric



 Other Documents
  Technical Alerts

Technical Bulletins

Alerts

Security Tips

 

Vulnerability Note VU#684664

libpng denial of service vulnerability

Overview

The libpng library contains a denial-of-service vulnerability.

I. Description

The libpng library can be used to allow other applications to render PNG images.

The libpng library contains a denial-of-service vulnerability.

From the Libpng-1.2.16-ADVISORY:

    This vulnerability could be used to crash a browser when a user tries to view such a malformed PNG file. It is not known whether the vulnerability could be exploited otherwise.

    The reason is that png_ptr->num_trans is set to 1 and then there is an error return after checking the CRC, so the trans[ ] array is never allocated. Since png_ptr->num_trans is nonzero, libpng tries to use the array later.
An attacker may be able to exploit this vulnerability by convincing a user to open a specially crafted PNG image. The malicious image may be hosted on a website, or sent as an email attachment.

II. Impact

A remote, unauthenticated attacker may be able to create a denial-of-service condition.

III. Solution

Upgrade

The libpng team has released a patch for libpng 1.0.25 and 1.2.17 to address this vulnerability. Administrators are encouraged to upgrade as soon as possible. Administrators who receive the libpng library from their operating system vendor should see the systems affected portion of this document for a list of affected vendors.

Systems Affected

VendorStatusDate Updated
Apple Computer, Inc.Unknown8-May-2007
Conectiva Inc.Unknown8-May-2007
Cray Inc.Unknown8-May-2007
Debian GNU/LinuxVulnerable8-Jun-2007
EMC, Inc. (formerly Data General Corporation)Unknown8-May-2007
Engarde Secure LinuxUnknown8-May-2007
F5 Networks, Inc.Unknown8-May-2007
Fedora ProjectUnknown8-May-2007
FreeBSD, Inc.Unknown8-May-2007
FujitsuUnknown8-May-2007
Gentoo LinuxVulnerable8-Jun-2007
Hewlett-Packard CompanyUnknown8-May-2007
HitachiUnknown8-May-2007
IBM CorporationUnknown8-May-2007
IBM Corporation (zseries)Unknown8-May-2007
IBM eServerUnknown23-May-2007
Immunix Communications, Inc.Unknown8-May-2007
Ingrian Networks, Inc.Unknown8-May-2007
Juniper Networks, Inc.Unknown8-May-2007
libpngVulnerable16-May-2007
Mandriva, Inc.Vulnerable8-Jun-2007
Microsoft CorporationUnknown8-May-2007
MontaVista Software, Inc.Unknown8-May-2007
MozillaUnknown8-May-2007
NEC CorporationUnknown8-May-2007
NetBSDUnknown8-May-2007
NokiaUnknown8-May-2007
Novell, Inc.Unknown8-May-2007
OpenBSDUnknown8-May-2007
Openwall GNU/*/LinuxUnknown8-May-2007
QNX, Software Systems, Inc.Unknown8-May-2007
Red Hat, Inc.Vulnerable18-May-2007
Silicon Graphics, Inc.Unknown8-May-2007
Slackware Linux Inc.Unknown8-May-2007
Sony CorporationUnknown8-May-2007
Sun Microsystems, Inc.Vulnerable22-Aug-2007
SUSE LinuxVulnerable13-Jul-2007
The SCO GroupUnknown8-May-2007
Trustix Secure LinuxUnknown8-May-2007
TurbolinuxUnknown8-May-2007
UbuntuVulnerable13-Jun-2007
UnisysUnknown8-May-2007
Wind River Systems, Inc.Unknown8-May-2007

References


http://sourceforge.net/project/showfiles.php?group_id=5624
http://www.mirrorservice.org/sites/download.sourceforge.net/pub/sourceforge/l/li/libpng/libpng-1.2.17-ADVISORY.txt
http://secunia.com/advisories/25292/
http://secunia.com/advisories/25353/
http://secunia.com/advisories/25742/

Credit

Thanks to the libpng team for information that was used in this report.

This document was written by Ryan Giobbi.

Other Information

Date Public05/16/2007
Date First Published05/16/2007 01:46:37 PM
Date Last Updated08/22/2007
CERT Advisory 
CVE NameCVE-2007-2445
US-CERT Technical Alerts 
Metric3.86
Document Revision21

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

 
Page Corner Image
Produced 2007 by US-CERT, a government organization
Disclaimers and copyright information
Get Adobe Reader Get Adobe Reader