Servers and applications
CVE-2022-31631
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.
- Severity
- Critical 9.1
- Published
- 12 Feb 2025
- Last changed
- 17 Jun 2026
- Added to UpHeron
- 14 Oct 2026
- Fixed in
- 8.0.27, 8.1.15, 8.2.2
- Sources
- NVD
Affected software
| Software | Affected versions |
|---|---|
PHPServers and applications · cpe:a:php:php |
|