CVEvulnerability

CVE-2022-31631

9.1 CRITICAL Published 2025-02-12 Modified 2026-06-17 Official page ↗
Status
Analyzed
Published
2025-02-12
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
9.1 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Weaknesses
CWE-74

Description

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.

Affected configurations

• php php (>= 8.0.0 < 8.0.27) • php php (>= 8.1.0 < 8.1.15) • php php (>= 8.2.0 < 8.2.2)

Related

Weakness · CWE (1)

  • CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component weakness

References