CVE-2007-1887
HIGH 7.5CVSS 2.0Buffer 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.
- Published
- 6 Apr 2007
- Last modified
- 16 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-120
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | php | phpcpe:2.3:a:php:php:*:*:*:*:*:*:*:* |
>= 4.0, < 4.4.5 | 4.4.5 |
| NVD | php | phpcpe:2.3:a:php:php:*:*:*:*:*:*:*:* |
>= 5.0.0, < 5.2.3 | 5.2.3 |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:6.06:*:*:*:*:*:*:* |
= 6.06 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:6.10:*:*:*:*:*:*:* |
= 6.10 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:7.04:*:*:*:*:*:*:* |
= 7.04 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:4.0:*:*:*:*:*:*:* |
= 4.0 |
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.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_1.php · Release Notes, 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%3Adef%3A5348 · Third Party Advisory
- https://www.redhat.com/archives/fedora-package-announce/2007-September/msg00397.html · Mailing List, Third Party Advisory
History
- 25 Nov 2026 20:13 UTC · NVD: first stored (published 6 Apr 2007)