cve.bz

CVE-2004-0597

no score yetExploitEPSS 82%Fix available

No CVSS score yet. EPSS 82% estimated probability of exploitation activity in the next 30 days.

On this page
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.
EPSS
82% (unchanged from 82% a week ago; 82% 30 days ago) estimated probability of exploitation activity in the next 30 days; 100th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2004-0597 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2004-0597?via=ask-ai-copy and https://cve.bz/cve/CVE-2004-0597?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2004-0597 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
greg_roelofs:libpngthrough 1.2.5
microsoft:msn_messenger6.1
microsoft:msn_messenger6.2
microsoft:windows_media_player9
microsoft:windows_messenger5.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian3.0libpng1.0.12-3.woody.7DSA-536
Debian3.0libpng31.2.1-1.1.woody.7DSA-536
Red Hatenterprise_linux:3::as, enterprise_linux:3::desktop, enterprise_linux:3::es and 1 morelibpng, libpng-devel, libpng-debuginfo2:1.2.2-25RHSA-2004:402
Red Hatenterprise_linux:3::as, enterprise_linux:3::desktop, enterprise_linux:3::es and 1 morelibpng10, libpng10-devel, libpng10-debuginfo0:1.0.13-15RHSA-2004:402

From the distributions' data via OSV.dev: the Debian Security Tracker; Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Red Hat.

Red Hat

Red Hat rates this Critical.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 3libpng-2:1.2.2-25Fixed 2004-08-04RHSA-2004:402
Red Hat Enterprise Linux 3libpng10-0:1.0.13-15Fixed 2004-08-04RHSA-2004:402
Red Hat Enterprise Linux ES version 2.1Fixed 2004-08-18RHSA-2004:429
Red Hat Enterprise Linux WS version 2.1Fixed 2004-08-18RHSA-2004:429

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2004-0597.

Public exploits

Detection rules

Ways to detect this CVE, not exploit code: the nuclei template that checks a system for it, and the Suricata and Snort rules that name it. A rule set may ship a rule turned off, so check yours by its sid.

References

Check your stackJSON