CVE-2007-4033
Buffer overflow in the intT1_EnvGetCompletePath function in lib/t1lib/t1env.c in t1lib 5.1.1...
CVE-2007-4033 is a high vulnerability (CVSS 7.5) in Php, published July 27, 2007. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 18.7%, the 97th percentile. Fixed in t1lib 5.0.2-3sarge1.
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.
Exploit likelihood
What each source reports
NVD Score used
7.5
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.
- Record
CVE-2007-4033- CVSS 2.0
- 7.5 High
AV:N/AC:L/Au:N/C:P/I:P/A:P - Weakness
- CWE-119
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2007-4033- Updated
- 2026-11-02
EUVDEUVD-2007-4017 No score
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.
- Record
EUVD-2007-4017- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-5vjf-7425-428p No score
Buffer overflow in the intT1_EnvGetCompletePath function in lib/t1lib/t1env.c in t1lib 5.1.1...
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.
- Record
GHSA-5vjf-7425-428p- Weakness
- CWE-119
- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
t1libDebian:3.1 |
before 5.0.2-3sarge1, plus listed versions 5.0.2-3 |
5.0.2-3sarge1 |
t1libDebian:4.0 |
before 5.1.0-2etch1, plus listed versions 5.1.0-2 |
5.1.0-2etch1 |
tetexRed Hat:enterprise_linux:4::as |
before 0:2.0.2-22.0.1.EL4.10 | 0:2.0.2-22.0.1.EL4.10 |
tetex-afmRed Hat:enterprise_linux:4::as |
before 0:2.0.2-22.0.1.EL4.10 | 0:2.0.2-22.0.1.EL4.10 |
tetex-debuginfoRed Hat:enterprise_linux:4::as |
before 0:2.0.2-22.0.1.EL4.10 | 0:2.0.2-22.0.1.EL4.10 |
tetex-docRed Hat:enterprise_linux:4::as |
before 0:2.0.2-22.0.1.EL4.10 | 0:2.0.2-22.0.1.EL4.10 |
tetex-dvipsRed Hat:enterprise_linux:4::as |
before 0:2.0.2-22.0.1.EL4.10 | 0:2.0.2-22.0.1.EL4.10 |
tetex-fontsRed Hat:enterprise_linux:4::as |
before 0:2.0.2-22.0.1.EL4.10 | 0:2.0.2-22.0.1.EL4.10 |
tetex-latexRed Hat:enterprise_linux:4::as |
before 0:2.0.2-22.0.1.EL4.10 | 0:2.0.2-22.0.1.EL4.10 |
tetex-xdviRed Hat:enterprise_linux:4::as |
before 0:2.0.2-22.0.1.EL4.10 | 0:2.0.2-22.0.1.EL4.10 |
Show 52 moreShow less
| Package | Affected | Fixed |
|---|---|---|
tetexRed Hat:enterprise_linux:4::desktop |
before 0:2.0.2-22.0.1.EL4.10 | 0:2.0.2-22.0.1.EL4.10 |
tetex-afmRed Hat:enterprise_linux:4::desktop |
before 0:2.0.2-22.0.1.EL4.10 | 0:2.0.2-22.0.1.EL4.10 |
tetex-debuginfoRed Hat:enterprise_linux:4::desktop |
before 0:2.0.2-22.0.1.EL4.10 | 0:2.0.2-22.0.1.EL4.10 |
tetex-docRed Hat:enterprise_linux:4::desktop |
before 0:2.0.2-22.0.1.EL4.10 | 0:2.0.2-22.0.1.EL4.10 |
tetex-dvipsRed Hat:enterprise_linux:4::desktop |
before 0:2.0.2-22.0.1.EL4.10 | 0:2.0.2-22.0.1.EL4.10 |
tetex-fontsRed Hat:enterprise_linux:4::desktop |
before 0:2.0.2-22.0.1.EL4.10 | 0:2.0.2-22.0.1.EL4.10 |
tetex-latexRed Hat:enterprise_linux:4::desktop |
before 0:2.0.2-22.0.1.EL4.10 | 0:2.0.2-22.0.1.EL4.10 |
tetex-xdviRed Hat:enterprise_linux:4::desktop |
before 0:2.0.2-22.0.1.EL4.10 | 0:2.0.2-22.0.1.EL4.10 |
tetexRed Hat:enterprise_linux:4::es |
before 0:2.0.2-22.0.1.EL4.10 | 0:2.0.2-22.0.1.EL4.10 |
tetex-afmRed Hat:enterprise_linux:4::es |
before 0:2.0.2-22.0.1.EL4.10 | 0:2.0.2-22.0.1.EL4.10 |
tetex-debuginfoRed Hat:enterprise_linux:4::es |
before 0:2.0.2-22.0.1.EL4.10 | 0:2.0.2-22.0.1.EL4.10 |
tetex-docRed Hat:enterprise_linux:4::es |
before 0:2.0.2-22.0.1.EL4.10 | 0:2.0.2-22.0.1.EL4.10 |
tetex-dvipsRed Hat:enterprise_linux:4::es |
before 0:2.0.2-22.0.1.EL4.10 | 0:2.0.2-22.0.1.EL4.10 |
tetex-fontsRed Hat:enterprise_linux:4::es |
before 0:2.0.2-22.0.1.EL4.10 | 0:2.0.2-22.0.1.EL4.10 |
tetex-latexRed Hat:enterprise_linux:4::es |
before 0:2.0.2-22.0.1.EL4.10 | 0:2.0.2-22.0.1.EL4.10 |
tetex-xdviRed Hat:enterprise_linux:4::es |
before 0:2.0.2-22.0.1.EL4.10 | 0:2.0.2-22.0.1.EL4.10 |
tetexRed Hat:enterprise_linux:4::ws |
before 0:2.0.2-22.0.1.EL4.10 | 0:2.0.2-22.0.1.EL4.10 |
tetex-afmRed Hat:enterprise_linux:4::ws |
before 0:2.0.2-22.0.1.EL4.10 | 0:2.0.2-22.0.1.EL4.10 |
tetex-debuginfoRed Hat:enterprise_linux:4::ws |
before 0:2.0.2-22.0.1.EL4.10 | 0:2.0.2-22.0.1.EL4.10 |
tetex-docRed Hat:enterprise_linux:4::ws |
before 0:2.0.2-22.0.1.EL4.10 | 0:2.0.2-22.0.1.EL4.10 |
tetex-dvipsRed Hat:enterprise_linux:4::ws |
before 0:2.0.2-22.0.1.EL4.10 | 0:2.0.2-22.0.1.EL4.10 |
tetex-fontsRed Hat:enterprise_linux:4::ws |
before 0:2.0.2-22.0.1.EL4.10 | 0:2.0.2-22.0.1.EL4.10 |
tetex-latexRed Hat:enterprise_linux:4::ws |
before 0:2.0.2-22.0.1.EL4.10 | 0:2.0.2-22.0.1.EL4.10 |
tetex-xdviRed Hat:enterprise_linux:4::ws |
before 0:2.0.2-22.0.1.EL4.10 | 0:2.0.2-22.0.1.EL4.10 |
tetexRed Hat:enterprise_linux:5::client |
before 0:3.0-33.2.el5_1.2 | 0:3.0-33.2.el5_1.2 |
tetex-afmRed Hat:enterprise_linux:5::client |
before 0:3.0-33.2.el5_1.2 | 0:3.0-33.2.el5_1.2 |
tetex-debuginfoRed Hat:enterprise_linux:5::client |
before 0:3.0-33.2.el5_1.2 | 0:3.0-33.2.el5_1.2 |
tetex-docRed Hat:enterprise_linux:5::client |
before 0:3.0-33.2.el5_1.2 | 0:3.0-33.2.el5_1.2 |
tetex-dvipsRed Hat:enterprise_linux:5::client |
before 0:3.0-33.2.el5_1.2 | 0:3.0-33.2.el5_1.2 |
tetex-fontsRed Hat:enterprise_linux:5::client |
before 0:3.0-33.2.el5_1.2 | 0:3.0-33.2.el5_1.2 |
tetex-latexRed Hat:enterprise_linux:5::client |
before 0:3.0-33.2.el5_1.2 | 0:3.0-33.2.el5_1.2 |
tetex-xdviRed Hat:enterprise_linux:5::client |
before 0:3.0-33.2.el5_1.2 | 0:3.0-33.2.el5_1.2 |
tetexRed Hat:enterprise_linux:5::server |
before 0:3.0-33.2.el5_1.2 | 0:3.0-33.2.el5_1.2 |
tetex-afmRed Hat:enterprise_linux:5::server |
before 0:3.0-33.2.el5_1.2 | 0:3.0-33.2.el5_1.2 |
tetex-debuginfoRed Hat:enterprise_linux:5::server |
before 0:3.0-33.2.el5_1.2 | 0:3.0-33.2.el5_1.2 |
tetex-docRed Hat:enterprise_linux:5::server |
before 0:3.0-33.2.el5_1.2 | 0:3.0-33.2.el5_1.2 |
tetex-dvipsRed Hat:enterprise_linux:5::server |
before 0:3.0-33.2.el5_1.2 | 0:3.0-33.2.el5_1.2 |
tetex-fontsRed Hat:enterprise_linux:5::server |
before 0:3.0-33.2.el5_1.2 | 0:3.0-33.2.el5_1.2 |
tetex-latexRed Hat:enterprise_linux:5::server |
before 0:3.0-33.2.el5_1.2 | 0:3.0-33.2.el5_1.2 |
tetex-xdviRed Hat:enterprise_linux:5::server |
before 0:3.0-33.2.el5_1.2 | 0:3.0-33.2.el5_1.2 |
xpdfRed Hat:enterprise_linux:3::as |
before 1:2.02-11.el3 | 1:2.02-11.el3 |
xpdf-debuginfoRed Hat:enterprise_linux:3::as |
before 1:2.02-11.el3 | 1:2.02-11.el3 |
xpdfRed Hat:enterprise_linux:3::desktop |
before 1:2.02-11.el3 | 1:2.02-11.el3 |
xpdf-debuginfoRed Hat:enterprise_linux:3::desktop |
before 1:2.02-11.el3 | 1:2.02-11.el3 |
xpdfRed Hat:enterprise_linux:3::es |
before 1:2.02-11.el3 | 1:2.02-11.el3 |
xpdf-debuginfoRed Hat:enterprise_linux:3::es |
before 1:2.02-11.el3 | 1:2.02-11.el3 |
xpdfRed Hat:enterprise_linux:3::ws |
before 1:2.02-11.el3 | 1:2.02-11.el3 |
xpdf-debuginfoRed Hat:enterprise_linux:3::ws |
before 1:2.02-11.el3 | 1:2.02-11.el3 |
xpdfRed Hat:enterprise_linux:2.1::as |
before 1:0.92-19.el2 | 1:0.92-19.el2 |
xpdfRed Hat:enterprise_linux:2.1::aw |
before 1:0.92-19.el2 | 1:0.92-19.el2 |
xpdfRed Hat:enterprise_linux:2.1::es |
before 1:0.92-19.el2 | 1:0.92-19.el2 |
xpdfRed Hat:enterprise_linux:2.1::ws |
before 1:0.92-19.el2 | 1:0.92-19.el2 |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| Exploit-DB | T1lib - 'intT1_Env_GetCompletePath' Buffer Overflow (PoC) | 2007-07-26 |
| Exploit-DB | PHP 5.2.3 - 'PHP_gd2.dll' imagepsloadfont Local Buffer Overflow (PoC) | 2007-07-26 |
History
| When | Changed | Sources |
|---|---|---|
| 2026-11-03 | aliases | EUVD |
| 2026-11-02 | created | CVE List, Exploit-DB, GitHub Advisories, NVD, OSV |
References
security.gentoo.org/glsa/glsa-200710-12.xml
secunia.com/advisories/27743
secunia.com/advisories/26901
oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10557
exchange.xforce.ibmcloud.com/vulnerabilities/35620
fedoranews.org/updates/FEDORA-2007-234.shtml
Show 58 moreShow less
securityfocus.com/archive/1/480239/100/100/threaded
debian.org/security/2007/dsa-1390
secunia.com/advisories/27297
security.gentoo.org/glsa/glsa-200805-13.xml
securityfocus.com/archive/1/485823/100/0/threaded
wiki.rpath.com/wiki/Advisories:rPSA-2008-0007
bugzilla.redhat.com/show_bug.cgi?id=303021
redhat.com/archives/fedora-package-announce/2007-November/msg00724.html
redhat.com/support/errata/RHSA-2007-1031.html
mandriva.com/security/advisories?name=MDKSA-2007:189
exploit-db.com/exploits/4227
secunia.com/advisories/30168
issues.rpath.com/browse/RPL-1972
secunia.com/advisories/27239
secunia.com/advisories/26241
securityfocus.com/archive/1/480244/100/100/threaded
securityfocus.com/bid/25079
secunia.com/advisories/27718
bugtraq.ir/adv/t1lib.txt
security.gentoo.org/glsa/glsa-200711-34.xml
secunia.com/advisories/28345
secunia.com/advisories/27599
ubuntu.com/usn/usn-515-1
secunia.com/advisories/27439
securitytracker.com/id?1018905
redhat.com/archives/fedora-package-announce/2007-November/msg00663.html
secunia.com/advisories/26981
redhat.com/support/errata/RHSA-2007-1027.html
redhat.com/support/errata/RHSA-2007-1030.html
mandriva.com/security/advisories?name=MDKSA-2007:230
secunia.com/advisories/26992
bugs.gentoo.org/show_bug.cgi?id=193437
novell.com/linux/security/advisories/2007_23_sr.html
securityfocus.com/archive/1/487984/100/0/threaded
nvd.nist.gov/vuln/detail/CVE-2007-4033
github.com/advisories/GHSA-5vjf-7425-428p
access.redhat.com/errata/RHSA-2007:1027
redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=345101
bugzilla.redhat.com/show_bug.cgi?id=345111
bugzilla.redhat.com/show_bug.cgi?id=345121
bugzilla.redhat.com/show_bug.cgi?id=352271
security.access.redhat.com/data/csaf/v2/advisories/2007/rhsa-2007_1027.json
access.redhat.com/security/cve/CVE-2007-4033
cve.org/CVERecord?id=CVE-2007-4033
access.redhat.com/security/cve/CVE-2007-4352
cve.org/CVERecord?id=CVE-2007-4352
nvd.nist.gov/vuln/detail/CVE-2007-4352
access.redhat.com/security/cve/CVE-2007-5392
cve.org/CVERecord?id=CVE-2007-5392
nvd.nist.gov/vuln/detail/CVE-2007-5392
access.redhat.com/security/cve/CVE-2007-5393
cve.org/CVERecord?id=CVE-2007-5393
nvd.nist.gov/vuln/detail/CVE-2007-5393
access.redhat.com/errata/RHSA-2007:1030
security.access.redhat.com/data/csaf/v2/advisories/2007/rhsa-2007_1030.json
access.redhat.com/errata/RHSA-2007:1031
security.access.redhat.com/data/csaf/v2/advisories/2007/rhsa-2007_1031.json