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 vect...
MediumCVSS 5.0
EPSS 2.6%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- Debian
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| libpng | < 1.0.42; >= 1.2.0, < 1.2.34 | 1.0.42, 1.2.34 | Fixed |
| debian linux | = 4.0; = 5.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| libpng | < 1.0.42 | 1.0.42 |
| libpng | >= 1.2.0, < 1.2.34 | 1.2.34 |
| debian linux | = 4.0 | No fix listed |
| debian linux | = 5.0 | No fix listed |
References
- libpng.sourceforge.net third-party-advisory
- SUSE-SR:2009:003 third-party-advisory vendor-advisory
- [oss-security] 20090109 libpng non issue mailing-list third-party-advisory
- 34320 third-party-advisory
- 34388 third-party-advisory
- GLSA-200903-28 third-party-advisory vendor-advisory
- [png-mng-implement] 20081126 Memory overwriting bug in png_check_keyword() mailing-list third-party-advisory
- DSA-1750 third-party-advisory vendor-advisory
- MDVSA-2009:051 third-party-advisory vendor-advisory
- libpng-pngcheckkeyword-memory-corruption(48128) third-party-advisory vdb-entry