CVE-2007-4033
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.
Severity
not scored
CVSS v3
not scored
Exploit chance (EPSS)
18.661%
chance of exploitation in the next 30 days
higher than 97.3% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 2
Metasploit modules: 0
Nuclei templates: 0
Exploit-DB: 2
Weakness
- CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer
Timeline
- 2007-07-26First Exploit-DB entry (EDB-ID 4227)1 day before publication
- 2007-07-27Published by the CNA22:00 UTC
Exploit and advisory records
| Exploit-DB | Type | Platform | Published | EDB-verified |
|---|---|---|---|---|
| EDB-ID 30401 | dos | php | 2007-07-26 | yes |
| EDB-ID 4227 | dos | windows | 2007-07-26 | yes |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| php php | 5.2.3no fix listed | not listed |
| t1lib t1lib | 5.1.1no fix listed | not listed |
References
- http://fedoranews.org/updates/FEDORA-2007-234.shtml
- http://secunia.com/advisories/26241
- http://secunia.com/advisories/26901
- http://secunia.com/advisories/26981
- http://secunia.com/advisories/26992
- http://secunia.com/advisories/27239
- http://secunia.com/advisories/27439
- http://secunia.com/advisories/27599
- http://secunia.com/advisories/27743
- http://security.gentoo.org/glsa/glsa-200710-12.xml
- http://security.gentoo.org/glsa/glsa-200711-34.xml
- http://security.gentoo.org/glsa/glsa-200805-13.xml
- http://www.debian.org/security/2007/dsa-1390
- http://www.mandriva.com/security/advisories?name=MDKSA-2007:189
- http://www.mandriva.com/security/advisories?name=MDKSA-2007:230
- http://www.novell.com/linux/security/advisories/2007_23_sr.html
- http://www.redhat.com/support/errata/RHSA-2007-1027.html
- http://www.redhat.com/support/errata/RHSA-2007-1030.html
- http://www.redhat.com/support/errata/RHSA-2007-1031.html
- http://www.ubuntu.com/usn/usn-515-1
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2007-4033'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2007-4033'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2007-4033'curl 'https://api.contrastcyber.com/cve_products/CVE-2007-4033'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).