{"vuln_id":"CVE-2022-31631","aliases":[],"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.","published_at":"2025-02-12T22:15:29.007000Z","modified_at":"2026-11-20T22:02:03.252865Z","first_seen_at":"2026-11-21T19:15:06.053511Z","severity":"critical","severity_source":"cvss","cvss_score":9.1,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","cwe":[],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.02143,"epss_percentile":0.82413,"nvd_status":null,"enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-31631"},"matched_alias":null,"items":[{"id":462,"source":{"id":"debian-php","name":"Debian 12 php8.2 (package vulnerabilities)"},"title":"php8.2 (Debian:12): DEBIAN-CVE-2022-31631 / 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…","summary":"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.\n\nAffected: Debian:12:php8.2\n\nFixed in: 8.2.1-1\n\nReferences:\nhttps://security-tracker.debian.org/tracker/CVE-2022-31631","url":"https://osv.dev/vulnerability/DEBIAN-CVE-2022-31631","published_at":"2025-02-12T22:15:29.007000Z","updated_at":"2026-11-20T22:02:03.252865Z","fetched_at":"2026-11-21T19:15:05.963699Z","severity":"critical","cvss_score":9.1,"epss":0.02143,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"php","product":"php8.2","vuln_id":"CVE-2022-31631","vuln_ids":["CVE-2022-31631","DEBIAN-CVE-2022-31631"],"tags":["package-watch","pkg:php8.2","fix-available"],"cluster_id":328,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/462","html":"https://vulnwatch.ve1ve2.com/item/462"}}]}