CVE-2004-0597
CVE-2004-0597 is a critical-severity vulnerability in Greg Roelofs Libpng with a CVSS 2.0 base score of 10.0. Its EPSS exploit-prediction score of 83% places it in the 100th percentile, indicating an elevated likelihood of exploitation.
Key facts
- Severity: Critical (CVSS 2.0 base score 10.0)
- EPSS exploit prediction: 83% (100th percentile)
- Actively exploited: Not listed in CISA KEV
- Affected product: Greg Roelofs Libpng
- Published:
- Last modified:
Description
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.
Frequently asked questions
- What is 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.
- How severe is CVE-2004-0597?
- CVE-2004-0597 has a CVSS 2.0 base score of 10.0, rated critical severity.
- Is CVE-2004-0597 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 83% (100th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2004-0597?
- CVE-2004-0597 primarily affects Greg Roelofs Libpng. In total, 7 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2004-0597?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
- When was CVE-2004-0597 published?
- CVE-2004-0597 was published on 2004-11-23 and last updated on 2026-06-16.
References
- ftp://ftp.sco.com/pub/updates/OpenServer/SCOSA-2005.49/SCOSA-2005.49.txt
- http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000856
- http://lists.apple.com/mhonarc/security-announce/msg00056.html
- http://marc.info/?l=bugtraq&m=109163866717909&w=2
- http://marc.info/?l=bugtraq&m=109181639602978&w=2
- http://marc.info/?l=bugtraq&m=109761239318458&w=2
- http://marc.info/?l=bugtraq&m=109900315219363&w=2
- http://marc.info/?l=bugtraq&m=110796779903455&w=2
- http://scary.beasts.org/security/CESA-2004-001.txt
- http://secunia.com/advisories/22957
- http://secunia.com/advisories/22958
- http://sunsolve.sun.com/search/document.do?assetkey=1-66-200663-1
- http://sunsolve.sun.com/search/document.do?assetkey=urn:cds:docid:1-21-114816-02-1
- http://www.adobe.com/support/downloads/detail.jsp?ftpID=2679
- http://www.coresecurity.com/common/showdoc.php?idx=421&idxseccion=10
- http://www.debian.org/security/2004/dsa-536
- http://www.gentoo.org/security/en/glsa/glsa-200408-03.xml
- http://www.gentoo.org/security/en/glsa/glsa-200408-22.xml
- http://www.kb.cert.org/vuls/id/388984
- http://www.kb.cert.org/vuls/id/817368
- http://www.mandriva.com/security/advisories?name=MDKSA-2004:079
- http://www.mandriva.com/security/advisories?name=MDKSA-2006:212
- http://www.mandriva.com/security/advisories?name=MDKSA-2006:213
- http://www.mozilla.org/projects/security/known-vulnerabilities.html
- http://www.novell.com/linux/security/advisories/2004_23_libpng.html
- http://www.redhat.com/support/errata/RHSA-2004-402.html
- http://www.redhat.com/support/errata/RHSA-2004-421.html
- http://www.redhat.com/support/errata/RHSA-2004-429.html
- http://www.securityfocus.com/bid/10857
- http://www.securityfocus.com/bid/15495
Affected products (7)
- cpe:2.3:a:greg_roelofs:libpng:*:*:*:*:*:*:*:*
- cpe:2.3:a:microsoft:msn_messenger:6.1:*:*:*:*:*:*:*
- cpe:2.3:a:microsoft:msn_messenger:6.2:*:*:*:*:*:*:*
- cpe:2.3:a:microsoft:windows_media_player:9:*:*:*:*:*:*:*
- cpe:2.3:a:microsoft:windows_messenger:5.0:*:*:*:*:*:*:*
- cpe:2.3:o:microsoft:windows_98se:*:*:*:*:*:*:*:*
- cpe:2.3:o:microsoft:windows_me:*:*:second_edition:*:*:*:*:*
More vulnerabilities in Greg Roelofs Libpng
- CVE-2006-3334 — High (CVSS 7.5): Buffer overflow in the png_decompress_chunk function in pngrutil.c in libpng before 1.2.12 allows context-dependent…
- CVE-2002-1363 — High (CVSS 7.5): Portable Network Graphics (PNG) library libpng 1.2.5 and earlier does not correctly calculate offsets, which allows…
- CVE-2002-0660 — High (CVSS 7.5): Buffer overflow in libpng 1.0.12-3.woody.2 and libpng3 1.2.1-1.1.woody.2 on Debian GNU/Linux 3.0, and other operating…
- CVE-2006-0481 — Medium (CVSS 5.0): Heap-based buffer overflow in the alpha strip capability in libpng 1.2.7 allows context-dependent attackers to cause a…
- CVE-2004-0598 — Medium (CVSS 5.0): The png_handle_iCCP function in libpng 1.2.5 and earlier allows remote attackers to cause a denial of service…
- CVE-2004-0599 — Medium (CVSS 5.0): Multiple integer overflows in the (1) png_read_png in pngread.c or (2) png_handle_sPLT functions in pngrutil.c or (3)…