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
| Vendor | Product | Affected 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
- http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c01178795 Broken Link
- http://secunia.com/advisories/24909 Not Applicable
- http://secunia.com/advisories/25057 Not Applicable
- http://secunia.com/advisories/25062 Not Applicable
- http://secunia.com/advisories/27037 Not Applicable
- http://secunia.com/advisories/27102 Not Applicable
- http://secunia.com/advisories/27110 Not Applicable
- http://www.debian.org/security/2007/dsa-1283 Third Party Advisory
- http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml Third Party Advisory
- http://www.php.net/releases/5_2_1.php Release Notes Vendor Advisory
- http://www.mandriva.com/security/advisories?name=MDKSA-2007:088 Broken Link
- http://www.mandriva.com/security/advisories?name=MDKSA-2007:089 Broken Link
- http://www.php-security.org/MOPB/MOPB-41-2007.html Broken Link Vendor Advisory
- http://www.php.net/releases/5_2_3.php Release Notes Vendor Advisory
- http://www.securityfocus.com/bid/23235 Third Party Advisory VDB Entry
- http://www.ubuntu.com/usn/usn-455-1 Third Party Advisory
- http://www.vupen.com/english/advisories/2007/2016 Permissions Required
- http://www.vupen.com/english/advisories/2007/3386 Permissions Required
- https://exchange.xforce.ibmcloud.com/vulnerabilities/33766 Third Party Advisory VDB Entry
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3... Third Party Advisory
- https://www.redhat.com/archives/fedora-package-announce/2007-September/msg00397.... Mailing List Third Party Advisory
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
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