CWE
476
Advisory Published
CVE Published
Updated

CVE-2011-2691: Null Pointer Dereference

First published: Tue Jul 12 2011(Updated: )

It was found that in libpng, prior to 1.2.45, the error function received a NULL pointer, expressed erroneously as '\0', instead of the empty string "". This error was introduced in libpng-1.2.20, and png_default_error() will crash in this case. This was be fixed in libpng-1.5.4, libpng-1.4.8, libpng-1.2.45, and libpng-1.0.55. Patch: <a href="http://libpng.git.sourceforge.net/git/gitweb.cgi?p=libpng/libpng;a=commitdiff;h=9dad5e37aef295b4ef8dea39392b652deebc9261">http://libpng.git.sourceforge.net/git/gitweb.cgi?p=libpng/libpng;a=commitdiff;h=9dad5e37aef295b4ef8dea39392b652deebc9261</a>

Credit: secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
libp2p>=1.0.0<1.0.55
libp2p>=1.2.0<1.2.45
libp2p>=1.4.0<1.4.8
libp2p>=1.5.0<1.5.4
Fedora=14
Debian=5.0
Debian=6.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-2691?

    CVE-2011-2691 is classified as a high severity vulnerability due to the potential for crashes in applications using the affected versions of libpng.

  • How do I fix CVE-2011-2691?

    To fix CVE-2011-2691, upgrade to libpng version 1.5.4 or later, or version 1.4.8 or later.

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

    CVE-2011-2691 affects libpng versions from 1.0.0 up to 1.2.45, as well as certain versions in the 1.4.x and 1.5.x series.

  • What causes the vulnerability in CVE-2011-2691?

    The vulnerability in CVE-2011-2691 is caused by the error function receiving a NULL pointer, leading to application crashes.

  • Is my system vulnerable to CVE-2011-2691 if I use Fedora or Debian?

    Yes, certain versions of Fedora and Debian that include affected libpng versions are vulnerable to CVE-2011-2691.

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