php: sqlite: use of uninitialized memory triggered by empty SQL query (MOPS-2010-012, MOPS-2010-013)
Published May 7, 2010
7.5
HIGHCVSS 2.0
EPSS 3.03%
Description
The (1) sqlite_single_query and (2) sqlite_array_query functions in ext/sqlite/sqlite.c in PHP 5.2 through 5.2.13 and 5.3 through 5.3.2 allow context-dependent attackers to execute arbitrary code by calling these functions with an empty SQL query, which triggers access of uninitialized memory.
Affected products
No data.
Configuration 1
- 5.2.0
- 5.2.1
- 5.2.2
- 5.2.3
- 5.2.4
- 5.2.5
- 5.2.6
- 5.2.8
- 5.2.9
- 5.2.10
- 5.2.11
- 5.2.12
- 5.2.13
No data.
Red Hat Enterprise Linux 4
php
Not affected
Red Hat Enterprise Linux 5
php
Not affected
Red Hat Enterprise Linux 5
php53
Not affected
Red Hat Enterprise Linux 6
php
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 4 | php | Not affected | n/a |
| Red Hat Enterprise Linux 5 | php | Not affected | n/a |
| Red Hat Enterprise Linux 5 | php53 | Not affected | n/a |
| Red Hat Enterprise Linux 6 | php | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
Not vulnerable. This issue did not affect the versions of php as shipped with Red Hat Enterprise Linux 3, 4, or 5, as well as the versions of php53 as shipped with Red Hat Enterprise Linux 5.
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 (15 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 3.03% (0.03030) | 87.02th | v5 (v2026.06.15) |
| Jun 15, 2026 | 3.03% (0.03030) | 85.72th | v5 (v2026.06.15) |
| Mar 30, 2025 | 0.87% (0.00873) | 73.14th | v4 (v2025.03.14) |
| Mar 29, 2025 | 2.47% (0.02467) | 75.40th | v4 (v2025.03.14) |
| Mar 17, 2025 | 0.87% (0.00873) | 73.63th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.31% (0.00307) | 70.72th | v3 (v2023.03.01) |
| Jun 22, 2024 | 0.78% (0.00782) | 81.50th | v3 (v2023.03.01) |
| May 24, 2024 | 0.77% (0.00768) | 81.20th | v3 (v2023.03.01) |
| May 10, 2024 | 0.49% (0.00487) | 75.91th | v3 (v2023.03.01) |
| Mar 15, 2024 | 0.39% (0.00392) | 72.78th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.37% (0.00371) | 71.86th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.37% (0.00366) | 68.08th | v3 (v2023.03.01) |
| Mar 6, 2023 | 2.92% (0.02920) | 83.31th | v2 (v2022.01.01) |
| Apr 1, 2022 | 2.92% (0.02920) | 81.60th | v2 (v2022.01.01) |
| Feb 4, 2022 | 2.92% (0.02920) | 64.09th | v2 (v2022.01.01) |
References (7)
- http://php-security.org/2010/05/07/mops-2010-012-php-sqlite_single_query-uninitialized-memory-usage-vulnerability/index.html x_refsource_MISC
- http://php-security.org/2010/05/07/mops-2010-013-php-sqlite_array_query-uninitialized-memory-usage-vulnerability/index.html x_refsource_MISC
- http://php-security.org/2010/05/07/mops-submission-03-sqlite_single_query-sqlite_array_query-uninitialized-memory-usage/index.html x_refsource_MISCExploit
- https://access.redhat.com/security/cve/CVE-2010-1868 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=617134 Issue Tracking
- https://nvd.nist.gov/vuln/detail/CVE-2010-1868
- https://www.cve.org/CVERecord?id=CVE-2010-1868
Change history (0)
No recorded changes yet.