CWE
NVD-CWE-Other 119
Advisory Published
Updated

CVE-2004-0597: Buffer Overflow

First published: Thu Aug 05 2004(Updated: )

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.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
libpng<=1.2.5
Microsoft MSN Messenger=6.1
Microsoft MSN Messenger=6.2
Windows Media Player=9
Microsoft Windows Messenger=5.0
Microsoft Windows 98SE
Microsoft Windows Me

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Frequently Asked Questions

  • What is the severity of CVE-2004-0597?

    CVE-2004-0597 has a high severity rating due to multiple buffer overflow vulnerabilities that can lead to remote code execution.

  • How do I fix CVE-2004-0597?

    To fix CVE-2004-0597, upgrade libpng to version 1.2.6 or later, which addresses these vulnerabilities.

  • Which versions of libpng are affected by CVE-2004-0597?

    CVE-2004-0597 affects libpng versions 1.2.5 and earlier.

  • What kind of attacks can be executed via CVE-2004-0597?

    CVE-2004-0597 allows attackers to execute arbitrary code via malformed PNG images.

  • Which applications are impacted by CVE-2004-0597?

    Applications such as Microsoft MSN Messenger, Windows Media Player, and others using affected versions of libpng are impacted by CVE-2004-0597.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203