CVE-2011-2691: Null Pointer Dereference

Published 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 pngdefaulterror() 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: http://libpng.git.sourceforge.net/git/gitweb.cgi?p=libpng/libpng;a=commitdiff;h=9dad5e37aef295b4ef8dea39392b652deebc9261

Other sources

The pngerr function in pngerror.c in libpng 1.0.x before 1.0.55, 1.2.x before 1.2.45, 1.4.x before 1.4.8, and 1.5.x before 1.5.4 makes a function call using a NULL pointer argument instead of an empty-string argument, which allows remote attackers to cause a denial of service (application crash) via a crafted PNG image.

MITRE

Affected Software

7 affected components
libpng LIBPNG>=1.5.0<1.5.4
libpng LIBPNG>=1.4.0<1.4.8
libpng LIBPNG>=1.2.0<1.2.45
libpng LIBPNG>=1.0.0<1.0.55
Fedoraproject Fedora=14
Debian Debian Linux=5.0
Debian Debian Linux=6.0

Event History

Jul 12, 2011
Data Sourced
via Red Hat·09:13 AM
DescriptionSeverityAffected Software
Jul 17, 2011
CVE Published
via MITRE·08:00 PM
Data Sourced
via MITRE·08:00 PM
Description

Frequently Asked Questions

1

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.

2

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.

3

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.

4

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.

5

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203