CVE-2007-4033
CVE-2007-4033 is a high-severity vulnerability in Php with a CVSS 2.0 base score of 7.5. Its EPSS exploit-prediction score of 19% places it in the 97th percentile, indicating an elevated likelihood of exploitation. The underlying weakness is classified as CWE-119.
Key facts
- Severity: High (CVSS 2.0 base score 7.5)
- EPSS exploit prediction: 19% (97th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-119
- Affected product: Php
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2007-4033?
- 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.
- How severe is CVE-2007-4033?
- CVE-2007-4033 has a CVSS 2.0 base score of 7.5, rated high severity.
- Is CVE-2007-4033 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 19% (97th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2007-4033?
- CVE-2007-4033 primarily affects Php. In total, 2 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2007-4033?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2007-4033 published?
- CVE-2007-4033 was published on 2007-07-27 and last updated on 2026-06-16.
References
- http://bugs.gentoo.org/show_bug.cgi?id=193437
- 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/27297
- http://secunia.com/advisories/27439
- http://secunia.com/advisories/27599
- http://secunia.com/advisories/27718
- http://secunia.com/advisories/27743
- http://secunia.com/advisories/28345
- http://secunia.com/advisories/30168
- 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://wiki.rpath.com/wiki/Advisories:rPSA-2008-0007
- http://www.bugtraq.ir/adv/t1lib.txt
- 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.securityfocus.com/archive/1/480239/100/100/threaded
- http://www.securityfocus.com/archive/1/480244/100/100/threaded
- http://www.securityfocus.com/archive/1/485823/100/0/threaded
- http://www.securityfocus.com/archive/1/487984/100/0/threaded
Affected products (2)
- cpe:2.3:a:php:php:5.2.3:*:*:*:*:*:*:*
- cpe:2.3:a:t1lib:t1lib:5.1.1:*:*:*:*:*:*:*
More vulnerabilities in Php
- CVE-2015-0235 — Critical (CVSS 10.0): Heap-based buffer overflow in the __nss_hostname_digits_dots function in glibc 2.2, and other 2.x versions before 2.18,…
- CVE-2012-2688 — Critical (CVSS 10.0): Unspecified vulnerability in the _php_stream_scandir function in the stream implementation in PHP before 5.3.15 and…
- CVE-2012-2376 — Critical (CVSS 10.0): Buffer overflow in the com_print_typeinfo function in PHP 5.4.3 and earlier on Windows allows remote attackers to…
- CVE-2011-3268 — Critical (CVSS 10.0): Buffer overflow in the crypt function in PHP before 5.3.7 allows context-dependent attackers to have an unspecified…
- CVE-2009-4143 — Critical (CVSS 10.0): PHP before 5.2.12 does not properly handle session data, which has unspecified impact and attack vectors related to (1)…
- CVE-2008-5557 — Critical (CVSS 10.0): Heap-based buffer overflow in ext/mbstring/libmbfl/filters/mbfilter_htmlent.c in the mbstring extension in PHP 4.3.0…
Other CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer) vulnerabilities
- CVE-2026-2778 — Critical (CVSS 10.0): Sandbox escape due to incorrect boundary conditions in the DOM: Core & HTML component. This vulnerability was fixed in…
- CVE-2026-2776 — Critical (CVSS 10.0): Sandbox escape due to incorrect boundary conditions in the Telemetry component in External Software. This vulnerability…
- CVE-2025-1866 — Critical (CVSS 10.0): Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in warmcat libwebsockets allows…
- CVE-2022-27625 — Critical (CVSS 10.0): A vulnerability regarding improper restriction of operations within the bounds of a memory buffer is found in the…
- CVE-2022-27624 — Critical (CVSS 10.0): A vulnerability regarding improper restriction of operations within the bounds of a memory buffer is found in the…
- CVE-2020-11896 — Critical (CVSS 10.0): The Treck TCP/IP stack before 6.0.1.66 allows Remote Code Execution, related to IPv4 tunneling.