cve.bz

CVE-2025-14180 php php: NULL Pointer Dereference

8.2 highExploit referenceEPSS 0.7%

High (8.2) in php php. EPSS 0.7% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 4.0

8.2 high
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

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.7% (unchanged from 0.7% a week ago; 0.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 54th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2025-12-29. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-476 NULL Pointer Dereference
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-14180 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-14180?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-14180?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-14180 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
PHP Group PHPfrom 8.1.* before 8.1.34
PHP Group PHPfrom 8.2.* before 8.2.30
PHP Group PHPfrom 8.3.* before 8.3.29
PHP Group PHPfrom 8.4.* before 8.4.16
PHP Group PHPfrom 8.5.* before 8.5.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12php8.28.2.30-1~deb12u1DEBIAN-CVE-2025-14180 DSA-6154-1
Debian13php8.48.4.16-1~deb13u1DEBIAN-CVE-2025-14180 DSA-6088-1
Debian14php8.48.4.16-1DEBIAN-CVE-2025-14180
Ubuntu22.04:LTSphp8.18.1.2-1ubuntu2.23UBUNTU-CVE-2025-14180 USN-7953-1
Ubuntu24.04:LTSphp8.38.3.6-0ubuntu0.24.04.6UBUNTU-CVE-2025-14180 USN-7953-1
Ubuntu25.10php8.48.4.11-1ubuntu1.1UBUNTU-CVE-2025-14180 USN-7953-1
UbuntuPro:18.04:LTSphp7.27.2.24-0ubuntu0.18.04.17+esm12USN-7953-1
UbuntuPro:20.04:LTSphp7.47.4.3-4ubuntu2.29+esm3USN-7953-1
Red Hatenterprise_linux:8::appstreamapcu-panel, php-pecl-apcu, php-pecl-apcu-devel and 2 more0:5.1.23-1.module+el8.10.0+20770+a5eca186RHSA-2026:1412
Red Hatenterprise_linux:8::appstreamlibzip, libzip-devel, libzip-tools and 3 more0:1.7.3-1.module+el8.10.0+20770+a5eca186RHSA-2026:1412
Red Hatenterprise_linux:8::appstreamphp, php-gd, php-cli and 47 more0:8.2.30-1.module+el8.10.0+23848+33d54484RHSA-2026:1412
Red Hatenterprise_linux:8::appstreamphp-pear1:1.10.14-1.module+el8.10.0+20770+a5eca186RHSA-2026:1412
Red Hatenterprise_linux:8::appstreamphp-pecl-rrd, php-pecl-rrd-debuginfo, php-pecl-rrd-debugsource0:2.0.3-1.module+el8.10.0+20770+a5eca186RHSA-2026:1412
Red Hatenterprise_linux:8::appstreamphp-pecl-xdebug3, php-pecl-xdebug3-debuginfo, php-pecl-xdebug3-debugsource0:3.2.2-2.module+el8.10.0+20798+00eaeb41RHSA-2026:1412
Red Hatenterprise_linux:8::appstreamphp-pecl-zip, php-pecl-zip-debuginfo, php-pecl-zip-debugsource0:1.22.3-1.module+el8.10.0+20770+a5eca186RHSA-2026:1412
Red Hatenterprise_linux:9::appstreamapcu-panel, php-pecl-apcu, php-pecl-apcu-devel and 2 more0:5.1.23-1.module+el9.4.0+20748+b46899d2RHSA-2026:1409
Red Hatenterprise_linux:9::appstreamapcu-panel, php-pecl-apcu, php-pecl-apcu-devel and 2 more0:5.1.23-1.module+el9.6.0+22647+1741ae35RHSA-2026:1429
Red Hatenterprise_linux:9::appstreamphp, php-gd, php-cli and 47 more0:8.2.30-1.module+el9.7.0+23849+7b831f17RHSA-2026:1409
Red Hatenterprise_linux:9::appstreamphp, php-gd, php-cli and 47 more0:8.3.29-1.module+el9.7.0+23852+76de6b03RHSA-2026:1429
Red Hatenterprise_linux:9::appstreamphp-pecl-redis6, php-pecl-redis6-debuginfo, php-pecl-redis6-debugsource0:6.1.0-2.module+el9.6.0+22647+1741ae35RHSA-2026:1429
25 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise Module for Web and Scripting 15 SP7php8, php8-fpm, php8-test and 3 more8.3.29-150700.3.9.1SUSE-SU-2026:0086-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0php8, php8-fpm, php8-embed and 2 more8.4.16-160000.1.1SUSE-SU-2026:20146-1
openSUSELeap 15.6php8, php8-fpm, php8-test and 3 more8.2.30-150600.3.25.1SUSE-SU-2026:0071-1
openSUSELeap 16.0php8, php8-fpm, php8-test and 3 more8.4.16-160000.1.1openSUSE-SU-2026:20113-1
openSUSETumbleweedphp88.4.16-1.1openSUSE-SU-2025:15837-1
AlmaLinux8apcu-panel, php-pecl-apcu, php-pecl-apcu-devel5.1.23-1.module_el8.10.0+3796+30ed3ef7ALSA-2026:1412
AlmaLinux8libzip, libzip-devel, libzip-tools1.7.3-1.module_el8.10.0+3796+30ed3ef7ALSA-2026:1412
AlmaLinux8php, php-gd, php-cli and 22 more8.2.30-1.module_el8.10.0+4108+cff35472ALSA-2026:1412
AlmaLinux8php-pear1:1.10.14-1.module_el8.10.0+3796+30ed3ef7ALSA-2026:1412
AlmaLinux8php-pecl-rrd2.0.3-1.module_el8.10.0+3796+30ed3ef7ALSA-2026:1412
AlmaLinux8php-pecl-xdebug33.2.2-2.module_el8.10.0+3796+30ed3ef7ALSA-2026:1412
AlmaLinux8php-pecl-zip1.22.3-1.module_el8.10.0+3796+30ed3ef7ALSA-2026:1412
AlmaLinux9apcu-panel, php-pecl-apcu, php-pecl-apcu-devel5.1.23-1.module_el9.4.0+65+49ff6472ALSA-2026:1409
AlmaLinux9apcu-panel, php-pecl-apcu, php-pecl-apcu-devel5.1.23-1.module_el9.6.0+151+5f31e576ALSA-2026:1429
AlmaLinux9php, php-gd, php-cli and 22 more8.2.30-1.module_el9.7.0+205+fe410f10ALSA-2026:1409
AlmaLinux9php, php-gd, php-cli and 22 more8.3.29-1.module_el9.7.0+206+f4fec7f3ALSA-2026:1429
AlmaLinux9php-pecl-redis66.1.0-2.module_el9.6.0+151+5f31e576ALSA-2026:1429
7 more for AlmaLinux in the JSON.
Rocky Linux8libzip0:1.7.3-1.module+el8.10.0+1596+477f03f8RLSA-2026:1412
Rocky Linux8libzip0:1.7.3-1.module+el8.10.0+1605+02e07af7RLSA-2026:1412
Rocky Linux8libzip0:1.7.3-1.module+el8.10.0+1911+f499711eRLSA-2026:1412
Rocky Linux8php0:8.2.30-1.module+el8.10.0+40072+7124940cRLSA-2026:1412
Rocky Linux8php-pear1:1.10.14-1.module+el8.10.0+1596+477f03f8RLSA-2026:1412
Rocky Linux8php-pear1:1.10.14-1.module+el8.10.0+1911+f499711eRLSA-2026:1412
Rocky Linux8php-pecl-apcu0:5.1.23-1.module+el8.10.0+1596+477f03f8RLSA-2026:1412
Rocky Linux8php-pecl-apcu0:5.1.23-1.module+el8.10.0+1911+f499711eRLSA-2026:1412
Rocky Linux8php-pecl-rrd0:2.0.3-1.module+el8.10.0+1596+477f03f8RLSA-2026:1412
Rocky Linux8php-pecl-rrd0:2.0.3-1.module+el8.10.0+1605+02e07af7RLSA-2026:1412
Rocky Linux8php-pecl-rrd0:2.0.3-1.module+el8.10.0+1911+f499711eRLSA-2026:1412
Rocky Linux8php-pecl-xdebug30:3.2.2-2.module+el8.10.0+1596+477f03f8RLSA-2026:1412
14 more for Rocky Linux in the JSON.
Alpinev3.19php818.1.34-r0ALPINE-CVE-2025-14180
Alpinev3.22php828.2.30-r0ALPINE-CVE-2025-14180
Alpinev3.22, v3.23, v3.24php838.3.29-r0ALPINE-CVE-2025-14180
Alpinev3.22, v3.23, v3.24php848.4.16-r0ALPINE-CVE-2025-14180
Alpinev3.23, v3.24php858.5.1-r0ALPINE-CVE-2025-14180
Azure Linux2php8.1.34-1AZL-73234
Azure Linux3php8.3.29-1AZL-73201
Alpaquita23php818.1.34-r0BELL-CVE-2025-14180
Alpaquita25, streamphp838.3.29-r0BELL-CVE-2025-14180

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This vulnerability is rated Important for Red Hat because it can lead to a Denial of Service in PHP applications utilizing the PDO PostgreSQL driver. Exploitation requires the `PDO::ATTR_EMULATE_PREPARES` option to be explicitly enabled, allowing a remote attacker to crash the server by providing a specially crafted invalid character sequence in a prepared statement parameter.

Red Hat's mitigation

No mitigation is currently available that meets Red Hat Product Security’s standards for usability, deployment, applicability, or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10php-0:8.3.29-1.el10_1Fixed 2026-02-02RHSA-2026:1628
Red Hat Enterprise Linux 10.0 Extended Update Supportphp-0:8.3.19-1.el10_0.1Fixed 2026-01-26RHSA-2026:1185
Red Hat Enterprise Linux 8php:8.2-8100020260106091451.f7998665Fixed 2026-01-27RHSA-2026:1412
Red Hat Enterprise Linux 9php:8.2-9070020260107073439.9Fixed 2026-01-27RHSA-2026:1409
Red Hat Enterprise Linux 9php:8.3-9070020260108073701.9Fixed 2026-01-27RHSA-2026:1429
Red Hat Enterprise Linux 9.4 Extended Update Supportphp:8.2-9040020260116191026.9Fixed 2026-01-26RHSA-2026:1169
Red Hat Enterprise Linux 9.6 Extended Update Supportphp:8.2-9060020260116185805.9Fixed 2026-01-26RHSA-2026:1187
Red Hat Enterprise Linux 9.6 Extended Update Supportphp:8.3-9060020260116180534.9Fixed 2026-01-26RHSA-2026:1190
Red Hat Hardened Imagesphp-main-8.5.5-1.1.hum1Fixed 2026-04-10RHSA-2026:7614
Red Hat OpenShift AI 3.3rhoai/odh-workbench-codeserver-datascience-cpu-py312-rhel9:1769162595Fixed 2026-03-04RHSA-2026:3713
Red Hat Enterprise Linux 10php8.4Affected
Red Hat Enterprise Linux 6phpOut of support scope
Red Hat Enterprise Linux 7phpNot affected
Red Hat Enterprise Linux 8php:7.4/phpNot affected
Red Hat Enterprise Linux 9phpNot affected
Red Hat OpenShift Dev Spacesdevspaces/code-rhel9Not affected
Red Hat OpenShift Dev Spacesdevspaces-tech-preview/idea-rhel9Will not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-14180.

References

Check your stackJSON