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
Published Apr 6, 2007
7.5
HIGHCVSS 2.0
EPSS 3.49%
Description
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.
Affected products
No data.
- 4.0
- 4.0
- 4.0
- 4.0
- 4.0
- 4.0
- 4.0
- 4.0
- 4.0.0
- 4.0.1
- 4.0.1
- 4.0.1
- 4.0.2
- 4.0.3
- 4.0.3
- 4.0.4
- 4.0.4
- 4.0.5
- 4.0.6
- 4.0.7
- 4.0.7
- 4.0.7
- 4.0.7
- 4.1.0
- 4.1.1
- 4.1.2
- 4.2
- 4.2.0
- 4.2.1
- 4.2.2
- 4.2.3
- 4.3.0
- 4.3.1
- 4.3.2
- 4.3.3
- 4.3.4
- 4.3.5
- 4.3.6
- 4.3.7
- 4.3.8
- 4.3.9
- 4.3.10
- 4.3.11
- 4.4.0
- 4.4.1
- 4.4.2
- 4.4.3
- 4.4.4
- 4.4.5
- 4.4.6
- 5.0
- 5.0
- 5.0
- 5.0.0
- 5.0.0
- 5.0.0
- 5.0.0
- 5.0.0
- 5.0.0
- 5.0.0
- 5.0.0
- 5.0.1
- 5.0.2
- 5.0.3
- 5.0.4
- 5.0.5
- 5.1.0
- 5.1.1
- 5.1.2
- 5.1.3
- 5.1.4
- 5.1.5
- 5.1.6
- 5.2.0
- 5.2.1
- 5.4.0
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
Red Hat statement
Not vulnerable. These issues did not affect the versions of PHP as shipped with Red Hat Enterprise Linux 2.1, 3, 4, 5, Stronghold 4.0, or Red Hat Application Stack 1.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:N/AC:L/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (18 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 3.49% (0.03486) | 88.74th | v5 (v2026.06.15) |
| Jun 15, 2026 | 3.49% (0.03486) | 87.57th | v5 (v2026.06.15) |
| Dec 28, 2025 | 4.75% (0.04753) | 89.08th | v4 (v2025.03.14) |
| Dec 27, 2025 | 2.47% (0.02468) | 84.89th | v4 (v2025.03.14) |
| Dec 10, 2025 | 4.75% (0.04753) | 89.04th | v4 (v2025.03.14) |
| Nov 23, 2025 | 3.68% (0.03684) | 87.42th | v4 (v2025.03.14) |
| Mar 30, 2025 | 2.51% (0.02506) | 83.97th | v4 (v2025.03.14) |
| Mar 29, 2025 | 4.27% (0.04266) | 81.02th | v4 (v2025.03.14) |
| Mar 17, 2025 | 2.51% (0.02506) | 84.29th | v4 (v2025.03.14) |
| Dec 12, 2024 | 1.47% (0.01469) | 87.28th | v3 (v2023.03.01) |
| Dec 31, 2023 | 1.47% (0.01469) | 85.34th | v3 (v2023.03.01) |
| Nov 23, 2023 | 1.42% (0.01416) | 85.04th | v3 (v2023.03.01) |
| Sep 7, 2023 | 1.26% (0.01264) | 83.99th | v3 (v2023.03.01) |
| Apr 11, 2023 | 1.21% (0.01215) | 83.19th | v3 (v2023.03.01) |
| Mar 7, 2023 | 1.47% (0.01473) | 84.70th | v3 (v2023.03.01) |
| Mar 6, 2023 | 3.43% (0.03425) | 84.67th | v2 (v2022.01.01) |
| Apr 1, 2022 | 3.43% (0.03425) | 83.11th | v2 (v2022.01.01) |
| Feb 4, 2022 | 3.43% (0.03425) | 66.21th | v2 (v2022.01.01) |
No CWE recorded.
References (11)
- http://osvdb.org/39177 vdb-entryx_refsource_OSVDB
- http://secunia.com/advisories/25057 third-party-advisoryx_refsource_SECUNIA
- http://www.attrition.org/pipermail/vim/2007-April/001540.html mailing-listx_refsource_VIM
- http://www.mandriva.com/security/advisories?name=MDKSA-2007:091 vendor-advisoryx_refsource_MANDRIVA
- http://www.php-security.org/MOPB/MOPB-41-2007.html x_refsource_MISCPatchVendor Advisory
- http://www.sqlite.org/cvstrac/rlog?f=sqlite/src/encode.c x_refsource_MISC
- http://www.ubuntu.com/usn/usn-455-1 vendor-advisoryx_refsource_UBUNTU
- https://access.redhat.com/security/cve/CVE-2007-1888 Vendor Advisory
- https://exchange.xforce.ibmcloud.com/vulnerabilities/38518 vdb-entryx_refsource_XF
- https://nvd.nist.gov/vuln/detail/CVE-2007-1888
- https://www.cve.org/CVERecord?id=CVE-2007-1888
| Link | Providers | Tags |
|---|---|---|
| http://osvdb.org/39177 | vdb-entryx_refsource_OSVDB | |
| http://secunia.com/advisories/25057 | third-party-advisoryx_refsource_SECUNIA | |
| http://www.attrition.org/pipermail/vim/2007-April/001540.html | mailing-listx_refsource_VIM | |
| http://www.mandriva.com/security/advisories?name=MDKSA-2007:091 | vendor-advisoryx_refsource_MANDRIVA | |
| http://www.php-security.org/MOPB/MOPB-41-2007.html | x_refsource_MISCPatchVendor Advisory | |
| http://www.sqlite.org/cvstrac/rlog?f=sqlite/src/encode.c | x_refsource_MISC | |
| http://www.ubuntu.com/usn/usn-455-1 | vendor-advisoryx_refsource_UBUNTU | |
| https://access.redhat.com/security/cve/CVE-2007-1888 | Vendor Advisory | |
| https://exchange.xforce.ibmcloud.com/vulnerabilities/38518 | vdb-entryx_refsource_XF | |
| https://nvd.nist.gov/vuln/detail/CVE-2007-1888 | ||
| https://www.cve.org/CVERecord?id=CVE-2007-1888 |
Change history (0)
No recorded changes yet.