CVE Vulnerabilities

CVE-2009-0040

Access of Uninitialized Pointer

Published: Feb 22, 2009 | Modified: Feb 09, 2024
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
6.8 MEDIUM
AV:N/AC:M/Au:N/C:P/I:P/A:P
RedHat/V2
6.8 MODERATE
AV:N/AC:M/Au:N/C:P/I:P/A:P
RedHat/V3
Ubuntu
MEDIUM

The PNG reference library (aka libpng) before 1.0.43, and 1.2.x before 1.2.35, as used in pngcrush and other applications, allows context-dependent attackers to cause a denial of service (application crash) or possibly execute arbitrary code via a crafted PNG file that triggers a free of an uninitialized pointer in (1) the png_read_png function, (2) pCAL chunk handling, or (3) setup of 16-bit gamma tables.

Weakness

The product accesses or uses a pointer that has not been initialized.

Affected Software

Name Vendor Start Version End Version
Libpng Libpng * 1.0.43 (excluding)
Libpng Libpng 1.2.0 (including) 1.2.35 (excluding)
Red Hat Enterprise Linux 2.1 RedHat seamonkey-0:1.0.9-0.30.el2 *
Red Hat Enterprise Linux 2.1 RedHat libpng-2:1.0.14-12 *
Red Hat Enterprise Linux 3 RedHat seamonkey-0:1.0.9-0.34.el3 *
Red Hat Enterprise Linux 3 RedHat libpng-2:1.2.2-29 *
Red Hat Enterprise Linux 3 RedHat libpng10-0:1.0.13-20 *
Red Hat Enterprise Linux 4 RedHat firefox-0:3.0.7-1.el4 *
Red Hat Enterprise Linux 4 RedHat seamonkey-0:1.0.9-38.el4 *
Red Hat Enterprise Linux 4 RedHat libpng-2:1.2.7-3.el4_7.2 *
Red Hat Enterprise Linux 4 RedHat libpng10-0:1.0.16-3.el4_7.3 *
Red Hat Enterprise Linux 5 RedHat firefox-0:3.0.7-1.el5 *
Red Hat Enterprise Linux 5 RedHat xulrunner-0:1.9.0.7-1.el5 *
Red Hat Enterprise Linux 5 RedHat libpng-2:1.2.10-7.1.el5_3.2 *
Firefox Ubuntu dapper *
Firefox Ubuntu gutsy *
Firefox Ubuntu hardy *
Firefox-3.0 Ubuntu devel *
Firefox-3.0 Ubuntu gutsy *
Firefox-3.0 Ubuntu hardy *
Firefox-3.0 Ubuntu intrepid *
Firefox-3.0 Ubuntu jaunty *
Firefox-3.5 Ubuntu devel *
Firefox-3.5 Ubuntu jaunty *
Iceape Ubuntu gutsy *
Libpng Ubuntu dapper *
Libpng Ubuntu devel *
Libpng Ubuntu gutsy *
Libpng Ubuntu hardy *
Libpng Ubuntu intrepid *
Libpng Ubuntu jaunty *
Libpng Ubuntu upstream *
Mozilla-thunderbird Ubuntu dapper *
Seamonkey Ubuntu devel *
Seamonkey Ubuntu hardy *
Seamonkey Ubuntu intrepid *
Seamonkey Ubuntu jaunty *
Thunderbird Ubuntu devel *
Thunderbird Ubuntu gutsy *
Thunderbird Ubuntu hardy *
Thunderbird Ubuntu intrepid *
Thunderbird Ubuntu jaunty *
Xulrunner Ubuntu devel *
Xulrunner Ubuntu gutsy *
Xulrunner Ubuntu hardy *
Xulrunner Ubuntu intrepid *
Xulrunner Ubuntu jaunty *
Xulrunner-1.9 Ubuntu devel *
Xulrunner-1.9 Ubuntu gutsy *
Xulrunner-1.9 Ubuntu hardy *
Xulrunner-1.9 Ubuntu intrepid *
Xulrunner-1.9 Ubuntu jaunty *
Xulrunner-1.9.1 Ubuntu devel *
Xulrunner-1.9.1 Ubuntu jaunty *

Extended Description

If the pointer contains an uninitialized value, then the value might not point to a valid memory location. This could cause the product to read from or write to unexpected memory locations, leading to a denial of service. If the uninitialized pointer is used as a function call, then arbitrary functions could be invoked. If an attacker can influence the portion of uninitialized memory that is contained in the pointer, this weakness could be leveraged to execute code or perform other attacks. Depending on memory layout, associated memory management behaviors, and product operation, the attacker might be able to influence the contents of the uninitialized pointer, thus gaining more fine-grained control of the memory location to be accessed.

References