CVE-2007-1888
What it is
Buffer overflow in the sqlite_decode_binary function in src/encode.c in SQLite 2, as used by PHP 4.x through 5.x and other applications, allows context-dependent attackers to execute arbitrary code via an empty value of the in parameter. NOTE: some PHP installations use a bundled version of sqlite without this vulnerability. The SQLite developer has argued that this issue could be due to a misuse of the sqlite_decode_binary() API.
At a glance
- Exploitability
- Can be exploited over the network without logging in. Limited direct impact.
- Exploit odds
- 3.5% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 3.5% in the next 30 days (EPSS).
- Severity: 7.5 HIGH (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 3.5% · EPSS, next 30 days
- Record status
- Modified
Affected
- PHP 4.0
- PHP 4.0.0
- PHP 4.0.1
- PHP 4.0.2
- PHP 4.0.3
- PHP 4.0.4
- PHP 4.0.5
- PHP 4.0.6
Attack profile CVSS 2.0 · 7.5
- Attack vector
- Network
- Complexity
- Low
- Authentication
- None
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
Raw vector
AV:N/AC:L/Au:N/C:P/I:P/A:P
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2007-1888.md and follow it. Check whether this project is affected by CVE-2007-1888. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://www.php-security.org/MOPB/MOPB-41-2007.html
- http://www.php-security.org/MOPB/MOPB-41-2007.html
References
- http://osvdb.org/39177
- http://secunia.com/advisories/25057
- http://www.attrition.org/pipermail/vim/2007-April/001540.html
- http://www.mandriva.com/security/advisories?name=MDKSA-2007:091
- http://www.php-security.org/MOPB/MOPB-41-2007.html
- http://www.sqlite.org/cvstrac/rlog?f=sqlite/src/encode.c
- http://www.ubuntu.com/usn/usn-455-1
- https://exchange.xforce.ibmcloud.com/vulnerabilities/38518
- http://osvdb.org/39177
- http://secunia.com/advisories/25057
- http://www.attrition.org/pipermail/vim/2007-April/001540.html
- http://www.mandriva.com/security/advisories?name=MDKSA-2007:091
- http://www.php-security.org/MOPB/MOPB-41-2007.html
- http://www.sqlite.org/cvstrac/rlog?f=sqlite/src/encode.c
- http://www.ubuntu.com/usn/usn-455-1
- https://exchange.xforce.ibmcloud.com/vulnerabilities/38518