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.
References
| Link | Resource |
|---|---|
| https://bugs.php.net/bug.php?id=81740 | Vendor Advisory |
| https://security.netapp.com/advisory/ntap-20230223-0007/ | Third Party Advisory |
| https://bugs.php.net/bug.php?id=81740 | Vendor Advisory |
Configurations
Configuration 1 (hide)
| AND |
|
History
02 Jul 2025, 21:35
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://bugs.php.net/bug.php?id=81740 - Vendor Advisory | |
| References | () https://security.netapp.com/advisory/ntap-20230223-0007/ - Third Party Advisory | |
| First Time |
Php php
Sqlite Sqlite sqlite Php |
|
| CPE | cpe:2.3:a:php:php:*:*:*:*:*:*:*:* cpe:2.3:a:sqlite:sqlite:*:*:*:*:*:*:*:* |
13 Feb 2025, 16:15
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://bugs.php.net/bug.php?id=81740 - | |
| Summary |
|
12 Feb 2025, 23:15
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
12 Feb 2025, 22:15
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2025-02-12 22:15
Updated : 2025-07-02 21:35
NVD link : CVE-2022-31631
Mitre link : CVE-2022-31631
CVE.ORG link : CVE-2022-31631
JSON object : View
Products Affected
php
- php
sqlite
- sqlite
CWE
CWE-74
Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
