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…
Check your servers for CVE-2007-4033
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2007-4033 affects a package, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 23.0%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 98.2% of all scored CVEs. Scores of 28 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
n/a
n/a
|
affected all versions
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2007-4033 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2007-4033RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2007-4033Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2007-4033
trivy image --scanners vuln IMAGE | grep CVE-2007-4033
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- GLSA-200710-12 security.gentoo.org · vendor advisory
- 27743 secunia.com · third party advisory
- 26901 secunia.com · third party advisory
- FEDORA-2007-2343 fedoranews.org · vendor advisory
- DSA-1390 debian.org · vendor advisory
- 27297 secunia.com · third party advisory
- GLSA-200805-13 security.gentoo.org · vendor advisory
- http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0007 wiki.rpath.com
- FEDORA-2007-750 redhat.com · vendor advisory
- RHSA-2007:1031 redhat.com · vendor advisory
- MDKSA-2007:189 mandriva.com · vendor advisory
- 30168 secunia.com · third party advisory
17 more
- https://issues.rpath.com/browse/RPL-1972 issues.rpath.com
- 27239 secunia.com · third party advisory
- 26241 secunia.com · third party advisory
- 27718 secunia.com · third party advisory
- GLSA-200711-34 security.gentoo.org · vendor advisory
- 28345 secunia.com · third party advisory
- 27599 secunia.com · third party advisory
- USN-515-1 ubuntu.com · vendor advisory
- 27439 secunia.com · third party advisory
- FEDORA-2007-3390 redhat.com · vendor advisory
- 26981 secunia.com · third party advisory
- RHSA-2007:1027 redhat.com · vendor advisory
- RHSA-2007:1030 redhat.com · vendor advisory
- MDKSA-2007:230 mandriva.com · vendor advisory
- 26992 secunia.com · third party advisory
- http://bugs.gentoo.org/show_bug.cgi?id=193437 bugs.gentoo.org
- SUSE-SR:2007:023 novell.com · vendor advisory
Exploits and proof of concept
- 4227 exploit-db.com · exploit
Other references
- oval:org.mitre.oval:def:10557 oval.cisecurity.org · vdb entry, signature
- php-imagepsloadfont-bo(35620) exchange.xforce.ibmcloud.com · vdb entry
- 20070921 Re: [Full-disclosure] [USN-515-1] t1lib vulnerability securityfocus.com · mailing list
- 20080105 rPSA-2008-0007-1 tetex tetex-afm tetex-dvips tetex-fonts tetex-latex tetex-xdvi securityfocus.com · mailing list
- https://bugzilla.redhat.com/show_bug.cgi?id=303021 bugzilla.redhat.com
- 20070921 Re: [USN-515-1] t1lib vulnerability securityfocus.com · mailing list
- 25079 securityfocus.com · vdb entry
- http://www.bugtraq.ir/adv/t1lib.txt bugtraq.ir
- 1018905 securitytracker.com · vdb entry
- 20080212 FLEA-2008-0006-1 tetex tetex-dvips tetex-fonts securityfocus.com · mailing list
Source: the record CVE-2007-4033 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse