Skip to content
OpenAdvisories
Unscored CVE-2008-5907 EUVD-2008-5877GHSA-598m-m5h8-fc92

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 s…

Published Jan 15, 2009 · Updated Aug 7, 2024 · 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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 5.0 libpng 1.2.27-2+lenny2 DSA-1750-1
Debian 4.0 libpng 1.2.15~beta5-1+etch2 DSA-1750-1

Advisories 1

References