Skip to content
Noroxi
CVE-2007-0455· NVD / CVE Program· CNA redhat

Buffer overflow in the gdImageStringFTEx function in gdft.c in GD Graphics Library 2.0.33 and earlier allows remote attackers to cause a den

Buffer overflow in the gdImageStringFTEx function in gdft.c in GD Graphics Library 2.0.33 and earlier allows remote attackers to cause a denial of service (application crash) and possibly execute arbitrary code via a crafted string with a JIS encoded font.

HighCVSS 7.5 · v2.0—No exploit Fix available
Published
Jan 30, 2007
Updated
Jun 16, 2026
EPSS
12.0% · 96th 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

34

Monitor

Low priority for now.

CVSS
30 / 40 · 7.5 / 10
CISA KEV
0 / 30 · Not listed
EPSS
4 / 30 · 12.0%

Affected systems

VendorProduct
gd graphics library projectgd graphics library
phpphp
canonicalubuntu linux
fedoraprojectfedora
redhatenterprise linux desktop
redhatenterprise linux server
redhatenterprise linux workstation

Affected versions

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

  • php php4.4.0 and later · before 4.4.7

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.2etch22.0.33-5.2etch2
Debian:5.0libgd2before 2.0.36~rc1~dfsg-3+lenny12.0.36~rc1~dfsg-3+lenny1
Red Hat:enterprise_linux:3::asphpbefore 0:4.3.2-40.ent0:4.3.2-40.ent
Red Hat:enterprise_linux:3::asphp-debuginfobefore 0:4.3.2-40.ent0:4.3.2-40.ent
Red Hat:enterprise_linux:3::asphp-develbefore 0:4.3.2-40.ent0:4.3.2-40.ent
Red Hat:enterprise_linux:3::asphp-imapbefore 0:4.3.2-40.ent0:4.3.2-40.ent
Red Hat:enterprise_linux:3::asphp-ldapbefore 0:4.3.2-40.ent0:4.3.2-40.ent
Red Hat:enterprise_linux:3::asphp-mysqlbefore 0:4.3.2-40.ent0:4.3.2-40.ent
Red Hat:enterprise_linux:3::asphp-odbcbefore 0:4.3.2-40.ent0:4.3.2-40.ent
Red Hat:enterprise_linux:3::asphp-pgsqlbefore 0:4.3.2-40.ent0:4.3.2-40.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.40:4.3.9-3.22.4
Red Hat:enterprise_linux:4::asphp-debuginfobefore 0:4.3.9-3.22.40:4.3.9-3.22.4
Red Hat:enterprise_linux:4::asphp-develbefore 0:4.3.9-3.22.40:4.3.9-3.22.4
Red Hat:enterprise_linux:4::asphp-domxmlbefore 0:4.3.9-3.22.40:4.3.9-3.22.4
Red Hat:enterprise_linux:4::asphp-gdbefore 0:4.3.9-3.22.40:4.3.9-3.22.4
Red Hat:enterprise_linux:4::asphp-imapbefore 0:4.3.9-3.22.40:4.3.9-3.22.4
Red Hat:enterprise_linux:4::asphp-ldapbefore 0:4.3.9-3.22.40:4.3.9-3.22.4
Red Hat:enterprise_linux:4::asphp-mbstringbefore 0:4.3.9-3.22.40:4.3.9-3.22.4
Red Hat:enterprise_linux:4::asphp-mysqlbefore 0:4.3.9-3.22.40:4.3.9-3.22.4

+50

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)
red hat:php0:5.1.6-11.el5 · Red Hat:enterprise_linux:5::client_workstationPackage registry (OSV)
red hat:php-bcmath0:5.1.6-11.el5 · Red Hat:enterprise_linux:5::client_workstationPackage registry (OSV)
red hat:php-cli0:5.1.6-11.el5 · Red Hat:enterprise_linux:5::client_workstationPackage registry (OSV)
red hat:php-common0:5.1.6-11.el5 · Red Hat:enterprise_linux:5::client_workstationPackage registry (OSV)
red hat:php-dba0:5.1.6-11.el5 · Red Hat:enterprise_linux:5::client_workstationPackage registry (OSV)
red hat:php-debuginfo0:5.1.6-11.el5 · Red Hat:enterprise_linux:5::client_workstationPackage registry (OSV)
red hat:php-devel0:5.1.6-11.el5 · Red Hat:enterprise_linux:5::client_workstationPackage registry (OSV)
red hat:php-gd0:5.1.6-11.el5 · Red Hat:enterprise_linux:5::client_workstationPackage registry (OSV)
red hat:php-imap0:5.1.6-11.el5 · Red Hat:enterprise_linux:5::client_workstationPackage registry (OSV)
red hat:php-ldap0:5.1.6-11.el5 · Red Hat:enterprise_linux:5::client_workstationPackage registry (OSV)
red hat:php-mbstring0:5.1.6-11.el5 · Red Hat:enterprise_linux:5::client_workstationPackage registry (OSV)
red hat:php-mysql0:5.1.6-11.el5 · Red Hat:enterprise_linux:5::client_workstationPackage 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

  • No special conditions are required; it is repeatable.

If successful

Confidentiality
P · data can be read
Integrity
P · data or configuration can be modified
Availability
P · the service can be disrupted
Attack complexity
Low
Confidentiality impact
P
Integrity impact
P
Availability impact
P

CVSS vector

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

nvd-primary

Root cause

When data is copied, the source length is not compared with the size of the destination buffer. Excess data overwrites adjacent memory.

A representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.

Vulnerable

c
char buf[256];memcpy(buf, pkt->data, pkt->len);

Fixed

c
char buf[256];if (pkt->len > sizeof(buf)) {  return -EINVAL;}memcpy(buf, pkt->data, pkt->len);

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