Note: This is an archival copy of Security Sun Alert 269788 as previously published on
Latest version of this security advisory is available from as Sun Alert 1021043.1.
Article ID : 1021043.1
Article Type : Sun Alerts (SURE)
Last reviewed : 2009-11-09
Audience : PUBLIC
Copyright Notice: Copyright © 2010, Oracle Corporation and/or its affiliates.

Security Vulnerability in Solaris libpng(3) May Allow a Remote User to Disclose Potentially Sensitive Information from Applications Linked to libpng(3)


Release Phase

Bug Id

Solaris 8 Operating System
Solaris 9 Operating System
Solaris 10 Operating System

Date of Workaround Release

Multiple security vulnerabilities in libpng(3):

1. Impact

Multiple security vulnerabilities in libpng(3), which is shipped with Solaris, may allow a local or remote unprivileged user to disclose potentially sensitive information associated with applications linked to libpng(3), when a user has loaded a specially crafted Portable Network Graphics (PNG) format image file (.png) supplied by an untrusted user.

These issues are also described in the following document:

    CVE-2009-2042 at:

2. Contributing Factors

These issues can occur in the following releases:

SPARC Platform
  • GNOME 2.0 (for Solaris 8)
  • Solaris 9
  • Solaris 10 without patch 137080-04
  • OpenSolaris builds snv_01 through snv_123
x86 Platform
  • GNOME 2.0 (for Solaris 8)
  • Solaris 9
  • Solaris 10 without patch 137081-04
  • OpenSolaris builds snv_01 through snv_123
Note 1: To determine if an application has a dynamic dependency on the libpng(3) library, the ldd(1) utility can be used:
    $ ldd /bin/evince | grep libpng => /usr/lib/
However, some applications may use libpng(3) but not report libpng(3) as a dynamic dependency with ldd(1) if the library is loaded by dlopen(3C). Therefore, to display all shared objects used by an application, pldd(1) should be used against the running process:
    $ pldd <pid of application> | grep libpng
Note 2: OpenSolaris distributions may include additional bug fixes above and beyond the build from which it was derived.  To determine the base build of OpenSolaris, the following command can be used:
    $ uname -v
3. Symptoms

There are no predictable symptoms that would indicate the described issues have been exploited.

4. Workaround

To work around the described issues , do not load PNG files from untrusted sources (or to be completely safe, do not view any PNG files).

5. Resolution

These issues are addressed in the following releases:

SPARC Platform
  • Solaris 10 with patch 137080-04 or later
  • OpenSolaris based upon builds snv_124 or later
x86 Platform
  • Solaris 10 with patch 137081-04 or later
  • OpenSolaris based upon builds snv_124 or later
A final resolution is pending completion.

For more information on Security Sun Alerts, see 1009886.1.

This Sun Alert notification is being provided to you on an "AS IS" basis. This Sun Alert notification may contain information provided by third parties. The issues described in this Sun Alert notification may or may not impact your system(s). Sun makes no representations, warranties, or guarantees as to the information contained herein. ANY AND ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE HEREBY DISCLAIMED. BY ACCESSING THIS DOCUMENT YOU ACKNOWLEDGE THAT SUN SHALL IN NO EVENT BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, PUNITIVE, OR CONSEQUENTIAL DAMAGES THAT ARISE OUT OF YOUR USE OR FAILURE TO USE THE INFORMATION CONTAINED HEREIN. This Sun Alert notification contains Sun proprietary and confidential information. It is being provided to you pursuant to the provisions of your agreement to purchase services from Sun, or, if you do not have such an agreement, the Terms of Use. This Sun Alert notification may only be used for the purposes contemplated by these agreements.

Copyright 2000-2009 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, CA 95054 U.S.A. All rights reserved.

Modification History
10-Nov-2009: Updated Contributing Factors and Resolution sections.



This solution has no attachment