Skip to content
Fencer Vulns
critical 10.0

CVE-2004-0597 in the critical feed json

Multiple buffer overflows in libpng 1.2.5 and earlier, as used in multiple products, allow remote attackers to execute arbitrary code via m…

published 2004-08-05 22 y ago modified 2026-06-16 4 mo ago also EUVD-2004-0596

cvss
10.0
version 2.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
81.9%
EPSS 81.9% chance of exploitation in 30 days, percentile 99.6%
public exploits
3
Exploit-DB

Summary

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.

Patch / fix

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2004-0597 updated

security flaw

  • Red Hat Desktop version 3 libpng 1.2.2-25, libpng10 1.0.13-15 Red Hat Enterprise Linux AS version 3 libpng 1.2.2-25, libpng10 1.0.13-15
    fixed: vendor fix RHSA-2004:402
  • Red Hat Enterprise Linux ES version 2.1
    fixed: vendor fix RHSA-2004:429
  • Red Hat Enterprise Linux ES version 3 libpng 1.2.2-25, libpng10 1.0.13-15
    fixed: vendor fix RHSA-2004:402
  • Red Hat Enterprise Linux WS version 2.1
    fixed: vendor fix RHSA-2004:429
  • Red Hat Enterprise Linux WS version 3 libpng 1.2.2-25, libpng10 1.0.13-15
    fixed: vendor fix RHSA-2004:402

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Timeline

  1. Published
  2. First public exploit (EDB-389)

Exploit prediction

81.86% chance of exploitation in the next 30 days, higher than 99.6% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • EDB-25094 Microsoft MSN Messenger 6.2.0137 - '.png' Remote Buffer Overflow remote, 2005-02-08
  • EDB-393 LibPNG 1.2.5 - 'png_jmpbuf()' Local Buffer Overflow local, 2004-08-13
  • EDB-389 LibPNG Graphics Library - Remote Buffer Overflow remote, 2004-08-11
  • securityfocus.com http://www.securityfocus.com/bid/10857 referenced PoC, tagged "exploit" by a source, unverified
  • scary.beasts.org http://scary.beasts.org/security/CESA-2004-001.txt referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 2.0 10.0 AV:N/AC:L/Au:N/C:C/I:C/A:C

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.