← Back

CVE-2022-31631

nvd nist
Published: Feb 12, 2025Modified: Jun 17, 2026

JSON object

Loading...
9.1
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Exploitability: 3.9 / Impact: 5.2
Source: security@php.net (Secondary)

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 (3)

Products: Php: Php
1 product
Php
Configuration A
3 vulnerable · 1 platform
Vulnerable SoftwareAffected Versions
Php
From 8.0.0 to 8.0.27
From 8.1.0 to 8.1.15
From 8.2.0 to 8.2.2
Running on/withPlatform Versions
Sqlite
Sqlite
From 3.39.2

References (3)

Source: security@php.net
Vendor Advisory
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
Source: 134c704f-9b21-4f2e-91b3-4a467353bcc0
Vendor Advisory

Timeline

No history available yet.