Hash: SHA1

             AUSCERT External Security Bulletin Redistribution

                    ESB-2009.0199 -- [Win][UNIX/Linux]
libpng vulnerability - libpng fails to properly initialize element pointers
                               4 March 2009


        AusCERT Security Bulletin Summary

Product:              libpng
Publisher:            US-CERT
Operating System:     UNIX variants (UNIX, Linux, OSX)
Impact:               Execute Arbitrary Code/Commands
Access:               Remote/Unauthenticated
CVE Names:            CVE-2009-0040

Ref:                  ESB-2009.0194

Original Bulletin:    http://www.kb.cert.org/vuls/id/649212

- --------------------------BEGIN INCLUDED TEXT--------------------

US-CERT - Vulnerability Note VU#649212

libpng fails to properly initialize element pointers


   Libpng contains a vulnerability in the way element pointers are

I. Description

   A vulnerability in the way libpng handles element pointers may result
   in unitialized element pointers. This vulnerability is due to an
   off-by-one error introduced in multiple functions in libpng-0.89c.
   According to the PNG Development Group:

   If the application runs out of memory during the loop, some of the
   element pointers will be uninitialized. Libpng will then longjmp to a
   cleanup process that attempts to free all of the elements in the
   array, including the uninitialized ones. This behavior could be forced
   by a malevolent input.
   Note that this issue affects all versions of prior to libpng-1.0.43
   and libpng-1.2.35.

II. Impact

   This vulnerability could allow an unauthenticated, remote attacker to
   execute arbitrary code or cause a denial of service.

III. Solution


   The PNG Development Group has issued an upgrade to address this
   issue. See libpng version 1.2.35 for more information.

Systems Affected

   Vendor     Status     Date Notified Date Updated
   libpng     Vulnerable               2009-03-02




   This issue was reported by the PNG Development Group in libpng
   version 1.2.35.

   This document was written by Chris Taschner.

Other Information

   Date Public:              2009-02-19
   Date First Published:     2009-03-02
   Date Last Updated:        2009-03-02
   CERT Advisory:           
   CVE-ID(s):                CVE-2009-0040
   NVD-ID(s):                CVE-2009-0040
   US-CERT Technical Alerts:
   Metric:                   3.49
   Document Revision:        10

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:


If you believe that your computer system has been compromised or attacked in 
any way, we encourage you to let us know by completing the secure National IT 
Incident Reporting Form at:


Australian Computer Emergency Response Team
The University of Queensland
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.

Comment: http://www.auscert.org.au/render.html?it=1967