National Vulnerability Database

National Vulnerability Database

National Vulnerability
Database

CVE-2008-5907 Detail

Description

The png_check_keyword function in pngwutil.c in libpng before 1.0.42, and 1.2.x before 1.2.34, might allow context-dependent attackers to set the value of an arbitrary memory location to zero via vectors involving creation of crafted PNG files with keywords, related to an implicit cast of the '\0' character constant to a NULL pointer. NOTE: some sources incorrectly report this as a double free vulnerability.

Source:  MITRE      Last Modified:  01/15/2009

Quick Info

CVE Dictionary Entry:
CVE-2008-5907
Original release date:
01/15/2009
Last revised:
08/07/2017
Source:
US-CERT/NIST

Impact

CVSS Severity (version 2.0):
CVSS v2 Base Score:
5.0 MEDIUM
Vector:
(AV:N/AC:L/Au:N/C:N/I:P/A:N) (legend)
Impact Subscore:
2.9
Exploitability Subscore:
10.0
CVSS Version 2 Metrics:
Access Vector:
Network exploitable
Access Complexity:
Low
Authentication:
Not required to exploit
Impact Type:
Allows unauthorized modification

Vendor Statements (disclaimer)

Official Statement from Red Hat (02/11/2009)

Red Hat does not consider this bug to be a security issue. For a more detailed explanation, please see the following bug: https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2008-5907

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.

Hyperlink Resource Type Source Name
http://libpng.sourceforge.net/index.html External Source CONFIRM http://libpng.sourceforge.net/index.html
http://lists.opensuse.org/opensuse-security-announce/2009-02/msg00000.html External Source SUSE SUSE-SR:2009:003
http://openwall.com/lists/oss-security/2009/01/09/1 External Source MLIST [oss-security] 20090109 libpng non issue
http://security.gentoo.org/glsa/glsa-200903-28.xml External Source GENTOO GLSA-200903-28
http://sourceforge.net/mailarchive/forum.php?thread_name=4B6F0239C13D0245820603C036D180BC79FBAA%40CABOTUKEXCH01.cabot.local&forum_name=png-mng-implement External Source MLIST [png-mng-implement] 20081126 Memory overwriting bug in png_check_keyword()
http://www.debian.org/security/2009/dsa-1750 External Source DEBIAN DSA-1750
http://www.mandriva.com/security/advisories?name=MDVSA-2009:051 External Source MANDRIVA MDVSA-2009:051
https://exchange.xforce.ibmcloud.com/vulnerabilities/48128 External Source XF libpng-pngcheckkeyword-memory-corruption(48128)

Technical Details

Vulnerability Type (View All)

Vulnerable software and versions Switch to CPE 2.2

Configuration 1
OR
cpe:2.3:a:libpng:libpng:1.0.10:*:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.0.10:beta1:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.0.10:rc1:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.0.11:*:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.0.11:beta1:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.0.11:beta2:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.0.11:beta3:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.0.11:rc1:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.0.12:*:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.0.12:beta1:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.0.12:rc1:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.0.13:*:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.0.14:*:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.0.15:*:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.0.15:rc1:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.0.15:rc2:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.0.15:rc3:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.0.16:*:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.0.17:*:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.0.18:*:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.0.19:*:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.0.19:rc1:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.0.19:rc2:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.0.19:rc3:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.0.19:rc5:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.0.20:*:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.0.21:*:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.0.21:rc1:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.0.21:rc2:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.0.22:*:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.0.22:rc1:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.0.23:*:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.0.23:rc1:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.0.23:rc2:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.0.23:rc3:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.0.23:rc4:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.0.23:rc5:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.0.24:*:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.0.24:rc1:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.0.25:*:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.0.25:rc1:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.0.25:rc2:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.0.26:*:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.0.27:*:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.0.27:rc1:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.0.27:rc2:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.0.27:rc3:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.0.27:rc4:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.0.27:rc5:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.0.27:rc6:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.0.28:*:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.0.28:rc2:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.0.28:rc3:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.0.28:rc4:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.0.28:rc5:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.0.28:rc6:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.0.29:*:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.0.29:beta1:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.0.29:rc1:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.0.29:rc2:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.0.29:rc3:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.0.30:*:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.0.30:rc1:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.0.31:*:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.0.32:*:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.0.33:*:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.0.34:*:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.0.35:*:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.0.37:*:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.0.38:*:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.0.39:*:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.0.40:*:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:*:*:*:*:*:*:*:*    versions up to (including) 1.0.41
cpe:2.3:a:libpng:libpng:1.2.0:*:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.2.0:beta1:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.2.0:beta2:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.2.0:beta3:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.2.0:beta4:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.2.0:beta5:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.2.0:rc1:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.2.1:*:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.2.1:beta1:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.2.1:beta2:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.2.1:beta3:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.2.1:beta4:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.2.1:rc1:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.2.1:rc2:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.2.2:*:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.2.2:beta1:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.2.2:beta2:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.2.2:beta3:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.2.2:beta4:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.2.2:beta5:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.2.2:beta6:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.2.2:rc1:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.2.3:*:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.2.3:rc1:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.2.3:rc2:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.2.3:rc3:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.2.3:rc4:*:*:*:*:*:*
cpe:2.3:a:libpng:libpng:1.2.3:rc5:*:*:*:*:*:*
Showing 100 of 315 CPEs, view all CPEs here.

Denotes Vulnerable Software
Are we missing a CPE here? Please let us know.

Change History 2 change records found - show changes