CVE-2007-5266

Severity CVSS v4.0:
Pending analysis
Type:
CWE-189 Numeric Errors
Publication date:
08/10/2007
Last modified:
09/04/2025

Description

Off-by-one error in ICC profile chunk handling in the png_set_iCCP function in pngset.c in libpng before 1.0.29 beta1 and 1.2.x before 1.2.21 beta1 allows remote attackers to cause a denial of service (crash) via a crafted PNG image that prevents a name field from being NULL terminated.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:libpng:libpng:*:*:*:*:*:*:*:* 1.0.28 (including)
cpe:2.3:a:libpng:libpng:*:*:*:*:*:*:*:* 1.2.0 (including) 1.2.20 (including)


References to Advisories, Solutions, and Tools