7.5
CWE
94 89
Advisory Published
CVE Published
Updated

CVE-2010-1868: Code Injection

First published: Fri May 07 2010(Updated: )

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.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
PHP=5.2.9
PHP=5.2.2
PHP=5.2.5
PHP=5.2.12
PHP=5.2.11
PHP=5.2.6
PHP=5.2.3
PHP=5.2.13
PHP=5.2.0
PHP=5.2.4
PHP=5.2.10
PHP=5.2.1
PHP=5.2.8
PHP=5.3.1
PHP=5.3.0
PHP=5.3.2

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • 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.

  • 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.

  • 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.

  • 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.

  • 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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203