CVE-2004-0597
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.
What to do
Likely to be exploited: EPSS gives a 82% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.
Fixed builds are available from Red Hat: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Red Hat Enterprise Linux 3 | libpng | Fixed | 2:1.2.2-25 | RHSA-2004:402 |
| Red Hat Enterprise Linux 3 | libpng-devel | Fixed | 2:1.2.2-25 | RHSA-2004:402 |
| Red Hat Enterprise Linux 3 | libpng10 | Fixed | 0:1.0.13-15 | RHSA-2004:402 |
| Red Hat Enterprise Linux 3 | libpng10-devel | Fixed | 0:1.0.13-15 | RHSA-2004:402 |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- http://www.trustix.net/errata/2004/0040/ (vendor-advisory)
- http://sunsolve.sun.com/search/document.do?assetkey=1-66-200663-1 (vendor-advisory)
- ftp://ftp.sco.com/pub/updates/OpenServer/SCOSA-2005.49/SCOSA-2005.49.txt (vendor-advisory)
- http://www.redhat.com/support/errata/RHSA-2004-421.html (vendor-advisory)
- http://www.redhat.com/support/errata/RHSA-2004-402.html (vendor-advisory)
- http://www.gentoo.org/security/en/glsa/glsa-200408-22.xml (vendor-advisory)
References
- 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
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.