CWE
119
Advisory Published
Updated

CVE-2011-0408: Buffer Overflow

First published: Tue Jan 18 2011(Updated: )

pngrtran.c in libpng 1.5.x before 1.5.1 allows remote attackers to cause a denial of service (application crash) or possibly execute arbitrary code via a crafted palette-based PNG image that triggers a buffer overflow, related to the png_do_expand_palette function, the png_do_rgb_to_gray function, and an integer underflow. NOTE: some of these details are obtained from third party information.

Credit: cret@cert.org

Affected SoftwareAffected VersionHow to fix
Libp2p=1.5.0

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-2011-0408?

    CVE-2011-0408 is rated as a high severity vulnerability due to its potential to cause denial of service and arbitrary code execution.

  • How do I fix CVE-2011-0408?

    To fix CVE-2011-0408, upgrade to libpng version 1.5.1 or later.

  • What types of attacks can CVE-2011-0408 enable?

    CVE-2011-0408 can enable remote attackers to crash applications or execute malicious code through specially crafted PNG images.

  • Which versions of libpng are affected by CVE-2011-0408?

    CVE-2011-0408 affects libpng version 1.5.0 and earlier versions.

  • Where in the libpng code is the vulnerability located in CVE-2011-0408?

    The vulnerability in CVE-2011-0408 is located in the pngrtran.c file, specifically in the png_do_expand_palette and png_do_rgb_to_gray functions.

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