Home / Libgd / Libgd / CVE-2007-2756
CVE-2007-2756: is it exploited, and which versions of Libgd are affected and fixed?
CVE-2007-2756 is a vulnerability in Libgd. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 07:38 UTC). Affected: libgd 2.0.34 (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Medium (4.3, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 07:38 UTC, CVE record November 19, 2026, 07:21 UTC and NVD November 19, 2026, 08:52 UTC.
What is CVE-2007-2756?
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.
From the CVE record by mitre, last updated August 7, 2024, 13:49 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| libgd | libgd | 2.0.34 | application |
NVD analysis (status Modified), last modified June 16, 2026, 22:40 UTC.
How severe is CVE-2007-2756?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 4.3 | CVSS 2.0 | AV:N/AC:M/Au:N/C:N/I:N/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2007-2756 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 4.27% probability of exploitation activity in the next 30 days, percentile 91.3 (FIRST EPSS, scores of December 2, 2026)
Where are the vendor advisories and references?
- 26231 third-party-advisory, x_refsource_SECUNIA
- 36643 vdb-entry, x_refsource_OSVDB
- 1018187 vdb-entry, x_refsource_SECTRACK
- 29157 third-party-advisory, x_refsource_SECUNIA
- 25658 third-party-advisory, x_refsource_SECUNIA
- 27110 third-party-advisory, x_refsource_SECUNIA
- 25590 third-party-advisory, x_refsource_SECUNIA
- 26048 third-party-advisory, x_refsource_SECUNIA
- gd-gdpngreaddata-dos(34420) vdb-entry, x_refsource_XF
- 25362 third-party-advisory, x_refsource_SECUNIA
- OpenPKG-SA-2007.020 vendor-advisory, x_refsource_OPENPKG
- 25657 third-party-advisory, x_refsource_SECUNIA
- FEDORA-2007-709 vendor-advisory, x_refsource_FEDORA
- 25855 third-party-advisory, x_refsource_SECUNIA
- 26967 third-party-advisory, x_refsource_SECUNIA
- MDKSA-2007:122 vendor-advisory, x_refsource_MANDRIVA
- ADV-2007-2016 vdb-entry, x_refsource_VUPEN
- GLSA-200805-13 vendor-advisory, x_refsource_GENTOO
- GLSA-200710-02 vendor-advisory, x_refsource_GENTOO
- MDKSA-2007:123 vendor-advisory, x_refsource_MANDRIVA
- 24089 vdb-entry, x_refsource_BID
- http://www.libgd.org/ReleaseNote020035 x_refsource_CONFIRM
- GLSA-200708-05 vendor-advisory, x_refsource_GENTOO
- 30168 third-party-advisory, x_refsource_SECUNIA
- MDKSA-2007:124 vendor-advisory, x_refsource_MANDRIVA
- ADV-2007-1904 vdb-entry, x_refsource_VUPEN
- 26930 third-party-advisory, x_refsource_SECUNIA
- 35788 vdb-entry, x_refsource_OSVDB
- FEDORA-2007-2215 vendor-advisory, x_refsource_FEDORA
- ADV-2007-2336 vdb-entry, x_refsource_VUPEN
- RHSA-2007:0889 vendor-advisory, x_refsource_REDHAT
- 2007-0023 vendor-advisory, x_refsource_TRUSTIX
- 25353 third-party-advisory, x_refsource_SECUNIA
- ADV-2007-3386 vdb-entry, x_refsource_VUPEN
- http://bugs.libgd.org/?do=details&task_id=86 x_refsource_CONFIRM
- 2007-0019 vendor-advisory, x_refsource_TRUSTIX
- 27037 third-party-advisory, x_refsource_SECUNIA
- SUSE-SR:2007:013 vendor-advisory, x_refsource_SUSE
- 25378 third-party-advisory, x_refsource_SECUNIA
- 27545 third-party-advisory, x_refsource_SECUNIA
- GLSA-200711-34 vendor-advisory, x_refsource_GENTOO
- http://support.avaya.com/elmodocs2/security/ASA-2007-449.htm x_refsource_CONFIRM
- SSA:2007-152-01 vendor-advisory, x_refsource_SLACKWARE
- 25646 third-party-advisory, x_refsource_SECUNIA
- RHSA-2008:0146 vendor-advisory, x_refsource_REDHAT
- http://www.php.net/releases/5_2_3.php x_refsource_CONFIRM
- SSRT071447 vendor-advisory, x_refsource_HP
- https://issues.rpath.com/browse/RPL-1394 x_refsource_CONFIRM
- 25535 third-party-advisory, x_refsource_SECUNIA
- MDKSA-2007:187 vendor-advisory, x_refsource_MANDRIVA
- 27102 third-party-advisory, x_refsource_SECUNIA
- oval:org.mitre.oval:def:10779 vdb-entry, signature, x_refsource_OVAL
- 26895 third-party-advisory, x_refsource_SECUNIA
- 25787 third-party-advisory, x_refsource_SECUNIA
- 25575 third-party-advisory, x_refsource_SECUNIA
- RHSA-2007:0890 vendor-advisory, x_refsource_REDHAT
- ADV-2007-1905 vdb-entry, x_refsource_VUPEN
- 26390 third-party-advisory, x_refsource_SECUNIA
- RHSA-2007:0891 vendor-advisory, x_refsource_REDHAT
- USN-473-1 vendor-advisory, x_refsource_UBUNTU
When was it published, and where is the official record?
- Reserved
- May 18, 2007
- Published
- May 18, 2007, 18:00 UTC
- CVE record updated
- August 7, 2024, 13:49 UTC by mitre
- NVD
- Modified, last modified June 16, 2026, 22:40 UTC
- Last checked
- CVE list November 19, 2026, 07:21 UTC; NVD November 19, 2026, 08:52 UTC; KEV December 3, 2026, 07:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Libgd?
- Sep 8, 2021CVE-2021-40812 Libgd: out-of-bounds read
- Aug 26, 2021CVE-2021-40145 Libgd: double free disputed
- Aug 4, 2021CVE-2021-38115 Libgd: out-of-bounds read
- Feb 27, 2020CVE-2017-6363 Libgd: out-of-bounds read disputed
- Feb 11, 2020CVE-2018-14553 Libgd: NULL pointer dereference (crash)
- Jan 28, 2019CVE-2019-6978 Libgd: double free
- Jan 27, 2019CVE-2019-6977 Libgd: out-of-bounds write (memory corruption)
- Aug 20, 2018CVE-2018-1000222 Libgd: double free
Questions about CVE-2007-2756
Is CVE-2007-2756 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 07:38 UTC. FIRST's EPSS gives it a 4.27% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Libgd are affected by CVE-2007-2756?
libgd 2.0.34, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2007-2756?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2007-2756?
Medium (4.3, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2007-2756?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.