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 openSUSE

  • SUSE-SU-2023:0073-1

    Security update for php7

    CVE-2022-31631 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2023:0074-1

    Security update for php8

    CVE-2022-31631 SUSEopenSUSE Updated 2 May 2025
  • SUSE-SU-2023:0084-1

    Security update for php7

    CVE-2022-31631 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2023:0476-1

    Security update for php7

    CVE-2022-31631CVE-2023-0567CVE-2023-0568CVE-2023-0662 SUSEopenSUSE Updated 4 February 2026
  • openSUSE-SU-2024:12601-1

    php8-8.1.14-1.1 on GA media

    CVE-2022-31631 openSUSE Updated 4 February 2026

References