Home    |    View Topics    |    Search    |    Contact Us    |   



Category:   Application (Generic)  >   libpng Vendors:
(Apple Issues Fix) libpng Buffer Overflows May Let Remote Users Crash the Application or Execute Arbitrary Code
SecurityTracker Alert ID:  1010907
SecurityTracker URL:
CVE Reference:   CVE-2004-0597, CVE-2004-0598, CVE-2004-0599   (Links to External Site)
Date:  Aug 10 2004
Impact:   Denial of service via network, Execution of arbitrary code via network, User access via network
Fix Available:  Yes  Vendor Confirmed:  Yes  

Description:   Several buffer overflow vulnerabilities were reported in libpng. A remote user may be able to execute arbitrary code on the target system.

Red Hat reported that Chris Evans discovered several buffer overflows in libpng during a code audit.

A remote user can create a specially crafted PNG file that, when opened by a target user with an application that uses libpng, will execute arbitrary code on the target user's system [CVE: CVE-2004-0597].

A NULL pointer dereference vulnerability [CVE: CVE-2004-0598] and several integer overflow issues [CVE: CVE-2004-0599] were also reported to be able to cause an affected application to crash when opening a malicious file.

Impact:   A remote user may be able to cause an affected application to crash or execute arbitrary code. The specific impact depends on the application using libpng.
Solution:   Apple has issued a fix as part of Mac OS X 10.3.5, available via the Software Update pane in System Preferences or Apple's Software Downloads web site at:

Vendor URL: (Links to External Site)
Cause:   Boundary error
Underlying OS:  UNIX (macOS/OS X)
Underlying OS Comments:  10.3.4 and prior verisons

Message History:   This archive entry is a follow-up to the message listed below.
Aug 4 2004 libpng Buffer Overflows May Let Remote Users Crash the Application or Execute Arbitrary Code

 Source Message Contents

Subject:  APPLE-SA-2004-08-09 Mac OS X 10.3.5

Hash: SHA1

APPLE-SA-2004-09-09 Mac OS X 10.3.5

Mac OS X 10.3.5 is now available and delivers security enhancements
for the following components:

Component:  libpng (Portable Network Graphics)
CVE-IDs:    CAN-2002-1363, CAN-2004-0421, CAN-2004-0597,
CAN-2004-0598, CAN-2004-0599
Impact:  Malicious png images can cause application crashes and could
execute arbitrary code

Description:  A number of buffer overflows, null pointer dereferences
and integer overflows have been discovered in the reference library
for reading and writing PNG images. These vulnerabilities have been
corrected in libpng which is used by the CoreGraphics and AppKit
frameworks in Mac OS X.  After installing this update, applications
that use the PNG image format via these frameworks will be protected
against these flaws.

Note:  The libpng security fixes are also available separately for Mac
OS X 10.3.4 and Mac OS X 10.2.8 via Security Update 2004-08-09.


Component:  Safari
CVE ID:     CAN-2004-0743
Impact: In a special situation, navigation using the forward/backward
buttons can re-send form data to a GET url.

Description:  This is for a situation where a web form is sent to a
server using a POST method which issues an HTTP redirect to a GET
method url.  Using the forward/backward buttons will cause Safari to
re-POST the form data to the GET url.  Safari has been modified so
that in this situation forward/backward navigation will result in only
a GET method.


Component:  TCP/IP Networking
CVE ID:     CAN-2004-0744
Impact:     Maliciously crafted IP fragments can use too many system
resources preventing normal network operation.

Description:  The "Rose Attack" describes a specially constructed
sequence of IP fragments designed to consume system resources.  The
TCP/IP implementation has been modified to limit the resources
consumed and prevents this denial of service attack.


Mac OS X 10.3.5 may be obtained from the Software Update
pane in System Preferences, or Apple's Software Downloads web site:

Information will also be posted to the Apple Product Security
web site:

This message is signed with Apple's Product Security PGP key,
and details are available at:

Version: PGP 8.1

security-announce mailing list |
Do not post admin requests to the list. They will be ignored.


Go to the Top of This SecurityTracker Archive Page

Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2021, LLC