Vulnerability in Libpng
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.
Published · last modified .
CVSS v2 metric
CVSS v2 base score 5.0 (Medium). Vector: AV:N/AC:L/Au:N/C:N/I:P/A:N. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.026, 85.3th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Libpng
- Debian Linux — versions 4.0, 5.0
References
- libpng.sourceforge.net/index.html (Third Party Advisory)
- GLSA-200903-28 (vendor-advisory, Third Party Advisory)
- libpng-pngcheckkeyword-memory-corruption(48128) (Third Party Advisory, VDB Entry, vdb-entry)
- SUSE-SR:2009:003 (vendor-advisory, Third Party Advisory)
- secunia.com/advisories/34388 (Third Party Advisory, third-party-advisory)
- DSA-1750 (vendor-advisory, Third Party Advisory)
- [oss-security] 20090109 libpng non issue (mailing-list, Mailing List, Third Party Advisory)
- MDVSA-2009:051 (vendor-advisory, Third Party Advisory)
- secunia.com/advisories/34320 (Third Party Advisory, third-party-advisory)
- [png-mng-implement] 20081126 Memory overwriting bug in png_check_keyword() (mailing-list, Third Party Advisory)