Back
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…
Medium5.0EPSS 2.6%
- Published
- Updated
- Reserved
- Assigned by
- mitre
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | Medium5.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
- EPSS (exploitation in 30 days)
- 2.6% · top 15% of all CVEs (3 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.0.
Weakness
- n/a
Affected products
n/a
- affected n/a
References (10)
- http://libpng.sourceforge.net/index.html (opens in a new tab)x_refsource_CONFIRMx_transferred
- GLSA-200903-28 (opens in a new tab)vendor-advisoryx_refsource_GENTOOx_transferred
- libpng-pngcheckkeyword-memory-corruption(48128) (opens in a new tab)vdb-entryx_refsource_XFx_transferred
- SUSE-SR:2009:003 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- 34388 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- DSA-1750 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- [oss-security] 20090109 libpng non issue (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- MDVSA-2009:051 (opens in a new tab)vendor-advisoryx_refsource_MANDRIVAx_transferred
- 34320 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- [png-mng-implement] 20081126 Memory overwriting bug in png_check_keyword() (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2008-5907)Record last updated .