CVE-2007-2756: Medium severity Libgd Libgd vulnerability

Published May 18, 2007
·
Updated

Description of problem: PHP 5.2.3 release: http://www.php.net/releases/523.php

Fixed possible infinite loop in imagecreatefrompng. (by Xavier Roche, CVE-2007-2756)

Other sources

The gdPngReadData function in libgd 2.0.34 allows user-assisted attackers to cause a denial of service (CPU consumption) via a crafted PNG image with truncated data, which causes an infinite loop in the pngreadinfo function in libpng.

Affected Software

5 affected componentsFixes available
Libgd Libgd=2.0.34
debian/libgd2<2.0.35.dfsg-1
2.0.35.dfsg-1
debian/libgd2<2.0.35.dfsg-1
2.0.35.dfsg-1
debian/libgd2<2.0.35.dfsg-1
2.0.35.dfsg-1
debian/libgd2
2.0.33-5.2etch12.0.35.dfsg-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/libgd2 to a version that resolves this vulnerability.

    Fixed in 2.0.35.dfsg-1
  2. Upgrade

    Upgrade debian/libgd2 to a version that resolves this vulnerability.

    Fixed in 2.0.33-5.2etch1Fixed in 2.0.35.dfsg-1
  3. Upgrade

    Upgrade PHP to a version that resolves this vulnerability.

    Fixed in 5.2.3

Event History

May 18, 2007
CVE Published
via MITRE·06:00 PM
CVE Published
06:30 PM
Data Sourced
06:30 PM
DescriptionWeaknessAffected Software
Data Sourced
via NVD·06:30 PM
RemedyDescriptionSeverityAffected Software
Data Sourced
via OSV·06:30 PM
DescriptionAffected Software
CVE Published
via MITRE·10:00 PM
Data Sourced
via MITRE·10:00 PM
Description
Jun 1, 2007
Data Sourced
via Red Hat·12:36 PM
DescriptionSeverityAffected Software
Oct 11, 2017
Data Sourced
01:32 AM
RemedySeverity

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2007-2756?

CVE-2007-2756 is classified as a denial of service vulnerability due to the possibility of causing high CPU consumption.

2

How do I fix CVE-2007-2756?

To fix CVE-2007-2756, upgrade to a version of libgd later than 2.0.34 that addresses this vulnerability.

3

What software is affected by CVE-2007-2756?

CVE-2007-2756 specifically affects libgd version 2.0.34.

4

Can CVE-2007-2756 be exploited remotely?

CVE-2007-2756 requires user assistance to exploit, typically through the opening or use of a crafted PNG image.

5

What are the implications of CVE-2007-2756 for web applications?

Web applications using vulnerable versions of libgd may experience performance issues due to potential infinite loops from processed images.

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