CVE-2008-5907 json
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 s…
published 2009-01-15 17 y ago modified 2026-06-16 4 mo ago also EUVD-2008-5877
- cvss
- 5.0
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.6%
- EPSS 2.6% chance of exploitation in 30 days, percentile 85%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- libpng libpng 1.0.42, 1.2.34
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2008-5907 updated
libpng,libpng10: Zeroing value of an arbitrary memory location in utilities for writing PNG files
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.56% chance of exploitation in the next 30 days, higher than 85% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
References
-
security.gentoo.org
/glsa/glsa-200903-28.xml
vendor-advisory, third-party-advisory
-
lists.opensuse.org
/opensuse-security-announce/2009-02/msg00000.html
vendor-advisory, third-party-advisory
-
debian.org
/security/2009/dsa-1750
vendor-advisory, third-party-advisory
-
mandriva.com
/security/advisories?name=MDVSA-2009:051
vendor-advisory, third-party-advisory
-
libpng.sourceforge.net
/index.html
third-party-advisory
-
exchange.xforce.ibmcloud.com
/vulnerabilities/48128
vdb-entry, third-party-advisory
-
secunia.com
/advisories/34388
third-party-advisory
-
openwall.com
/lists/oss-security/2009/01/09/1
mailing-list, third-party-advisory
-
secunia.com
/advisories/34320
third-party-advisory
-
sourceforge.net
/mailarchive/forum.php?thread_name=4B6F0239C13D0245820603C036D180BC79FBAA%40CABOTUKEXCH01.cabot.local&forum_na
mailing-list, third-party-advisory
Sources
- CVE List CVE-2008-5907
- NVD CVE-2008-5907
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.