CVE-2007-5267: Libpng

Medium severity, CVSS 4.3. EPSS: 2% chance of exploitation in the next 30 days.

Off-by-one error in ICC profile chunk handling in the png_set_iCCP function in pngset.c in libpng before 1.2.22 beta1 allows remote attackers to cause a denial of service (crash) via a crafted PNG image, due to an incorrect fix for CVE-2007-5266.

Affected products

  • Libpng Libpng: up to and including 1.2.21

Published 2007-10-08. Last modified 2026-06-16.