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 Ubuntu

  • UBUNTU-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 Ubuntu Updated 24 November 2026
  • USN-5818-1

    php7.2, php7.4, php8.1 vulnerability

    CVE-2022-31631 Ubuntu Updated 24 November 2026
  • USN-5905-1

    php7.0 vulnerabilities

    CVE-2022-31628CVE-2022-31629CVE-2022-31631CVE-2023-0568 Ubuntu Updated 24 November 2026

References