CVE-2008-5907
publishedlibpng,libpng10: Zeroing value of an arbitrary memory location in utilities for writing PNG files
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Debian | etch | libpng | Advisory build | 1.2.15~beta5-1+etch2 | DSA-1750-1 |
| Debian | lenny | libpng | Advisory build | 1.2.27-2+lenny2 | DSA-1750-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
10- http://libpng.sourceforge.net/index.html
- SUSE-SR:2009:003 http://lists.opensuse.org/opensuse-security-announce/2009-02/msg00000.html
- [oss-security] 20090109 libpng non issue http://openwall.com/lists/oss-security/2009/01/09/1
- 34320 http://secunia.com/advisories/34320
- 34388 http://secunia.com/advisories/34388
- GLSA-200903-28 http://security.gentoo.org/glsa/glsa-200903-28.xml
- [png-mng-implement] 20081126 Memory overwriting bug in png_check_keyword() http://sourceforge.net/mailarchive/forum.php?thread_name=4B6F0239C13D0245820603C036D180BC79FBAA%40CABOTUKEXCH01.cabot.local&forum_name=png-mng-implement
- DSA-1750 http://www.debian.org/security/2009/dsa-1750
- MDVSA-2009:051 http://www.mandriva.com/security/advisories?name=MDVSA-2009:051
- libpng-pngcheckkeyword-memory-corruption(48128) https://exchange.xforce.ibmcloud.com/vulnerabilities/48128
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 5576f0d564428bd8ee31de24a13f83b7650952f4f2dce4bc0518094331b844c2
- Ingested
- 23 Sep 2026, 07:38:30 UTC
- Source record
- Official CVE record