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#236656

libpng png_handle_iCCP() NULL pointer dereference

Overview

The Portable Network Graphics library (libpng) contains a remotely exploitable vulnerability that could cause affected applications to crash.

I. Description

The Portable Network Graphics (PNG) image format is used as an alternative to other image formats such as the Graphics Interchange Format (GIF). The libpng reference library is available for application developers to support the PNG image format.

Under some circumstances, a null pointer may be dereferenced during a memory allocation in the png_handle_iCCP() function. As a result, a PNG file with particular characteristics could cause the affected application to crash. Similar errors are reported to exist in other locations within libpng.

Multiple applications support the PNG image format, including web browsers, email clients, and various graphic utilities. Because multiple products have used the libpng reference library to implement native PNG image processing, applications will be affected by this issue in different ways.

II. Impact

An attacker could cause a vulnerable application to crash by supplying a specially crafted PNG image. Vulnerable applications that read images from network sources could be exploited remotely.

III. Solution

Apply a patch from the vendor

Patches have been released to address this vulnerability. Please see the Systems Affected section of this document for more details.

Systems Affected

VendorStatusDate Updated
Apple Computer, Inc.Vulnerable1-Jun-2005
Berkeley Software Design, Inc.Unknown23-Jul-2004
Cray Inc.Unknown23-Jul-2004
Debian LinuxVulnerable20-Aug-2004
eMC CorporationUnknown23-Jul-2004
EngardeUnknown23-Jul-2004
FreeBSD, Inc.Unknown23-Jul-2004
FujitsuUnknown23-Jul-2004
GentooVulnerable20-Aug-2004
Hewlett-Packard CompanyVulnerable20-Aug-2004
HitachiNot Vulnerable20-Aug-2004
IBM-zSeriesUnknown20-Aug-2004
IBM CorporationUnknown4-Aug-2004
IBM eServerUnknown23-Jul-2004
ImmunixUnknown4-Aug-2004
Ingrian Networks, Inc.Unknown23-Jul-2004
Juniper Networks, Inc.Not Vulnerable23-Jul-2004
libpng.orgVulnerable4-Aug-2004
Mandriva, Inc.Vulnerable20-Aug-2004
Mandriva, Inc.Vulnerable4-Aug-2004
Microsoft CorporationUnknown4-Aug-2004
MontaVista Software, Inc.Vulnerable4-Aug-2004
NEC CorporationNot Vulnerable3-Aug-2004
NETBSDUnknown23-Jul-2004
NokiaUnknown23-Jul-2004
Novell, Inc.Unknown23-Jul-2004
OpenPKGVulnerable20-Aug-2004
Openwall GNU/*/LinuxUnknown23-Jul-2004
Red Hat, Inc.Vulnerable20-Aug-2004
SCOUnknown23-Jul-2004
Sequent Computer Systems, Inc.Unknown23-Jul-2004
SGIUnknown23-Jul-2004
SlackwareVulnerable20-Aug-2004
Sony CorporationUnknown23-Jul-2004
Sun Microsystems, Inc.Vulnerable4-Aug-2004
SUSE LinuxVulnerable4-Aug-2004
Trustix Secure LinuxVulnerable20-Aug-2004
TurboLinuxUnknown23-Jul-2004
UnisysUnknown23-Jul-2004
Wind River Systems, Inc.Unknown23-Jul-2004

References


http://scary.beasts.org/security/CESA-2004-001.txt
http://www.libpng.org/pub/png/
http://libpng.sourceforge.net/

Credit

Thanks to Chris Evans for reporting this vulnerability.

This document was written by Chad Dougherty and Damon Morda.

Other Information

Date Public08/04/2004
Date First Published08/04/2004 12:00:13 PM
Date Last Updated07/20/2007
CERT Advisory 
CVE NameCVE-2004-0598
US-CERT Technical Alerts 
Metric1.05
Document Revision17

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

 
Page Corner Image
Copyright 2004 Carnegie Mellon University
Disclaimers and copyright information
Get Adobe Reader Get Adobe Reader