CVE-2010-1868: PHP

High severity, CVSS 7.5. EPSS: 3% chance of exploitation in the next 30 days.

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

  • PHP PHP: version 5.2.0 only; version 5.2.1 only; version 5.2.2 only; version 5.2.3 only; version 5.2.4 only; version 5.2.5 only; …

Published 2010-05-07. Last modified 2026-06-16.