Skip to content
OpenAdvisories
Unscored Public exploit CVE-2007-4033 EUVD-2007-4017GHSA-5vjf-7425-428p

Buffer overflow in the intT1_EnvGetCompletePath function in lib/t1lib/t1env.c in t1lib 5.1.1 allows context-dependent attackers to execute …

Published Jul 27, 2007 · Updated Aug 7, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 4.0 t1lib 5.1.0-2etch1 DSA-1390-1
Debian 3.1 t1lib 5.0.2-3sarge1 DSA-1390-1
ReleasePackageFixed inAdvisory
RHEL 5 tetex +6 3.0-33.2.el5_1.2 RHSA-2007:1027
RHEL 4 tetex +6 2.0.2-22.0.1.EL4.10 RHSA-2007:1027
RHEL 3 xpdf 1:2.02-11.el3 RHSA-2007:1030
RHEL 2 xpdf 1:0.92-19.el2 RHSA-2007:1031

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 2

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 4

References