CVE-2022-31631

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

No CVSS.

Configurations

Configuration 1 (hide)

AND
OR cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
cpe:2.3:a:sqlite:sqlite:*:*:*:*:*:*:*:*

History

02 Jul 2025, 21:35

Type Values Removed Values Added
CPE cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
cpe:2.3:a:sqlite:sqlite:*:*:*:*:*:*:*:*
References () https://bugs.php.net/bug.php?id=81740 - () https://bugs.php.net/bug.php?id=81740 - Vendor Advisory
References () https://security.netapp.com/advisory/ntap-20230223-0007/ - () https://security.netapp.com/advisory/ntap-20230223-0007/ - Third Party Advisory
First Time Php
Php php
Sqlite sqlite
Sqlite

12 Feb 2025, 23:15

Type Values Removed Values Added
References
  • () https://security.netapp.com/advisory/ntap-20230223-0007/ -

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


JSON object : View

Products Affected

php

  • php

sqlite

  • sqlite
CWE

No CWE.