{"id":"CVE-2025-14180","summary":"NULL Pointer Dereference in PDO quoting","details":"In PHP versions 8.1.* before 8.1.34, 8.2.* before 8.2.30, 8.3.* before 8.3.29, 8.4.* before 8.4.16, 8.5.* before 8.5.1 when using the PDO PostgreSQL driver with PDO::ATTR_EMULATE_PREPARES enabled, an invalid character sequence (such as \\x99) in a prepared statement parameter may cause the quoting function PQescapeStringConn to return NULL, leading to a null pointer dereference in pdo_parse_params() function. This may lead to crashes (segmentation fault) and affect the availability of the target server.","aliases":["BIT-libphp-2025-14180","BIT-php-2025-14180","BIT-php-min-2025-14180","GHSA-8xr5-qppj-gvwj"],"modified":"2026-05-18T05:56:13.881883103Z","published":"2025-12-27T19:21:20.768Z","related":["ALSA-2026:1409","ALSA-2026:1412","ALSA-2026:1429","ALSA-2026:1628","SUSE-SU-2026:0071-1","SUSE-SU-2026:0086-1","SUSE-SU-2026:20146-1","openSUSE-SU-2025:15837-1","openSUSE-SU-2026:20113-1"],"database_specific":{"cna_assigner":"php","cwe_ids":["CWE-476"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/14xxx/CVE-2025-14180.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/14xxx/CVE-2025-14180.json"},{"type":"ADVISORY","url":"https://github.com/php/php-src/security/advisories/GHSA-8xr5-qppj-gvwj"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-14180"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/php/php-src","events":[{"introduced":"685e99655ae97c667950f7f7d176985958718f56"},{"fixed":"3f6a5c8a76764dcea9872fee5beed8fa7d1d5bcd"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-14180.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}]}