Skip to content
WatchlistHigh

CVE-2007-4033PHP Memory Corruption

t1lib font filename string overflow

Published Jul 26, 2007 · Updated Mar 9, 2026 · Also known as DEBIAN-CVE-2007-4033, DSA-1390-1

Key Facts

Patch immediately
  • CVE-2007-4033 is a high-severity vulnerability (CVSS 7.5 v2) affecting PHP, T1lib, tetex (redhat) and 1 more product.
  • It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
  • EPSS estimates a 23% probability of exploitation in the next 30 days.
  • Fixed versions are available, including T1lib 5.0.2-3sarge1, T1lib 5.1.0-2etch1, tetex 0:2.0.2-22.0.1.EL4.10.
  • Brandefense priority: patch immediately, because public exploit code exists for a high-severity flaw.

Scores

CVSS v2

7.5

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

EPSS (30-day exploit likelihood)

23%

Higher than 97.8% of all scored CVEs

Exploit maturity

Proof of concept

ATLAS score

44/100

Publication score, see How it works

Exploitation Verdict

KEV listed

Not listed

Federal due date

None

No federal due date

Ransomware use

Not reported

Attributed actors

None named

Exploit & Defence Guidance

Exploit maturity

Proof of concept

Public exploit code

2

Proof-of-concept links

In-the-wild evidence

1

Reports of active use

Advisories And Exploit References

Description

Buffer overflow in the intT1_EnvGetCompletePath function in lib/t1lib/t1env.c in t1lib 5.1.1 allows context-dependent attackers to execute arbitrary code via a long FileName parameter. NOTE: this issue was originally reported to be in the imagepsloadfont function in php_gd2.dll in the gd (PHP_GD2) extension in PHP 5.2.3.

Affected Products

7 affected entries in total
ProductAffected versionsFixed in
PHPPHP5.2.3n/a
T1libT1lib5.1.15.0.2-3sarge1
tetexredhatSee advisory0:2.0.2-22.0.1.EL4.10
xpdfredhatSee advisory1:0.92-19.el2

Patched Releases

T1lib

5.0.2-3sarge1, 5.1.0-2etch1

tetex

0:2.0.2-22.0.1.EL4.10, 0:3.0-33.2.el5_1.2

xpdf

1:0.92-19.el2, 1:2.02-11.el3

Timeline

  1. Publicly disclosed

    Jul 26, 2007

  2. Last updated

    Mar 9, 2026

Weakness Type

  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer

References

15 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2007-4033 On Your Attack Surface?

Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.

Request A Demo

Figures as of Dec 6, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.