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 Amazon Linux

  • ALAS2-2025-2832

    Amazon Linux 2 2017.12 - ALAS2-2025-2832: important priority package update for php

    Important CVE-2017-9226CVE-2019-19203CVE-2022-31631CVE-2023-0568 Amazon Linux Updated 30 December 2025
  • ALAS2023-2023-081

    Amazon Linux 2023 - ALAS2023-2023-081: Important priority package update for php8.1

    Important CVE-2022-31627CVE-2022-31628CVE-2022-31629CVE-2022-31630 Amazon Linux Updated 22 February 2023

References