Skip to content
Fencer Vulns
medium 4.3

CVE-2007-2756 json

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

published 2007-05-18 19 y ago modified 2026-06-16 4 mo ago also EUVD-2007-2748

cvss
4.3
version 2.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
4.3%
EPSS 4.3% chance of exploitation in 30 days, percentile 91%
public exploits
0
none known

Summary

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.

Patch / fix

  • libgd2 Debian 14, Debian 13, Debian 12 2.0.35.dfsg-1

debian advisories DEBIAN-CVE-2007-2756

  • gd RHEL 4 2.0.28-5.4E.el4_6.1
  • gd RHEL 5 2.0.33-9.4.el5_1.1
  • gd-progs RHEL 4 2.0.28-5.4E.el4_6.1
  • gd-progs RHEL 5 2.0.33-9.4.el5_1.1
  • php RHEL 1 APPLICATION_STACK 5.1.6-3.el4s1.8
  • php-gd RHEL 1 APPLICATION_STACK 5.1.6-3.el4s1.8
  • php-cli RHEL 1 APPLICATION_STACK 5.1.6-3.el4s1.8
  • php-dba RHEL 1 APPLICATION_STACK 5.1.6-3.el4s1.8

red hat advisories RHSA-2008:0146RHSA-2007:0891RHSA-2007:0890RHSA-2007:0889

  • gd openSUSE Tumbleweed 2.3.3-1.1

opensuse advisories openSUSE-SU-2024:10777-1

  • libwmf Arch Linux 0.2.8.4-14

arch linux advisories AVG-16

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2007-2756 updated

gd / php-gd ImageCreateFromPng infinite loop caused by truncated PNG

  • Red Hat Enterprise Linux 4 libwmf Red Hat Enterprise Linux 5 libwmf Red Hat Enterprise Linux 6 libwmf, libwmf-lite
    affected: no fix planned “Will not fix”
  • Red Hat Application Stack v1 for Enterprise Linux AS (v.4) php 5.1.6-3.el4s1.8, php-gd 5.1.6-3.el4s1.8, php-cli 5.1.6-3.el4s1.8, php-dba 5.1.6-3.el4s1.8, php-pdo 5.1.6-3.el4s1.8, php-xml 5.1.6-3.el4s1.8, +12 more Red Hat Application Stack v1 for Enterprise Linux ES (v.4) php 5.1.6-3.el4s1.8, php-gd 5.1.6-3.el4s1.8, php-cli 5.1.6-3.el4s1.8, php-dba 5.1.6-3.el4s1.8, php-pdo 5.1.6-3.el4s1.8, php-xml 5.1.6-3.el4s1.8, +12 more
    fixed: vendor fix RHSA-2007:0891
  • Red Hat Desktop version 3 php 4.3.2-43.ent, php-imap 4.3.2-43.ent, php-ldap 4.3.2-43.ent, php-odbc 4.3.2-43.ent, php-mysql 4.3.2-43.ent, php-pgsql 4.3.2-43.ent
    fixed: vendor fix RHSA-2007:0889
  • Red Hat Enterprise Linux (v. 5 server) php 5.1.6-15.el5, php-gd 5.1.6-15.el5, php-cli 5.1.6-15.el5, php-dba 5.1.6-15.el5, php-pdo 5.1.6-15.el5, php-xml 5.1.6-15.el5, +14 more
    fixed: vendor fix RHSA-2008:0146
  • Red Hat Enterprise Linux AS version 3 php 4.3.2-43.ent, php-imap 4.3.2-43.ent, php-ldap 4.3.2-43.ent, php-odbc 4.3.2-43.ent, php-mysql 4.3.2-43.ent, php-pgsql 4.3.2-43.ent
    fixed: vendor fix RHSA-2007:0889
  • Red Hat Enterprise Linux AS version 4 php 4.3.9-3.22.9, php-gd 4.3.9-3.22.9, php-imap 4.3.9-3.22.9, php-ldap 4.3.9-3.22.9, php-odbc 4.3.9-3.22.9, php-pear 4.3.9-3.22.9, +9 more Red Hat Enterprise Linux Desktop (v. 5 client) gd 2.0.33-9.4.el5_1.1, gd-progs 2.0.33-9.4.el5_1.1 Red Hat Enterprise Linux Desktop version 4 php 4.3.9-3.22.9, php-gd 4.3.9-3.22.9, php-imap 4.3.9-3.22.9, php-ldap 4.3.9-3.22.9, php-odbc 4.3.9-3.22.9, php-pear 4.3.9-3.22.9, +9 more Red Hat Enterprise Linux Desktop Workstation (v. 5 client) php 5.1.6-15.el5, php-gd 5.1.6-15.el5, php-cli 5.1.6-15.el5, php-dba 5.1.6-15.el5, php-pdo 5.1.6-15.el5, php-xml 5.1.6-15.el5, +13 more
    fixed: vendor fix RHSA-2008:0146
  • Red Hat Enterprise Linux ES version 3 php 4.3.2-43.ent, php-imap 4.3.2-43.ent, php-ldap 4.3.2-43.ent, php-odbc 4.3.2-43.ent, php-mysql 4.3.2-43.ent, php-pgsql 4.3.2-43.ent
    fixed: vendor fix RHSA-2007:0889
  • Red Hat Enterprise Linux ES version 4 php 4.3.9-3.22.9, php-gd 4.3.9-3.22.9, php-imap 4.3.9-3.22.9, php-ldap 4.3.9-3.22.9, php-odbc 4.3.9-3.22.9, php-pear 4.3.9-3.22.9, +9 more
    fixed: vendor fix RHSA-2008:0146
show 2 more
  • Red Hat Enterprise Linux WS version 3 php 4.3.2-43.ent, php-imap 4.3.2-43.ent, php-ldap 4.3.2-43.ent, php-odbc 4.3.2-43.ent, php-mysql 4.3.2-43.ent, php-pgsql 4.3.2-43.ent
    fixed: vendor fix RHSA-2007:0889
  • Red Hat Enterprise Linux WS version 4 php 4.3.9-3.22.9, php-gd 4.3.9-3.22.9, php-imap 4.3.9-3.22.9, php-ldap 4.3.9-3.22.9, php-odbc 4.3.9-3.22.9, php-pear 4.3.9-3.22.9, +9 more
    fixed: vendor fix RHSA-2008:0146

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

4.27% chance of exploitation in the next 30 days, higher than 91% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 2.0 4.3 AV:N/AC:M/Au:N/C:N/I:N/A:P

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.