CVEvulnerability

CVE-2008-5907

5.0 MEDIUM Published 2009-01-15 Modified 2026-06-16 Official page ↗
Status
Modified
Published
2009-01-15
Last modified
2026-06-16
Assigner
[email protected]
CVSS 2.0 ([email protected])
5.0 MEDIUM — AV:N/AC:L/Au:N/C:N/I:P/A:N

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.

Affected configurations

• libpng libpng (< 1.0.42) • libpng libpng (>= 1.2.0 < 1.2.34) • debian debian linux 4.0 • debian debian linux 5.0

References