CVE-2007-0455: Buffer Overflow

Published Jan 26, 2007
·
Updated

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.

Other sources

Kees Cook from Ubuntu reported a "off-the-end-of-string increment", which could theoretically lead ot a buffer overflow.

This flaw would only be exploitable if a JIS-encoded font is used when processing a special malicious string.

The issue here is that the NULL terminator is incremented, which could lead to unknown results during the processing of the malicious string.

Index: gdft.c =================================================================== RCS file: /repository/gd/libgd/gdft.c,v retrieving revision 1.28 diff -u -p -r1.28 gdft.c --- gdft.c 3 Jan 2007 21:21:21 -0000 1.28 +++ gdft.c 24 Jan 2007 23:00:55 -0000 @@ -1178,7 +1178,7 @@ fprintf(stderr,"dpi=%d,%d metricres=%d { ch = c & 0xFF; / don't extend sign / } - next++; + if (next) next++; } break; case gdFTEXBig5:

— Red Hat

Affected Software

13 affected components
Gd Graphics Library Project Gd Graphics Library<=2.0.33
PHP PHP>=4.4.0<4.4.7
Canonical Ubuntu Linux=7.04
Canonical Ubuntu Linux=6.10
Canonical Ubuntu Linux=6.06
Fedoraproject Fedora=13
Fedoraproject Fedora=14
redhat Enterprise Linux Desktop=3.0
redhat Enterprise Linux Desktop=4.0
redhat Enterprise Linux Server=4.0
redhat Enterprise Linux Workstation=4.0
redhat Enterprise Linux Workstation=3.0
redhat Enterprise Linux Server=3.0

Event History

Jan 26, 2007
Data Sourced
via Red Hat·05:44 PM
DescriptionSeverityAffected Software
Jan 30, 2007
CVE Published
via MITRE·05:00 PM
Data Sourced
via MITRE·05:00 PM
Description
Data Sourced
05:28 PM
DescriptionWeaknessAffected Software
Data Sourced
via NVD·05:28 PM
DescriptionSeverityWeaknessAffected Software
CVE Published
via MITRE·10:00 PM
Jul 21, 2022
Data Sourced
03:17 PM
Severity

Frequently Asked Questions

1

What is the severity of CVE-2007-0455?

CVE-2007-0455 has a severity rating that indicates it can lead to denial of service and potential arbitrary code execution.

2

How do I fix CVE-2007-0455?

To fix CVE-2007-0455, upgrade to GD Graphics Library version 2.0.34 or later.

3

Which systems are vulnerable to CVE-2007-0455?

Systems running GD Graphics Library versions 2.0.33 and earlier, as well as specific versions of PHP and various Linux distributions are vulnerable to CVE-2007-0455.

4

What type of attack does CVE-2007-0455 enable?

CVE-2007-0455 enables remote attackers to craft strings that may trigger a buffer overflow, causing application crashes.

5

Is CVE-2007-0455 specific to a certain programming language?

CVE-2007-0455 is primarily associated with the GD Graphics Library but can affect applications written in PHP that utilize this library.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203