Multiple buffer overflows in libpng 1.2.5 and earlier, as used in multiple products…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- Complete · Complete · Complete
- Fix status
- Fixed
Attack profile from CVSS 2.0 · NVD. Fix status from CNA and Red Hat.
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 7
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:greg_roelofs:libpng:*:*:*:*:*:*:*:* | up to 1.2.5 | Vulnerable | Greg Roelofs |
| cpe:2.3:a:microsoft:msn_messenger:6.1:*:*:*:*:*:*:* | 6.1 | Vulnerable | Microsoft |
| cpe:2.3:a:microsoft:msn_messenger:6.2:*:*:*:*:*:*:* | 6.2 | Vulnerable | Microsoft |
| cpe:2.3:a:microsoft:windows_media_player:9:*:*:*:*:*:*:* | 9 | Vulnerable | Microsoft |
| cpe:2.3:a:microsoft:windows_messenger:5.0:*:*:*:*:*:*:* | 5.0 | Vulnerable | Microsoft |
| cpe:2.3:o:microsoft:windows_98se:*:*:*:*:*:*:*:* | all versions | Vulnerable | Microsoft |
| cpe:2.3:o:microsoft:windows_me:*:*:second_edition:*:*:*:*:* | all versions | Vulnerable | Microsoft |
- cpe:2.3:a:greg_roelofs:libpng:*:*:*:*:*:*:*:* Versions up to 1.2.5 Vulnerable ·Greg Roelofs
- cpe:2.3:a:microsoft:msn_messenger:6.1:*:*:*:*:*:*:* Versions 6.1 Vulnerable ·Microsoft
- cpe:2.3:a:microsoft:msn_messenger:6.2:*:*:*:*:*:*:* Versions 6.2 Vulnerable ·Microsoft
- cpe:2.3:a:microsoft:windows_media_player:9:*:*:*:*:*:*:* Versions 9 Vulnerable ·Microsoft
- cpe:2.3:a:microsoft:windows_messenger:5.0:*:*:*:*:*:*:* Versions 5.0 Vulnerable ·Microsoft
- cpe:2.3:o:microsoft:windows_98se:*:*:*:*:*:*:*:* Versions all versions Vulnerable ·Microsoft
- cpe:2.3:o:microsoft:windows_me:*:*:second_edition:*:*:*:*:* Versions all versions Vulnerable ·Microsoft
Remediation
Red Hat 2 advisories
- RHSA-2004:429 Released 2004-08-18 · Red Hat rating CriticalNetscape security update
- Red Hat Enterprise Linux ES version 2.1
- Red Hat Enterprise Linux WS version 2.1
- RHSA-2004:402 Released 2004-08-04 · Red Hat rating Criticallibpng security update
- Red Hat Desktop version 3 libpng-2:1.2.2-25, libpng-2:1.2.2-25.i386, libpng-devel-2:1.2.2-25 +5
- Red Hat Enterprise Linux AS version 3 libpng-2:1.2.2-25, libpng-2:1.2.2-25.i386, libpng-2:1.2.2-25.ia64 +13
- Red Hat Enterprise Linux ES version 3 libpng-2:1.2.2-25, libpng-2:1.2.2-25.i386, libpng-2:1.2.2-25.ia64 +9
- Red Hat Enterprise Linux WS version 3 libpng-2:1.2.2-25, libpng-2:1.2.2-25.i386, libpng-2:1.2.2-25.ia64 +9
Vendor assessments
Red Hat
Red Hat rating: Critical. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Desktop version 3 | Fixed | RHSA-2004:402 |
| Red Hat Enterprise Linux AS version 3 | Fixed | RHSA-2004:402 |
| Red Hat Enterprise Linux ES version 2.1 | Fixed | RHSA-2004:429 |
| Red Hat Enterprise Linux ES version 3 | Fixed | RHSA-2004:402 |
| Red Hat Enterprise Linux WS version 2.1 | Fixed | RHSA-2004:429 |
| Red Hat Enterprise Linux WS version 3 | Fixed | RHSA-2004:402 |
Timeline
- 2026-10-02 Threatist record created from CVE-2004-0597
- 2026-10-03 Alias added: GHSA-pjf2-ggxp-rg8p
References
Patch 6
Advisory 18
Other 11
- oval:org.mitre.oval:def:2274
- http://www.mozilla.org/projects/security/known-vulnerabilities.html
- http://sunsolve.sun.com/search/document.do?assetkey=urn:cds:docid:1-21-114816-02-1
- oval:org.mitre.oval:def:594
- oval:org.mitre.oval:def:2378
- 20040804 [OpenPKG-SA-2004.035] OpenPKG Security Advisory (png)
- oval:org.mitre.oval:def:4492
- oval:org.mitre.oval:def:7709
- 20050209 MSN Messenger PNG Image Buffer Overflow Download Shellcoded Exploit
- http://www.coresecurity.com/common/showdoc.php?idx=421&idxseccion=10
- oval:org.mitre.oval:def:11284
Sources
- CVE-2004-0597 · CVE Program
- CVE-2004-0597 · NVD
- FIRST EPSS
- GHSA-pjf2-ggxp-rg8p · GitHub Advisory Database · CC BY 4.0
- CVE-2004-0597 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences