Menu

Star on GitHub · 3.2k

CVE-2004-0597

10.0 · HIGH

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 funct…

Published Nov 23, 2004greg_roelofsEPSS 81.86%

Overview

CVE-2004-0597 is a high-severity vulnerability affecting greg_roelofs libpng. It was published on November 23, 2004 and has a CVSS 2.0 base score of 10.0 (HIGH).

This vulnerability has a CVSS 2.0 base score of 10.0, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical 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.

Remediation

Check the references section for vendor advisories and patches from greg_roelofs. Update libpng to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected products

VendorProductVersionsStatus
greg_roelofslibpng0Affected

Frequently asked questions

What is CVE-2004-0597?

CVE-2004-0597 is a high-severity vulnerability affecting greg_roelofs libpng. It was published on November 23, 2004 and has a CVSS 2.0 base score of 10.0 (HIGH).

How severe is CVE-2004-0597?

This vulnerability has a CVSS 2.0 base score of 10.0, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2004-0597?

Check the references section for vendor advisories and patches from greg_roelofs. Update libpng to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2004-0597?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2004-0597 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related HIGH CVEs from 2004

View all