CVE-2025-14180 json
NULL Pointer Dereference in PDO quoting
published 2025-12-18 10 mo ago modified 2026-10-13 26 d ago also BIT-libphp-2025-14180 , BIT-php-2025-14180 , BIT-php-min-2025-14180 , EUVD-2025-205486 , GHSA-8xr5-qppj-gvwj
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 53%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- bitnami libphp 8.1.34, 8.2.30, 8.3.29, 8.4.16, 8.5.1
- bitnami php 8.1.34, 8.2.30, 8.3.29, 8.4.16, 8.5.1
- bitnami php-min 8.1.34, 8.2.30, 8.3.29, 8.4.16, 8.5.1
- PHP Group PHP 8.1.34, 8.2.30, 8.3.29, 8.4.16, 8.5.1
- php8.2 Debian 12 8.2.30-1~deb12u1
- php8.4 Debian 13 8.4.16-1~deb13u1
- php8.4 Debian 14 8.4.16-1
debian advisories DEBIAN-CVE-2025-14180
- php8.1 Ubuntu 22.04 LTS 8.1.2-1ubuntu2.23
- php8.3 Ubuntu 24.04 LTS 8.3.6-0ubuntu0.24.04.6
- php8.4 Ubuntu 25.10 8.4.11-1ubuntu1.1
ubuntu advisories UBUNTU-CVE-2025-14180
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- php hummingbird 1 8.5.5-1.1.hum1
- php-gd hummingbird 1 8.5.5-1.1.hum1
- php-cli hummingbird 1 8.5.5-1.1.hum1
- php-dba hummingbird 1 8.5.5-1.1.hum1
- php-dbg hummingbird 1 8.5.5-1.1.hum1
- php-ffi hummingbird 1 8.5.5-1.1.hum1
- php-fpm hummingbird 1 8.5.5-1.1.hum1
- php-gmp hummingbird 1 8.5.5-1.1.hum1
red hat advisories RHSA-2026:7614RHSA-2026:1628RHSA-2026:1429RHSA-2026:1412RHSA-2026:1409RHSA-2026:1190
- php8 SLES for SAP applications 16.0, SLES 16.0 8.4.16-160000.1.1
- php8-fpm SLES for SAP applications 16.0, SLES 16.0 8.4.16-160000.1.1
- php8-embed SLES for SAP applications 16.0, SLES 16.0 8.4.16-160000.1.1
- php8-fastcgi SLES for SAP applications 16.0, SLES 16.0 8.4.16-160000.1.1
- apache2-mod_php8 SLES for SAP applications 16.0, SLES 16.0 8.4.16-160000.1.1
- php8 SLE Module for Web and Scripting 15 SP7 8.3.29-150700.3.9.1
- php8-fpm SLE Module for Web and Scripting 15 SP7 8.3.29-150700.3.9.1
- php8-test SLE Module for Web and Scripting 15 SP7 8.3.29-150700.3.9.1
suse advisories SUSE-SU-2026:20146-1SUSE-SU-2026:0086-1SUSE-SU-2026:0071-1
- php8 openSUSE Leap 16.0 8.4.16-160000.1.1
- php8-fpm openSUSE Leap 16.0 8.4.16-160000.1.1
- php8-test openSUSE Leap 16.0 8.4.16-160000.1.1
- php8-embed openSUSE Leap 16.0 8.4.16-160000.1.1
- php8-fastcgi openSUSE Leap 16.0 8.4.16-160000.1.1
- apache2-mod_php8 openSUSE Leap 16.0 8.4.16-160000.1.1
- php8 openSUSE Tumbleweed 8.4.16-1.1
opensuse advisories openSUSE-SU-2026:20113-1openSUSE-SU-2025:15837-1
- php AlmaLinux 10 8.3.29-1.el10_1
- php-gd AlmaLinux 10 8.3.29-1.el10_1
- php-cli AlmaLinux 10 8.3.29-1.el10_1
- php-dba AlmaLinux 10 8.3.29-1.el10_1
- php-dbg AlmaLinux 10 8.3.29-1.el10_1
- php-ffi AlmaLinux 10 8.3.29-1.el10_1
- php-fpm AlmaLinux 10 8.3.29-1.el10_1
- php-gmp AlmaLinux 10 8.3.29-1.el10_1
almalinux advisories ALSA-2026:1628ALSA-2026:1409ALSA-2026:1412ALSA-2026:1429
- php Rocky Linux 10 8.3.29-1.el10_1
- php-pecl-rrd Rocky Linux 9 2.0.3-4.module+el9.7.0+40004+bf50a568
- php-pecl-rrd Rocky Linux 9 2.0.3-4.module+el9.7.0+40003+454ed3c4
- php-pecl-rrd Rocky Linux 9 2.0.3-4.module+el9.7.0+40005+715283ec
- php-pecl-zip Rocky Linux 9 1.22.3-1.module+el9.7.0+40004+bf50a568
- php-pecl-zip Rocky Linux 9 1.22.3-1.module+el9.7.0+40005+715283ec
- php-pecl-apcu Rocky Linux 9 5.1.23-1.module+el9.7.0+40004+bf50a568
- php-pecl-apcu Rocky Linux 9 5.1.23-1.module+el9.7.0+40005+715283ec
rocky linux advisories RLSA-2026:1628RLSA-2026:1409RLSA-2026:1429RLSA-2026:1412
- php81 Alpine 3.19 8.1.34-r0
- php82 Alpine 3.22 8.2.30-r0
- php83 Alpine 3.24, Alpine 3.23, Alpine 3.22 8.3.29-r0
- php84 Alpine 3.24, Alpine 3.23, Alpine 3.22 8.4.16-r0
- php85 Alpine 3.24, Alpine 3.23 8.5.1-r0
alpine advisories ALPINE-CVE-2025-14180
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- php Azure Linux 3.0 8.3.29-1
- php CBL-Mariner 2.0 8.1.34-1
azure linux advisories AZL-73201AZL-73234
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-14180 updated cvss 7.5
php: PHP: Denial of Service via invalid character sequence in PDO PostgreSQL prepared statement
-
Red Hat Enterprise Linux 6 php, php-gd, php-cli, php-dba, php-fpm, php-pdo, +20 moreaffected: workaround, no fix planned “No mitigation is currently available that meets Red Hat Product Security’s standards for usability, deployment, applicability, or stability.”
-
Red Hat Enterprise Linux 10 php8.4affected: workaround, no fix available “No mitigation is currently available that meets Red Hat Product Security’s standards for usability, deployment, applicability, or stability.”
-
Red Hat OpenShift Dev Spaces devspaces-tech-preview/idea-rhel9affected: workaround, no fix planned “No mitigation is currently available that meets Red Hat Product Security’s standards for usability, deployment, applicability, or stability.”
-
Red Hat Enterprise Linux AppStream (v. 8) php 8.2.30-1.module+el8.10.0+23848+33d54484, libzip 1.7.3-1.module+el8.10.0+20770+a5eca186, php-gd 8.2.30-1.module+el8.10.0+23848+33d54484, php-cli 8.2.30-1.module+el8.10.0+23848+33d54484, php-dba 8.2.30-1.module+el8.10.0+23848+33d54484, php-dbg 8.2.30-1.module+el8.10.0+23848+33d54484, +26 morefixed: vendor fix “No mitigation is currently available that meets Red Hat Product Security’s standards for usability, deployment, applicability, or stability.” RHSA-2026:1412
-
Red Hat Enterprise Linux AppStream (v. 9) php 8.2.30-1.module+el9.7.0+23849+7b831f17, php 8.3.29-1.module+el9.7.0+23852+76de6b03, php-gd 8.2.30-1.module+el9.7.0+23849+7b831f17, php-gd 8.3.29-1.module+el9.7.0+23852+76de6b03, php-cli 8.2.30-1.module+el9.7.0+23849+7b831f17, php-cli 8.3.29-1.module+el9.7.0+23852+76de6b03, +53 morefixed: vendor fix “No mitigation is currently available that meets Red Hat Product Security’s standards for usability, deployment, applicability, or stability.” RHSA-2026:1409
-
Red Hat Enterprise Linux AppStream (v. 10) php 8.3.29-1.el10_1, php-gd 8.3.29-1.el10_1, php-cli 8.3.29-1.el10_1, php-dba 8.3.29-1.el10_1, php-dbg 8.3.29-1.el10_1, php-ffi 8.3.29-1.el10_1, +18 morefixed: vendor fix “No mitigation is currently available that meets Red Hat Product Security’s standards for usability, deployment, applicability, or stability.” RHSA-2026:1628
-
Red Hat Enterprise Linux AppStream EUS (v. 10.0) php 8.3.19-1.el10_0.1, php-gd 8.3.19-1.el10_0.1, php-cli 8.3.19-1.el10_0.1, php-dba 8.3.19-1.el10_0.1, php-dbg 8.3.19-1.el10_0.1, php-ffi 8.3.19-1.el10_0.1, +18 morefixed: vendor fix “No mitigation is currently available that meets Red Hat Product Security’s standards for usability, deployment, applicability, or stability.” RHSA-2026:1185
-
Red Hat Enterprise Linux AppStream EUS (v.9.4) php 8.2.13-1.module+el9.4.0+23893+7c48bdfc.2, php-gd 8.2.13-1.module+el9.4.0+23893+7c48bdfc.2, php-cli 8.2.13-1.module+el9.4.0+23893+7c48bdfc.2, php-dba 8.2.13-1.module+el9.4.0+23893+7c48bdfc.2, php-dbg 8.2.13-1.module+el9.4.0+23893+7c48bdfc.2, php-ffi 8.2.13-1.module+el9.4.0+23893+7c48bdfc.2, +23 morefixed: vendor fix “No mitigation is currently available that meets Red Hat Product Security’s standards for usability, deployment, applicability, or stability.” RHSA-2026:1169
show 7 moreshow fewer
-
Red Hat Enterprise Linux AppStream EUS (v.9.6) php 8.2.28-1.module+el9.6.0+23892+f0eec4a0.2, php 8.3.19-1.module+el9.6.0+23891+2c64b922.2, php-gd 8.2.28-1.module+el9.6.0+23892+f0eec4a0.2, php-gd 8.3.19-1.module+el9.6.0+23891+2c64b922.2, php-cli 8.2.28-1.module+el9.6.0+23892+f0eec4a0.2, php-cli 8.3.19-1.module+el9.6.0+23891+2c64b922.2, +53 morefixed: vendor fix “No mitigation is currently available that meets Red Hat Product Security’s standards for usability, deployment, applicability, or stability.” RHSA-2026:1187
-
Red Hat Hardened Images php 8.5.5-1.1.hum1, php-gd 8.5.5-1.1.hum1, php-cli 8.5.5-1.1.hum1, php-dba 8.5.5-1.1.hum1, php-dbg 8.5.5-1.1.hum1, php-ffi 8.5.5-1.1.hum1, +21 morefixed: vendor fix “No mitigation is currently available that meets Red Hat Product Security’s standards for usability, deployment, applicability, or stability.” RHSA-2026:7614
-
Red Hat OpenShift AI 3.3 rhoai 1769162595fixed: vendor fix “No mitigation is currently available that meets Red Hat Product Security’s standards for usability, deployment, applicability, or stability.” RHSA-2026:3713
-
Red Hat Enterprise Linux 7 php, php-gd, php-cli, php-dba, php-fpm, php-pdo, +18 morenot affected: vulnerable code not present
-
Red Hat Enterprise Linux 8 php, libzip, php-gd, php-cli, php-dba, php-dbg, +30 more Red Hat Enterprise Linux 9 php, php-gd, php-cli, php-dba, php-dbg, php-ffi, +18 morenot affected: component not present
-
Red Hat OpenShift AI 3.3 rhoai 1769436305, rhoai 1769519975, rhoai 1770277795, rhoai 1770735854, rhoai 1770754585, rhoai 1770754605, +71 morenot affected: vulnerable code not present
-
Red Hat OpenShift Dev Spaces devspaces/code-rhel9not affected: component not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 10 mo ago
Exploit prediction
0.70% chance of exploitation in the next 30 days, higher than 53% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/php/php-src/security/advisories/GHSA-8xr5-qppj-gvwj referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 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 |
| CNA | 4.0 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | libphp | <8.1.34 >=8.2.0, <8.2.30 >=8.3.0, <8.3.29 >=8.4.0, <8.4.16 >=8.5.0, <8.5.1 |
8.1.34 8.2.30 8.3.29 8.4.16 8.5.1 |
| bitnami | php | <8.1.34 >=8.2.0, <8.2.30 >=8.3.0, <8.3.29 >=8.4.0, <8.4.16 >=8.5.0, <8.5.1 |
8.1.34 8.2.30 8.3.29 8.4.16 8.5.1 |
| bitnami | php-min | <8.1.34 >=8.2.0, <8.2.30 >=8.3.0, <8.3.29 >=8.4.0, <8.4.16 >=8.5.0, <8.5.1 |
8.1.34 8.2.30 8.3.29 8.4.16 8.5.1 |
Affected products
- PHP Group PHP
Classification
- Weakness
-
- CWE-476 NULL Pointer Dereference
- Technology feeds
References
-
github.com
/php/php-src/security/advisories/GHSA-8xr5-qppj-gvwj
exploit, vendor-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2025-14180
web
Sources
- CVE List CVE-2025-14180
- NVD CVE-2025-14180
- OSV BIT-libphp-2025-14180
- OSV BIT-php-2025-14180
- OSV BIT-php-min-2025-14180
- Maintainer advisory GHSA-8xr5-qppj-gvwj
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
The maintainers of php/php-src published their own advisory on GitHub. Reviewed sources take precedence over it.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.