7.5
CWE
NVD-CWE-Other 119
Advisory Published
Updated

CVE-2004-0768: Buffer Overflow

First published: Thu Aug 19 2004(Updated: )

libpng 1.2.5 and earlier does not properly calculate certain buffer offsets, which could allow remote attackers to execute arbitrary code via a buffer overflow attack.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
Greg Roelofs libpng=1.2.0
Greg Roelofs libpng=1.2.1
Greg Roelofs libpng=1.2.2
Greg Roelofs libpng=1.2.3
Greg Roelofs libpng=1.2.4
Greg Roelofs libpng=1.2.5

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.

Frequently Asked Questions

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

    CVE-2004-0768 is classified as a high severity vulnerability due to its potential to allow remote attackers to execute arbitrary code.

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

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

  • How do I fix CVE-2004-0768?

    To fix CVE-2004-0768, upgrade to libpng version 1.2.6 or later.

  • What type of attack is associated with CVE-2004-0768?

    CVE-2004-0768 is associated with buffer overflow attacks that can lead to arbitrary code execution.

  • Can CVE-2004-0768 be exploited remotely?

    Yes, CVE-2004-0768 can be exploited by remote attackers.

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