CVE-2008-2051 Command injection in n/a

Critical 10.0 Published Updated

Incomplete multibyte character handling in PHP's escapeshellcmd function may allow command injection attacks.

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

What is CVE-2008-2051?

CVE-2008-2051 is a critical command injection vulnerability in Php Php, published on 5 May 2008.

Official description

The escapeshellcmd API function in PHP before 5.2.6 has unknown impact and context-dependent attack vectors related to "incomplete multibyte chars."

Which versions are affected by CVE-2008-2051?

It affects 1 product.

Products include Php Php.

How do I fix CVE-2008-2051?

Upgrade to a fixed version.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2008-2051 being exploited?

There is no known exploitation of CVE-2008-2051 in the wild and no public exploit code.

All Php Php vulnerabilities

Sources

Also known as GHSA-rgm3-vgw5-f2fw.

Is CVE-2008-2051 in your software?

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

Check your SBOMs for free