Vulnerabilities · 2007 · Php
CVE-2007-1887
Php vulnerability
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.
Affected products
Php, Ubuntu Linux, Debian Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Php runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- www.php-security.org/MOPB/MOPB-41-2007.html · Vendor Advisory
- www.php.net/releases/5_2_1.php · Vendor Advisory
- www.php.net/releases/5_2_3.php · Vendor Advisory
- www.debian.org/security/2007/dsa-1283 · Third Party Advisory
- www.gentoo.org/security/en/glsa/glsa-200710-02.xml · Third Party Advisory
- www.securityfocus.com/bid/23235 · Third Party Advisory
- www.ubuntu.com/usn/usn-455-1 · Third Party Advisory
- exchange.xforce.ibmcloud.com/vulnerabilities/33766 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2007-1887
- cve.org/CVERecord?id=CVE-2007-1887
More vulnerabilities in Php products
CVE-2025-14180CVE-2025-14178CVE-2025-14177CVE-2025-6491CVE-2025-1861CVE-2025-1736CVE-2025-1735CVE-2025-1734All 740
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.