ADVISORIES

Vulnerability

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.

39 advisories report this vulnerability, across 14 ecosystems.

Advisories in Debian

  • DEBIAN-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…

    CVE-2022-31631 Debian Updated 20 November 2026
  • DLA-3345-1

    php7.3 - security update

    CVE-2022-31631CVE-2023-0567CVE-2023-0568CVE-2023-0662 Debian Updated 20 November 2026
  • DSA-5363-1

    php7.4 - security update

    CVE-2022-31631CVE-2023-0567CVE-2023-0568CVE-2023-0662 Debian Updated 20 November 2026

References