Live threats

All CVEs / Libpng

CVE-2008-5907Libpng

Medium 5.0 No auth needed

Priority
45
CVSS 2.0
5.0
EPSS
2.6%
probability of exploitation in 30 days · percentile 86
Auth required
No
Published
Jan 15, 2009
Updated
Jun 16, 2026
Category
Application · Cross-platform
Vector
AV:N/AC:L/Au:N/C:N/I:P/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Libpng.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
libpnglibpng< 1.0.42
libpnglibpng≥ 1.2.0 < 1.2.34
debiandebian_linux4.0
debiandebian_linux5.0

Official sources

References

Links published by the sources. Open them with care.