published 12 Feb 2025 · updated 13 Nov 2026
PDO::quote() may return unquoted string
9.1CriticalCVSS 9.1EPSS 2%
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 2%. Fixed in PHP 8.0.27, PHP 8.1.15 and PHP 8.2.2.
In PHP versions 8.0.* before 8.0.27, 8.1.* before 8.1.15, 8.2.* before 8.2.2 when using PDO::quote() function to quote user-supplied data for SQLite, supplying an overly long string may cause the driver to incorrectly quote the data, which may further lead to SQL injection vulnerabilities.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| PHP Group | PHP | >=8.0.x <8.0.27, >=8.1.x <8.1.15, >=8.2.x <8.2.2 | 8.0.27, 8.1.15, 8.2.2 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in PHP, strongest first
10.0CriticalPublic exploit
10.0CriticalPublic exploit
10.0CriticalPublic exploit
10.0CriticalPublic exploit
10.0CriticalPublic exploit
10.0CriticalPublic exploit
Embed
A live severity badge for an advisory, README or ticket