VULNERABILITY INTELLIGENCE
CVE-2022-31631
CVSS score9.1 CRITICAL
EPSS probability2.19%
CISA KEVNot currently listed
Published2025-02-12
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Description
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.
Weakness classification
- security@php.net: CWE-74
Primary references
- security@php.net — Vendor Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Third Party Advisory
- 134c704f-9b21-4f2e-91b3-4a467353bcc0 — Vendor Advisory