CVE-2008-5907

libpng,libpng10: Zeroing value of an arbitrary memory location in utilities for writing PNG files

Published Jan 15, 2009 CVSS 2.0 · 5.0 Medium EPSS 2.6% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-1750-1 New libpng packages fix several vulnerabilities
EUVD EUVD EUVD-2008-5877 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.
Ubuntu USN Ubuntu USN USN-730-1 libpng vulnerabilities
Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 7, 2024, 11:13 AM
Reserved
Jan 15, 2009, 12:00 AM
Status
Modified
Published
Jan 15, 2009, 5:30 PM
Modified
Jun 16, 2026, 11:01 PM
Severity
Low
Public date
Nov 26, 2008, 12:00 AM