CVE-2010-1868
Severity CVSS v4.0:
Pending analysis
Type:
CWE-94
Code Injection
Publication date:
07/05/2010
Last modified:
11/04/2025
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.
Impact
Base Score 2.0
7.50
Severity 2.0
HIGH
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:php:php:5.2.0:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.2.1:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.2.2:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.2.3:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.2.4:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.2.5:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.2.6:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.2.8:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.2.9:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.2.10:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.2.11:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.2.12:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.2.13:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.3.0:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.3.1:*:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- http://php-security.org/2010/05/07/mops-2010-012-php-sqlite_single_query-uninitialized-memory-usage-vulnerability/index.html
- http://php-security.org/2010/05/07/mops-2010-013-php-sqlite_array_query-uninitialized-memory-usage-vulnerability/index.html
- http://php-security.org/2010/05/07/mops-submission-03-sqlite_single_query-sqlite_array_query-uninitialized-memory-usage/index.html
- http://php-security.org/2010/05/07/mops-2010-012-php-sqlite_single_query-uninitialized-memory-usage-vulnerability/index.html
- http://php-security.org/2010/05/07/mops-2010-013-php-sqlite_array_query-uninitialized-memory-usage-vulnerability/index.html
- http://php-security.org/2010/05/07/mops-submission-03-sqlite_single_query-sqlite_array_query-uninitialized-memory-usage/index.html



