Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
7.5

CVE-2007-1887: PHP versions before 4.4.5 and 5.2.1 may let attackers run code

CVE-2007-1887 · published 19 years ago
Summary

If your website runs an older PHP version (earlier than 4.4.5 or 5.2.1), a flaw in the built‑in SQLite component could allow a remote user to make the server execute their own programs. This could give the attacker control over your system or data. Update PHP to a supported version or apply the security patches provided by your Linux distribution to eliminate the risk.

What to do

The CVE record does not list a fixed version. Check the vendor's site or the advisory links below - a fix may already be released.

Affected software
VendorProductAffected versions
php php >= 4.0, < 4.4.5
>= 5.0.0, < 5.2.3
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
canonical ubuntu_linux 6.06
6.10
7.04
cpe:2.3:o:canonical:ubuntu_linux:6.06:*:*:*:*:*:*:*
debian debian_linux 4.0
cpe:2.3:o:debian:debian_linux:4.0:*:*:*:*:*:*:*
Original advisory text
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 e...
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.
References
Fix within
Internet-facing 14 days
Internal 60 days
  • Not known to be exploited
  • Can be exploited automatically (estimated)
  • Gives an attacker partial control (estimated)
Severity
7.5 High
Exploitation
5% chance of attack within 30 days
Type
CWE-120Classic Buffer Overflow
Timeline
Published6 Apr 2007
Updated3 Nov 2026
First seen29 Sep 2026
Sources
CVE-2007-1887 · NVD
Track software like this
Free during beta