Skip to main content

CVE tracker

CVE-2025-14180

PDO quoting result null deref

Severity: High CVSS 8.2. Status in our packages: Fixed.

About CVE-2025-14180

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.

Description quoted from the CVE record at cve.org.

Published2025-12-27
WeaknessCWE-476 NULL Pointer Dereference
CVSSHigh 8.2 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 (scored by the CVE numbering authority)
Affected upstreamPHP 8.1.* before 8.1.34; PHP 8.2.* before 8.2.30; PHP 8.3.* before 8.3.29; PHP 8.4.* before 8.4.16; PHP 8.5.* before 8.5.1

Status in GetPageSpeed packages

ProductStatusFixed inDetails
PHP 7.4 on Ubuntu 20.04Fixed1:7.4.33-31+gps1Everpatch PHP 7.4
PHP 8.0 on Ubuntu 20.04Fixed1:8.0.30-25+gps1Everpatch PHP 8.0
PHP 8.1 on Ubuntu 20.04Fixed8.1.34-9+gps1Everpatch PHP 8.1
PHP 8.2 on Ubuntu 20.04Fixed8.2.35-1+gps1Everpatch PHP 8.2
PHP 8.3 on Ubuntu 20.04Fixed8.3.36-1+gps1Everpatch PHP 8.3
PHP 8.4 on Ubuntu 20.04Fixed8.4.27-1+gps1Everpatch PHP 8.4
PHP 7.3 on Debian 10Fixed7.3.33-35+gps1Everpatch PHP 7.3
PHP 7.4 on Debian 10Fixed1:7.4.33-31+gps1Everpatch PHP 7.4

Check a server for CVE-2025-14180

Everpatch PHP on Debian and Ubuntu: PHP 7.4 on Ubuntu 20.04 1:7.4.33-31+gps1, PHP 8.0 on Ubuntu 20.04 1:8.0.30-25+gps1, PHP 8.1 on Ubuntu 20.04 8.1.34-9+gps1, PHP 8.2 on Ubuntu 20.04 8.2.35-1+gps1, PHP 8.3 on Ubuntu 20.04 8.3.36-1+gps1, PHP 8.4 on Ubuntu 20.04 8.4.27-1+gps1, PHP 7.3 on Debian 10 7.3.33-35+gps1, PHP 7.4 on Debian 10 1:7.4.33-31+gps1 or later. The Debian changelog names every CVE a build fixes.

dpkg-query -W 'php*-common'
zgrep -F CVE-2025-14180 /usr/share/doc/php*-common/changelog.Debian.gz

After a PHP update, restart PHP-FPM (and Apache httpd if it runs mod_php): the old processes keep the vulnerable code until then.

Fixed in the same build

Scanner feeds (OVAL, CSAF, OpenVEX), fix-time targets and answers to common questions: the CVE tracker.