search menu icon-carat-right cmu-wordmark

CERT Coordination Center

libpng fails to properly initialize element pointers

Vulnerability Note VU#649212

Original Release Date: 2009-03-02 | Last Revised: 2009-03-06

Overview

Libpng contains a vulnerability in the way element pointers are handled.

Description

A vulnerability in the way libpng handles element pointers may result in uninitialized 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 libpng prior to libpng-1.0.43 and libpng-1.2.35.

Impact

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

Solution

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

Vendor Information

649212
 

View all 94 vendors View less vendors


CVSS Metrics

Group Score Vector
Base 0 AV:--/AC:--/Au:--/C:--/I:--/A:--
Temporal 0 E:Not Defined (ND)/RL:Not Defined (ND)/RC:Not Defined (ND)
Environmental 0 CDP:Not Defined (ND)/TD:Not Defined (ND)/CR:Not Defined (ND)/IR:Not Defined (ND)/AR:Not Defined (ND)

References

Acknowledgements

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

This document was written by Chris Taschner.

Other Information

CVE IDs: CVE-2009-0040
Severity Metric: 3.49
Date Public: 2009-02-19
Date First Published: 2009-03-02
Date Last Updated: 2009-03-06 15:39 UTC
Document Revision: 12

Sponsored by CISA.