CVE-2008-5907
NVD-CWE-noinfoPublished: January 15, 2009· Updated: Jun 16, 2026
Official 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.
Technical Analysis
CVE-2008-5907 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.
Exploitation requires some privileges, which limits the exposure to scenarios where an attacker has already gained initial access.
CVSS v3.1 Vector Breakdown
Affected Vendors & Products
Exploit & PoC Resources
Official Patches & Advisories
All References (20)
Quick Facts
Related CVEs (NVD-CWE-noinfo)
Recommended Actions
- →Apply vendor patches immediately
- →Monitor CVE-2008-5907 in threat intel feeds
- →Review IDS/IPS signatures for exploitation attempts