CVE-2022-31631

CRITICAL EPSS 79.9%
Published Feb 12, 20251y ago · Modified Jun 17, 20261w ago
9.1 CVSS 3.1
Critical
Find Similar
Published Feb 12, 2025 1y ago
Last Modified Jun 17, 2026 1w ago

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.

CVSS Details

Base Score
9.1
Exploitability
3.9
Impact
5.2
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality High
Integrity High
Availability None

Threat Intelligence

EPSS Exploit Probability
79.9% percentile
Exploit & Patch Status
No Known Exploit
No Patch Available

Weaknesses 1

CWE-74

Affected Products 4

VendorProductVersionRange
phpphp*≥8.0.0  –  <8.0.27
phpphp*≥8.1.0  –  <8.1.15
phpphp*≥8.2.0  –  <8.2.2
sqlitesqlite*≥3.39.2

References 2

  • bugs.php.net https://bugs.php.net/bug.php?id=81740
    Vendor Advisory
  • security.netapp.com https://security.netapp.com/advisory/ntap-20230223-0007/
    Third Party Advisory

Remediation

No remediation data recorded yet

Check vendor advisories and the NVD entry for patch availability.