CVE-2007-3806 Memory corruption in n/a

Medium 6.8 Published Updated

Attackers can cause denial of service or execute arbitrary code via invalid flags in the PHP glob function due to memory corruption.

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-3806?

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

Official description

The glob function in PHP 5.2.3 allows context-dependent attackers to cause a denial of service and possibly execute arbitrary code via an invalid value of the flags parameter, probably related to memory corruption or an invalid read on win32 platforms, and possibly related to lack of initialization for a glob structure.

Weakness: CWE-399, CWE-20

Which versions are affected by CVE-2007-3806?

It affects 1 product.

Products include Php Php.

How do I fix CVE-2007-3806?

Upgrade to a fixed version.

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

Is CVE-2007-3806 being exploited?

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

Public exploit code: 1 Exploit-DB entry.

All Php Php vulnerabilities

Sources

Also known as GHSA-x5ff-24v2-wj9j.

Is CVE-2007-3806 in your software?

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

Check your SBOMs for free