CSIRTS // UNIFIED SECURITY ADVISORY FEEDSYS ● ONLINE · POWERED BY INTELFUSIONS.COM

CVE-2022-31631

criticalCVSS 9.1covered by 1 sourcefirst seen 2026-08-06

CSIRTS triage

What
PDO::quote() may return an unquoted string, potentially leading to SQL injection.
Who is affected
PHP applications using PDO::quote() for query construction are affected.
Urgency
Critical severity with CVSS 9.1; this is a fundamental flaw in a security-critical function that can lead to SQL injection attacks.
Action
Update PHP to a patched version that correctly implements PDO::quote() and review all code relying on this function.

AI-assisted analysis generated from the source advisory — verify against the original.

⚡ Watch CVE-2022-31631

Get an email if CVE-2022-31631 is added to CISA KEV, gains public exploit code, or a new advisory cites it — max one per day, one-click unsubscribe.

Exploitation outlook

Advisory coverage (1)

External references

NVD record for CVE-2022-31631

CVE.org record

Embed the live status

CVE-2022-31631 live status badge — this badge updates automatically when the KEV or exploit status changes. How to embed it →

[![CVE-2022-31631 status](https://www.csirts.com/badge/CVE-2022-31631)](https://www.csirts.com/cve/CVE-2022-31631)