CVE-2007-5266

CVE-2007-5266 is a medium-severity vulnerability in Libpng with a CVSS 2.0 base score of 4.3. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-189.

Key facts

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.

Frequently asked questions

What is CVE-2007-5266?
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.
How severe is CVE-2007-5266?
CVE-2007-5266 has a CVSS 2.0 base score of 4.3, rated medium severity.
Is CVE-2007-5266 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 3% (87th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2007-5266?
CVE-2007-5266 affects Libpng. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2007-5266?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
When was CVE-2007-5266 published?
CVE-2007-5266 was published on 2007-10-08 and last updated on 2026-06-16.

References

Affected products (1)

More vulnerabilities in Libpng

All CVEs affecting Libpng →

Other CWE-189 (Numeric Errors) vulnerabilities

Browse all CWE-189 (Numeric Errors) vulnerabilities →