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

Array index error in gd_gif_in.c in the GD Graphics Library (libgd) before 2.0.35 allows user-assisted remote attackers to cause a denial of

Array index error in gd_gif_in.c in the GD Graphics Library (libgd) before 2.0.35 allows user-assisted remote attackers to cause a denial of service (crash and heap corruption) via large color index values in crafted image data, which results in a segmentation fault.

MediumCVSS 4.3 · v2.0—No exploit Fix available
Published
Jun 28, 2007
Updated
Jun 16, 2026
EPSS
2.5% · 84th percentile
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 · 2.5%

Affected systems

VendorProduct
gd graphics librarygdlib

Affected versions

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

  • gd graphics library gdlibup to 2.0.34 inclusive

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:12libwmfall versions—
Debian:12racketbefore 5.0.2-15.0.2-1
Debian:4.0libgd2before 2.0.33-5.2etch12.0.33-5.2etch1
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:5::clientgd-progsbefore 0:2.0.33-9.4.el5_1.10:2.0.33-9.4.el5_1.1
Red Hat:enterprise_linux:5::client_workstationgdbefore 0:2.0.33-9.4.el5_1.10:2.0.33-9.4.el5_1.1
Red Hat:enterprise_linux:5::client_workstationgd-debuginfobefore 0:2.0.33-9.4.el5_1.10:2.0.33-9.4.el5_1.1
Red Hat:enterprise_linux:5::client_workstationgd-develbefore 0:2.0.33-9.4.el5_1.10:2.0.33-9.4.el5_1.1

Other highest-scoring records for the same primary product.

  • CVE-2004-0990Integer overflow in GD Graphics Library libgd 2.0.28 (libgd2), and possibly other versions, allows remote attackers to cause a denial of ser
    48Plan
  • CVE-2004-0941Multiple buffer overflows in the gd graphics library (libgd) 2.0.21 and earlier may allow remote attackers to execute arbitrary code via mal
    43Plan
  • CVE-2007-3475The GD Graphics Library (libgd) before 2.0.35 allows user-assisted remote attackers to cause a denial of service (crash) via a GIF image tha
    18Monitor
  • CVE-2007-3478Race condition in gdImageStringFTEx (gdft_draw_bitmap) in gdft.c in the GD Graphics Library (libgd) before 2.0.35 allows user-assisted remot
    18Monitor

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)
debian:racket5.0.2-1 · Debian:12Package registry (OSV)
red hat:gd0:2.0.28-5.4E.el4_6.1 · Red Hat:enterprise_linux:4::asPackage registry (OSV)
red hat:gd-debuginfo0:2.0.28-5.4E.el4_6.1 · Red Hat:enterprise_linux:4::asPackage registry (OSV)
red hat:gd-devel0:2.0.28-5.4E.el4_6.1 · Red Hat:enterprise_linux:4::asPackage registry (OSV)
red hat:gd-progs0:2.0.28-5.4E.el4_6.1 · Red Hat:enterprise_linux:4::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)

    CWE-189 · Numeric Errors

    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