CVE-2007-4033 Memory corruption in n/a

High 7.5 Published Updated

A buffer overflow in t1lib allows remote attackers to execute arbitrary code via a crafted FileName parameter, affecting applications using this library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2007-4033?

CVE-2007-4033 is a high-severity memory corruption vulnerability in Php Php, published on 27 Jul 2007. An attacker can exploit it over the internet without logging in, with no action from the victim.

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

Weakness: CWE-119

Which versions are affected by CVE-2007-4033?

It affects 2 products.

Products include Php Php, T1lib T1lib.

How do I fix CVE-2007-4033?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2007-4033 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2007-4033 exists.

Public exploit code: 2 Exploit-DB entries.

All Php Php vulnerabilities

Sources

Also known as DSA-1390-1, GHSA-5vjf-7425-428p.

Is CVE-2007-4033 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free