CVE-2008-5907

Summary

CVECVE-2008-5907
StatePUBLISHED
Assignermitre
Source PriorityCVE Program / NVD first with legacy fallback
Published2009-01-15 17:30:00 UTC
Updated2026-04-23 00:35:47 UTC
DescriptionThe 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.

Risk And Classification

Primary CVSS: v2.0 5 from [email protected]

AV:N/AC:L/Au:N/C:N/I:P/A:N

Problem Types: NVD-CWE-noinfo | n/a

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Low
Authentication
None
Confidentiality
None
Integrity
Partial
Availability
None

AV:N/AC:L/Au:N/C:N/I:P/A:N

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Libpng Libpng All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
IBM X-Force Exchange af854a3a-2127-422b-91ae-364da2661108 exchange.xforce.ibmcloud.com Third Party Advisory, VDB Entry
Debian -- Security Information -- DSA-1750-1 libpng af854a3a-2127-422b-91ae-364da2661108 www.debian.org Third Party Advisory
LIBPNG af854a3a-2127-422b-91ae-364da2661108 libpng.sourceforge.net Third Party Advisory
Gentoo Linux Documentation -- libpng: Multiple vulnerabilities af854a3a-2127-422b-91ae-364da2661108 security.gentoo.org Third Party Advisory
[security-announce] SUSE Security Summary Report: SUSE-SR:2009:003 af854a3a-2127-422b-91ae-364da2661108 lists.opensuse.org Third Party Advisory
Advisories | Mandriva af854a3a-2127-422b-91ae-364da2661108 www.mandriva.com Third Party Advisory
Gentoo update for libpng - Advisories - Community af854a3a-2127-422b-91ae-364da2661108 secunia.com Third Party Advisory
Debian update for libpng - Secunia Advisories - Vulnerability Information - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com Third Party Advisory
oss-security - libpng non issue af854a3a-2127-422b-91ae-364da2661108 openwall.com Mailing List, Third Party Advisory
PNG and MNG/JNG image formats: home site / Thread: [png-mng-implement] Memory overwriting bug in png_check_keyword() af854a3a-2127-422b-91ae-364da2661108 sourceforge.net Third Party Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

OrganizationPublishedContributorStatement
Red Hat2009-02-11Joshua BressersRed 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

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report