Every CVE Search/ Get API key

CVE-2004-0597

Multiple buffer overflows in libpng 1.2.5 and earlier, as used in multiple products, allow remote...

10.0 HighPublic exploitFix available

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.

Exploit likelihood

81.9%Up 17.9 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 10.0

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.

Record
CVE-2004-0597
CVSS 2.0
10.0 HighAV:N/AC:L/Au:N/C:C/I:C/A:C
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2004-0597
Updated
2026-11-02
EUVDEUVD-2004-0596 No score

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.

Record
EUVD-2004-0596
Updated
2026-11-03
GitHub AdvisoriesGHSA-pjf2-ggxp-rg8p No score

Multiple buffer overflows in libpng 1.2.5 and earlier, as used in multiple products, allow remote...

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.

Record
GHSA-pjf2-ggxp-rg8p
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
libpng
Debian:3.0
before 1.0.12-3.woody.7
1.0.12-3.woody.7
libpng3
Debian:3.0
before 1.2.1-1.1.woody.7
1.2.1-1.1.woody.7
libpng
Red Hat:enterprise_linux:3::as
before 2:1.2.2-25
2:1.2.2-25
libpng-debuginfo
Red Hat:enterprise_linux:3::as
before 2:1.2.2-25
2:1.2.2-25
libpng-devel
Red Hat:enterprise_linux:3::as
before 2:1.2.2-25
2:1.2.2-25
libpng10
Red Hat:enterprise_linux:3::as
before 0:1.0.13-15
0:1.0.13-15
libpng10-debuginfo
Red Hat:enterprise_linux:3::as
before 0:1.0.13-15
0:1.0.13-15
libpng10-devel
Red Hat:enterprise_linux:3::as
before 0:1.0.13-15
0:1.0.13-15
libpng
Red Hat:enterprise_linux:3::desktop
before 2:1.2.2-25
2:1.2.2-25
libpng-debuginfo
Red Hat:enterprise_linux:3::desktop
before 2:1.2.2-25
2:1.2.2-25
Show 16 moreShow less
Affected packages
PackageAffectedFixed
libpng-devel
Red Hat:enterprise_linux:3::desktop
before 2:1.2.2-25
2:1.2.2-25
libpng10
Red Hat:enterprise_linux:3::desktop
before 0:1.0.13-15
0:1.0.13-15
libpng10-debuginfo
Red Hat:enterprise_linux:3::desktop
before 0:1.0.13-15
0:1.0.13-15
libpng10-devel
Red Hat:enterprise_linux:3::desktop
before 0:1.0.13-15
0:1.0.13-15
libpng
Red Hat:enterprise_linux:3::es
before 2:1.2.2-25
2:1.2.2-25
libpng-debuginfo
Red Hat:enterprise_linux:3::es
before 2:1.2.2-25
2:1.2.2-25
libpng-devel
Red Hat:enterprise_linux:3::es
before 2:1.2.2-25
2:1.2.2-25
libpng10
Red Hat:enterprise_linux:3::es
before 0:1.0.13-15
0:1.0.13-15
libpng10-debuginfo
Red Hat:enterprise_linux:3::es
before 0:1.0.13-15
0:1.0.13-15
libpng10-devel
Red Hat:enterprise_linux:3::es
before 0:1.0.13-15
0:1.0.13-15
libpng
Red Hat:enterprise_linux:3::ws
before 2:1.2.2-25
2:1.2.2-25
libpng-debuginfo
Red Hat:enterprise_linux:3::ws
before 2:1.2.2-25
2:1.2.2-25
libpng-devel
Red Hat:enterprise_linux:3::ws
before 2:1.2.2-25
2:1.2.2-25
libpng10
Red Hat:enterprise_linux:3::ws
before 0:1.0.13-15
0:1.0.13-15
libpng10-debuginfo
Red Hat:enterprise_linux:3::ws
before 0:1.0.13-15
0:1.0.13-15
libpng10-devel
Red Hat:enterprise_linux:3::ws
before 0:1.0.13-15
0:1.0.13-15

Public exploits

Links only. Every CVE stores no exploit code.

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, Exploit-DB, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2004-0597 is a high vulnerability (CVSS 10.0) in Greg Roelofs Libpng, published August 4, 2004. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 81.9%, the 99th percentile. Fixed in libpng 1.0.12-3.woody.7.

References

Show 56 moreShow less
MoveEnter Open