{"id":"CVE-2022-31631","published":"2025-02-12T22:10:45Z","modified":"2025-02-13T16:06:41Z","title":"PDO::quote() may return unquoted string","vendor":"PHP","product":"PHP","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.1,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00924,"percentile":0.58677,"provenance":"source"},"cwes":[{"id":"CWE-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component"}],"references":[{"url":"https://bugs.php.net/bug.php?id=81740","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20230223-0007/","tags":[]}],"priority":{"score":18.1,"factors":[{"name":"EPSS percentile","points":11.74},{"name":"CVSS severity","points":6.37}]},"vendorSlug":"php","affectedVersions":[{"vendor":"PHP Group","product":"PHP","versions":[">= 8.0.x, < 8.0.27",">= 8.1.x, < 8.1.15",">= 8.2.x, < 8.2.2"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2025-02-13T16:06:19.759677Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2022-54225","exploited":false,"provenance":"source"}}