Skip to content
Noroxi
CVE-2007-2756· NVD / CVE Program· CNA mitre

The gdPngReadData function in libgd 2.0.34 allows user-assisted attackers to cause a denial of service (CPU consumption) via a crafted PNG i

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 png_read_info function in libpng.

MediumCVSS 4.3 · v2.0—No exploit Fix available
Published
May 18, 2007
Updated
Jun 16, 2026
EPSS
4.3% · 91th percentile
CWE
—
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

18

Monitor

Low priority for now.

CVSS
17 / 40 · 4.3 / 10
CISA KEV
0 / 30 · Not listed
EPSS
1 / 30 · 4.3%

Affected systems

VendorProduct
libgdlibgd

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • libgd libgd2.0.34

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:12libgd2before 2.0.35.dfsg-12.0.35.dfsg-1
Debian:4.0libgd2before 2.0.33-5.2etch12.0.33-5.2etch1
openSUSE:Tumbleweedgdbefore 2.3.3-1.12.3.3-1.1
Red Hat:enterprise_linux:3::asphpbefore 0:4.3.2-43.ent0:4.3.2-43.ent
Red Hat:enterprise_linux:3::asphp-debuginfobefore 0:4.3.2-43.ent0:4.3.2-43.ent
Red Hat:enterprise_linux:3::asphp-develbefore 0:4.3.2-43.ent0:4.3.2-43.ent
Red Hat:enterprise_linux:3::asphp-imapbefore 0:4.3.2-43.ent0:4.3.2-43.ent
Red Hat:enterprise_linux:3::asphp-ldapbefore 0:4.3.2-43.ent0:4.3.2-43.ent
Red Hat:enterprise_linux:3::asphp-mysqlbefore 0:4.3.2-43.ent0:4.3.2-43.ent
Red Hat:enterprise_linux:3::asphp-odbcbefore 0:4.3.2-43.ent0:4.3.2-43.ent
Red Hat:enterprise_linux:3::asphp-pgsqlbefore 0:4.3.2-43.ent0:4.3.2-43.ent
Red Hat:enterprise_linux:4::asgdbefore 0:2.0.28-5.4E.el4_6.10:2.0.28-5.4E.el4_6.1
Red Hat:enterprise_linux:4::asgd-debuginfobefore 0:2.0.28-5.4E.el4_6.10:2.0.28-5.4E.el4_6.1
Red Hat:enterprise_linux:4::asgd-develbefore 0:2.0.28-5.4E.el4_6.10:2.0.28-5.4E.el4_6.1
Red Hat:enterprise_linux:4::asgd-progsbefore 0:2.0.28-5.4E.el4_6.10:2.0.28-5.4E.el4_6.1
Red Hat:enterprise_linux:4::asphpbefore 0:4.3.9-3.22.90:4.3.9-3.22.9
Red Hat:enterprise_linux:4::asphp-debuginfobefore 0:4.3.9-3.22.90:4.3.9-3.22.9
Red Hat:enterprise_linux:4::asphp-develbefore 0:4.3.9-3.22.90:4.3.9-3.22.9
Red Hat:enterprise_linux:4::asphp-domxmlbefore 0:4.3.9-3.22.90:4.3.9-3.22.9
Red Hat:enterprise_linux:4::asphp-gdbefore 0:4.3.9-3.22.90:4.3.9-3.22.9
Red Hat:enterprise_linux:4::asphp-imapbefore 0:4.3.9-3.22.90:4.3.9-3.22.9
Red Hat:enterprise_linux:4::asphp-ldapbefore 0:4.3.9-3.22.90:4.3.9-3.22.9
Red Hat:enterprise_linux:4::asphp-mbstringbefore 0:4.3.9-3.22.90:4.3.9-3.22.9
Red Hat:enterprise_linux:4::asphp-mysqlbefore 0:4.3.9-3.22.90:4.3.9-3.22.9

+50

Other highest-scoring records for the same primary product.

  • CVE-2019-6977gdImageColorMatch in gd_color_match.c in the GD Graphics Library (aka LibGD) 2.2.5, as used in the imagecolormatch function in PHP before 5.
    56Plan
  • CVE-2016-3074Integer signedness error in GD Graphics Library 2.1.1 (aka libgd or libgd2) allows remote attackers to cause a denial of service (crash) or
    50Plan
  • CVE-2016-10166Integer underflow in the _gdContributionsAlloc function in gd_interpolation.c in the GD Graphics Library (aka libgd) before 2.2.4 allows rem
    42Plan
  • CVE-2016-7568Integer overflow in the gdImageWebpCtx function in gd_webp.c in the GD Graphics Library (aka libgd) through 2.2.3, as used in PHP through 7.
    41Plan
  • CVE-2019-6978The GD Graphics Library (aka LibGD) 2.2.5 has a double free in the gdImage*Ptr() functions in gd_gif_out.c, gd_jpeg.c, and gd_wbmp.c.
    40Plan
  • CVE-2016-6912Double free vulnerability in the gdImageWebPtr function in the GD Graphics Library (aka libgd) before 2.2.4 allows remote attackers to have
    40Plan

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
debian:libgd22.0.35.dfsg-1 · Debian:12Package registry (OSV)
opensuse:gd2.3.3-1.1 · openSUSE:TumbleweedPackage registry (OSV)
red hat:php0:4.3.2-43.ent · Red Hat:enterprise_linux:3::asPackage registry (OSV)
red hat:php-debuginfo0:4.3.2-43.ent · Red Hat:enterprise_linux:3::asPackage registry (OSV)
red hat:php-devel0:4.3.2-43.ent · Red Hat:enterprise_linux:3::asPackage registry (OSV)
red hat:php-domxml0:4.3.9-3.22.9 · Red Hat:enterprise_linux:4::asPackage registry (OSV)
red hat:php-gd0:4.3.9-3.22.9 · Red Hat:enterprise_linux:4::asPackage registry (OSV)
red hat:php-imap0:4.3.2-43.ent · Red Hat:enterprise_linux:3::asPackage registry (OSV)
red hat:php-ldap0:4.3.2-43.ent · Red Hat:enterprise_linux:3::asPackage registry (OSV)
red hat:php-mbstring0:4.3.9-3.22.9 · Red Hat:enterprise_linux:4::asPackage registry (OSV)
red hat:php-mysql0:4.3.2-43.ent · Red Hat:enterprise_linux:3::asPackage registry (OSV)
red hat:php-ncurses0:4.3.9-3.22.9 · Red Hat:enterprise_linux:4::asPackage registry (OSV)
red hat:php-odbc0:4.3.2-43.ent · Red Hat:enterprise_linux:3::asPackage registry (OSV)
red hat:php-pgsql0:4.3.2-43.ent · Red Hat:enterprise_linux:3::asPackage registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

    If successful

    Confidentiality
    none
    Integrity
    none
    Availability
    P · the service can be disrupted
    Attack complexity
    M
    Confidentiality impact
    None
    Integrity impact
    None
    Availability impact
    P

    Weakness class (CWE)

    —

    CVSS vector

    AV:N/AC:M/Au:N/C:N/I:N/A:P

    nvd-primary

    Attack context

    MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

    MITRE has no CAPEC/ATT&CK mapping for this CWE.

    Noroxi analysis

    No Noroxi analysis for this record yet

    We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

    We use this product, ask for help

    Change log

    1. Fix✗ → ✓

    For records you follow, these changes also arrive as notifications. →

    References

    All records