CVE-2010-1868: Code Injection

Published May 7, 2010
·
Updated

The (1) sqlitesinglequery and (2) sqlitearrayquery 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 Software

16 affected components
PHP PHP=5.2.9
PHP PHP=5.2.2
PHP PHP=5.2.5
PHP PHP=5.2.12
PHP PHP=5.2.11
PHP PHP=5.2.6
PHP PHP=5.2.3
PHP PHP=5.2.13
PHP PHP=5.2.0
PHP PHP=5.2.4
PHP PHP=5.2.10
PHP PHP=5.2.1
PHP PHP=5.2.8
PHP PHP=5.3.1
PHP PHP=5.3.0
PHP PHP=5.3.2

Event History

May 7, 2010
CVE Published
via MITRE·10:00 PM
Data Sourced
via MITRE·10:00 PM
Description
Data Sourced
via NVD·11:00 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2010-1868?

CVE-2010-1868 is considered a critical vulnerability due to its potential to allow attackers to execute arbitrary code.

2

How do I fix CVE-2010-1868?

To mitigate CVE-2010-1868, upgrade PHP to a version that is not affected, specifically 5.3.3 or later.

3

Which versions of PHP are affected by CVE-2010-1868?

CVE-2010-1868 affects PHP versions from 5.2.0 through 5.2.13 and 5.3.0 to 5.3.2.

4

What functions are vulnerable in CVE-2010-1868?

The vulnerability in CVE-2010-1868 stems from the sqlite_single_query and sqlite_array_query functions.

5

Can CVE-2010-1868 be exploited remotely?

Yes, CVE-2010-1868 can be exploited by context-dependent attackers, making it a significant risk for web applications using affected PHP versions.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203