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
- advisoryRHSA-2007:1027
- advisoryRHSA-2007:1030
- advisoryRHSA-2007:1031
- advisory26241
- advisory26901
- advisory26981
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| Product | Affected versions | Fixed in |
|---|---|---|
| PHPPHP | 5.2.3 | n/a |
| T1libT1lib | 5.1.1 | 5.0.2-3sarge1 |
| tetexredhat | See advisory | 0:2.0.2-22.0.1.EL4.10 |
| xpdfredhat | See advisory | 1: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
Publicly disclosed
Jul 26, 2007
Last updated
Mar 9, 2026
Weakness Type
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
References
- advisoryRHSA-2007:1027
- advisoryRHSA-2007:1030
- advisoryRHSA-2007:1031
- advisory26241
- advisory26901
FAQ
Common Questions.
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.
Affected: PHP versions 5.2.3; T1lib versions 5.1.1; tetex (redhat), among others. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
Public exploit code is available.
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.
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