CVE-2004-0597Greg Roelofs Libpng
Critical 10.0 No auth neededHigh EPSS
Follow: this CVE · Greg Roelofs · Greg Roelofs Libpng We alert you by email or Slack (account required).
- Priority
- 84
- CVSS 2.0
- 10.0
- EPSS
- 88.1% probability of exploitation in 30 days · percentile 100
- Auth required
- No
- Published
- Nov 23, 2004
- Updated
- Jun 16, 2026
- Category
- Application · Cross-platform
- Vector
AV:N/AC:L/Au:N/C:C/I:C/A:C
What happens
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
- Apply the vendor's security update for Libpng.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| greg_roelofs | libpng | ≤ 1.2.5 |
| microsoft | msn_messenger | 6.1 |
| microsoft | msn_messenger | 6.2 |
| microsoft | windows_media_player | 9 |
| microsoft | windows_messenger | 5.0 |
| microsoft | windows_98se | all |
| microsoft | windows_me | all |
Official sources
References
Links published by the sources. Open them with care.
- distro.conectiva.com.br
- lists.apple.com
- marc.info
- marc.info
- marc.info
- marc.info
- marc.info
- scary.beasts.org Exploit Vendor Advisory
- secunia.com
- secunia.com
- sunsolve.sun.com
- sunsolve.sun.com
- www.adobe.com Patch
- www.coresecurity.com
- www.debian.org Patch Vendor Advisory
- www.gentoo.org Patch Vendor Advisory
- www.gentoo.org Patch Vendor Advisory
- www.kb.cert.org Third Party Advisory US Government Resource
- www.kb.cert.org Third Party Advisory US Government Resource
- www.mandriva.com
- www.mandriva.com
- www.mandriva.com
- www.mozilla.org
- www.novell.com Patch Vendor Advisory
- www.redhat.com
- www.redhat.com Vendor Advisory
- www.redhat.com Vendor Advisory
- www.securityfocus.com Exploit Patch Vendor Advisory
- www.securityfocus.com
- www.trustix.net Patch Vendor Advisory
- www.us-cert.gov Third Party Advisory US Government Resource
- www.us-cert.gov Third Party Advisory US Government Resource
- bugzilla.fedora.us
- docs.microsoft.com
- exchange.xforce.ibmcloud.com
- oval.cisecurity.org
- oval.cisecurity.org
- oval.cisecurity.org
- oval.cisecurity.org
- oval.cisecurity.org