CVE-2004-0597

CVE-2004-0597 is a critical-severity vulnerability in Greg Roelofs Libpng with a CVSS 2.0 base score of 10.0. Its EPSS exploit-prediction score of 83% places it in the 100th percentile, indicating an elevated likelihood of exploitation.

Key facts

Description

Multiple buffer overflows in libpng 1.2.5 and earlier, as used in multiple products, allow remote attackers to execute arbitrary code via malformed PNG images in which (1) the png_handle_tRNS function does not properly validate the length of transparency chunk (tRNS) data, or the (2) png_handle_sBIT or (3) png_handle_hIST functions do not perform sufficient bounds checking.

Frequently asked questions

What is CVE-2004-0597?
Multiple buffer overflows in libpng 1.2.5 and earlier, as used in multiple products, allow remote attackers to execute arbitrary code via malformed PNG images in which (1) the png_handle_tRNS function does not properly validate the length of transparency chunk (tRNS) data, or the (2) png_handle_sBIT or (3) png_handle_hIST functions do not perform sufficient bounds checking.
How severe is CVE-2004-0597?
CVE-2004-0597 has a CVSS 2.0 base score of 10.0, rated critical severity.
Is CVE-2004-0597 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 83% (100th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2004-0597?
CVE-2004-0597 primarily affects Greg Roelofs Libpng. In total, 7 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
How do I fix CVE-2004-0597?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
When was CVE-2004-0597 published?
CVE-2004-0597 was published on 2004-11-23 and last updated on 2026-06-16.

References

Affected products (7)

More vulnerabilities in Greg Roelofs Libpng

All CVEs affecting Greg Roelofs Libpng →