CVE-2007-1887

High

Description

Buffer overflow in the sqlite_decode_binary function in the bundled sqlite library in PHP 4 before 4.4.5 and PHP 5 before 5.2.1 allows context-dependent attackers to execute arbitrary code via an empty value of the in parameter, as demonstrated by calling the sqlite_udf_decode_binary function with a 0x01 character.

SeverityHigh
CVSS7.5
Exploit probability92. percentile4.8%
ProductPhp
PublishedApr 6, 2007
First seenApr 6, 2007
Weakness typeCWE-120CWE-120

How to fix

Update
  • php php4.4.5, 5.2.3 or later

Affected products

ProductAffected versionsFixed in
php php4.0 ≤ v < 4.4.5, 5.0.0 ≤ v < 5.2.34.4.5, 5.2.3
canonical ubuntu_linux6.06, 6.10, 7.04—
debian debian_linux4.0—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2007-1887 · Php · Dark Radar