CVE-2008-5907
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.
Key facts
- CVSS score
- 5.0 (v2.0)
- Severity
- MEDIUM
- CVSS vector
AV:N/AC:L/Au:N/C:N/I:P/A:N- EPSS score
- 2.6% (85th percentile)
- In CISA KEV
- No
- In EU EUVD
- Yes (EUVD-2008-5877)
- Published
- January 15, 2009
- NVD last modified
- June 16, 2026
- Status
- Modified
EU Vulnerability Database (EUVD)
This vulnerability is also tracked by ENISA as EUVD-2008-5877 in the EU Vulnerability Database. Last updated in EUVD on August 7, 2024.
View on the EU Vulnerability DatabaseAffected products
- debian / debian linux
- debian / debian linux
- libpng / libpng
References
- http://libpng.sourceforge.net/index.html(Third Party Advisory)
- http://lists.opensuse.org/opensuse-security-announce/2009-02/msg00000.html(Third Party Advisory)
- http://openwall.com/lists/oss-security/2009/01/09/1(Mailing List, Third Party Advisory)
- http://secunia.com/advisories/34320(Third Party Advisory)
- http://secunia.com/advisories/34388(Third Party Advisory)
- http://security.gentoo.org/glsa/glsa-200903-28.xml(Third Party Advisory)
- http://sourceforge.net/mailarchive/forum.php?thread_name=4B6F0239C13D0245820603C036D180BC79FBAA%40CABOTUKEXCH01.cabot.local&forum_name=png-mng-implement(Third Party Advisory)
- http://www.debian.org/security/2009/dsa-1750(Third Party Advisory)
- http://www.mandriva.com/security/advisories?name=MDVSA-2009:051(Third Party Advisory)
- https://exchange.xforce.ibmcloud.com/vulnerabilities/48128(Third Party Advisory, VDB Entry)
Last updated September 17, 2026 · Source: NVD, CISA KEV, FIRST.org EPSS
Query CVEs from your AI assistant
The CVE/NVD Explorer brain answers CVE questions directly inside Claude, ChatGPT, or any MCP assistant — always up to date, no setup. Add it once and stop pasting advisories into chat.
Add the CVE brain