{"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-08-12T03:30:37.908003196Z","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":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/14xxx/CVE-2025-14180.json","cna_assigner":"php","cwe_ids":["CWE-476"]},"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":"381ba9f5d0edd0c9c8ec1dea7e21d513ad08b115"},{"fixed":"94abff74457effe4432f0bd49f5230aa11155dff"},{"introduced":"70ee6c20ad97e02c2b8098aeea96fefbbc3ac5c2"},{"fixed":"b233e9d0631bd14e775db4e7b93f6bb82fccf1a0"},{"introduced":"d26068059e83fe40de3430a512471d194119bee0"},{"fixed":"2fe579bc267e70c53b45b859d8f312a55edd38a6"},{"introduced":"b437f2b32eb364c9496d24abcc734272e5c9c980"},{"fixed":"2890cbbc4940f382f2f781d08f12c127b1a06a26"},{"introduced":"685e99655ae97c667950f7f7d176985958718f56"},{"fixed":"3f6a5c8a76764dcea9872fee5beed8fa7d1d5bcd"}],"database_specific":{"cpe":"cpe:2.3:a:php:php:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"8.1.0"},{"fixed":"8.1.34"},{"introduced":"8.2.0"},{"fixed":"8.2.30"},{"introduced":"8.3.0"},{"fixed":"8.3.29"},{"introduced":"8.4.0"},{"fixed":"8.4.16"},{"introduced":"8.5.0"},{"fixed":"8.5.1"}],"source":"CPE_RANGE"}}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-14180.json"}}],"schema_version":"1.9.0","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"}]}