CVE-2004-0597 Memory corruption in n/a

Critical 10.0 Published Updated

Remote attackers can execute arbitrary code by tricking users into opening malformed PNG images processed by vulnerable libpng versions.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2004-0597?

CVE-2004-0597 is a critical memory corruption vulnerability in Microsoft Windows 98se, published on 5 Aug 2004. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

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

Which versions are affected by CVE-2004-0597?

It affects 6 products.

Products include Greg Roelofs Libpng, Microsoft Msn Messenger, Microsoft Windows 98se, Microsoft Windows Me, Microsoft Windows Media Player, Microsoft Windows Messenger.

How do I fix CVE-2004-0597?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2004-0597 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2004-0597 exists.

Public exploit code: 3 Exploit-DB entries.

All Microsoft Windows 98se vulnerabilities

Sources

Also known as CVE-2004-0954, GHSA-pjf2-ggxp-rg8p.

Is CVE-2004-0597 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free