CVE-2007-1887 Classic Buffer Overflow
No CVSS score yet. EPSS 4.8% estimated probability of exploitation activity in the next 30 days.
On this page
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.
- EPSS
- 4.8% (unchanged from 4.8% a week ago; 4.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 92nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
- CWE
- CWE-120 Buffer Copy without Checking Size of Input (Classic Buffer Overflow)
- Published
- Modified
- NVD analysis
- Analyzed, since modified
- Record from
- the NVD, synced
Fix and patched versions
- Debian: fixed package versions per release
- Vendor advisory: http://www.php-security.org/MOPB/MOPB-41-2007.html
- Vendor advisory: http://www.php.net/releases/5_2_1.php
- Vendor advisory: http://www.php.net/releases/5_2_3.php
Ask an AI about this CVE
Show the prompt
Explain CVE-2007-1887 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2007-1887?via=ask-ai-copy and https://cve.bz/cve/CVE-2007-1887?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2007-1887 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
Affected
Versions
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| php:php | from 4.0 before 4.4.5 |
| php:php | from 5.0.0 before 5.2.3 |
| canonical:ubuntu_linux | 6.06 |
| canonical:ubuntu_linux | 6.10 |
| canonical:ubuntu_linux | 7.04 |
| debian:debian_linux | 4.0 |
Linux distributions
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 4.0 | php5 | 5.2.0-8+etch3 | DSA-1283-1 |
| Debian | 5.0 | php5 | 5.2.0-10+lenny1 | DTSA-39-1 |
From the distributions' data via OSV.dev: the Debian Security Tracker. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian.
Attack patterns (CAPEC)
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-120 (13).
References
- http://www.php-security.org/MOPB/MOPB-41-2007.html
- http://www.php.net/releases/5_2_1.php
- http://www.php.net/releases/5_2_3.php
- http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c01178795
- http://secunia.com/advisories/24909
- http://secunia.com/advisories/25057
- http://secunia.com/advisories/25062
- http://secunia.com/advisories/27037
- http://secunia.com/advisories/27102
- http://secunia.com/advisories/27110
- http://www.debian.org/security/2007/dsa-1283
- http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml
- http://www.mandriva.com/security/advisories?name=MDKSA-2007:088
- http://www.mandriva.com/security/advisories?name=MDKSA-2007:089
- http://www.securityfocus.com/bid/23235
- http://www.ubuntu.com/usn/usn-455-1
- http://www.vupen.com/english/advisories/2007/2016
- http://www.vupen.com/english/advisories/2007/3386
- https://exchange.xforce.ibmcloud.com/vulnerabilities/33766
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A5348
- https://www.redhat.com/archives/fedora-package-announce/2007-September/msg00397.html