HomePhpCVE-2022-31631

CVE-2022-31631

CRITICAL
9.1CVSS
Published: 2025-02-12
Updated: 2025-07-02
AI Analysis

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 Metrics

Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Attack Vector
network
Complexity
low
Privileges
none
User Action
none
Scope
unchanged
Confidentiality
high
Integrity
high
Availability
none
Weaknesses
CWE-74

Metadata

Primary Vendor
PHP
Published
2/12/2025
Last Modified
7/2/2025
Source
NIST NVD
Note: Verify all details with official vendor sources before applying patches.

Affected Products

php : phpphp : phpphp : php

AI-Powered Remediation

Generate remediation guidance or a C-suite brief for this vulnerability.

Executive Intelligence Brief

CVE-CVE-2022-31631 | CRITICAL Severity | CVEDatabase.com | CVEDatabase.com