CVE-2008-5907

Medium

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.

SeverityMedium
CVSS5.0
Exploit probability85. percentile2.6%
ProductLibpng
PublishedJan 15, 2009
First seenJan 15, 2009

How to fix

Update
  • libpng libpng1.0.42, 1.2.34 or later

Affected products

ProductAffected versionsFixed in
libpng libpngv < 1.0.42, 1.2.0 ≤ v < 1.2.341.0.42, 1.2.34
debian debian_linux4.0, 5.0—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.