# CVE-2004-0597

- Priority: **Prioritise**
- Reason: Weaponized exploit (exploit-database, 08-02-2005)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2004-08-05 · Modified: 2024-08-08
- Record: https://cvemate.com/vulnerability/CVE-2004-0597 · JSON: https://cvemate.com/vulnerability/CVE-2004-0597/json

## Description

```text
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.
```

## Signals

- CVSS: 10 high (v2.0, NVD) AV:N/AC:L/Au:N/C:C/I:C/A:C
- EPSS: 88.083%, percentile 99.765%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 5 (reference, exploit-database)

## Affected

- greg\_roelofs libpng: ≤ 1.2.5
- microsoft msn\_messenger: 6.1 \| 6.2
- microsoft windows\_media\_player: 9
- microsoft windows\_messenger: 5.0

## References (first 20 of 41)

- <http://www.trustix.net/errata/2004/0040/>
- <http://sunsolve.sun.com/search/document.do?assetkey=1-66-200663-1>
- <https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A2274>
- <http://www.mozilla.org/projects/security/known-vulnerabilities.html>
- <http://www.redhat.com/support/errata/RHSA-2004-421.html>
- <http://www.redhat.com/support/errata/RHSA-2004-402.html>
- <http://www.gentoo.org/security/en/glsa/glsa-200408-22.xml>
- <http://secunia.com/advisories/22958>
- <http://sunsolve.sun.com/search/document.do?assetkey=urn:cds:docid:1-21-114816-02-1>
- <http://marc.info/?l=bugtraq&m=109900315219363&w=2>
- <https://bugzilla.fedora.us/show_bug.cgi?id=1943>
- <https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A594>
- <http://www.us-cert.gov/cas/techalerts/TA05-039A.html>
- <https://exchange.xforce.ibmcloud.com/vulnerabilities/16894>
- <http://marc.info/?l=bugtraq&m=109761239318458&w=2>
- <http://scary.beasts.org/security/CESA-2004-001.txt>
- <http://www.redhat.com/support/errata/RHSA-2004-429.html>
- <https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A2378>
- <http://www.securityfocus.com/bid/15495>
- <http://www.debian.org/security/2004/dsa-536>

---

Data as of 2026-12-05T13:08:09.294Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
