All vulnerabilities

Servers and applications

CVE-2007-1887

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.

Severity
High 7.5
Published
6 Apr 2007
Last changed
16 Jun 2026
Added to UpHeron
14 Oct 2026
Fixed in
4.4.5, 5.2.3
Exploit chance
4.8% in the next 30 daysHigher than 92% of CVEs. EPSS by FIRST, 12 Nov 2026
Weakness
Buffer overflow (CWE-120)
Attack
Over the network · No login needed
Attacker can
Read some data · Change some data · Slow it down
CVSS vector
AV:N/AC:L/Au:N/C:P/I:P/A:P
Sources
NVD

Affected software

SoftwareAffected versions
PHPServers and applications · cpe:a:php:php
  • From 4.0 before 4.4.5
  • From 5.0.0 before 5.2.3

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2007-1887
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2007-1887