{"id":"BIT-libphp-2022-31631","summary":"PDO::quote() may return unquoted string","details":"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.","aliases":["BIT-php-2022-31631","BIT-php-min-2022-31631","CVE-2022-31631"],"modified":"2025-08-11T15:13:22.621236Z","published":"2025-08-11T13:53:44.921Z","database_specific":{"cpes":["cpe:2.3:a:php:php:*:*:*:*:*:*:*:*"],"severity":"Critical"},"references":[{"type":"WEB","url":"https://bugs.php.net/bug.php?id=81740"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31631"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20230223-0007/"}],"affected":[{"package":{"name":"libphp","ecosystem":"Bitnami","purl":"pkg:bitnami/libphp"},"ranges":[{"type":"SEMVER","events":[{"introduced":"8.0.0"},{"fixed":"8.0.27"},{"introduced":"8.1.0"},{"fixed":"8.1.15"},{"introduced":"8.2.0"},{"fixed":"8.2.2"}]}],"database_specific":{"source":"https://github.com/bitnami/vulndb/tree/main/data/libphp/BIT-libphp-2022-31631.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"}]}],"schema_version":"1.7.3"}