CVE-2004-0597

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.

Severity
not scored
CVSS v3
not scored
Exploit chance (EPSS)
81.856%
chance of exploitation in the next 30 days
higher than 99.7% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 2
Metasploit modules: 0
Nuclei templates: 0
Exploit-DB: 3

Timeline

  1. 2004-08-05Published by the CNA04:00 UTC
  2. 2004-08-11First Exploit-DB entry (EDB-ID 389)6 days after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

Exploit-DBTypePlatformPublishedEDB-verified
EDB-ID 25094remotewindows2005-02-08yes
EDB-ID 393locallinux2004-08-13yes
EDB-ID 389remotelinux2004-08-11yes

Affected products

VendorProduct
greg_roelofslibpng
microsoftmsn_messenger
microsoftwindows_98se
microsoftwindows_me
microsoftwindows_media_player
microsoftwindows_messenger

References

42 references in total; the first 20 are shown.

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources