CVE-2025-14180

Published Dec 27, 2025

Last updated 6 months ago

Overview

AI description

Automated description summarized from trusted sources.

CVE-2025-14180 is a null pointer dereference vulnerability found in the PHP PDO PostgreSQL driver. This flaw occurs when the `PDO::ATTR_EMULATE_PREPARES` option is enabled. An attacker can trigger the vulnerability by providing an invalid character sequence, such as `\x99`, within a prepared statement parameter. This invalid character sequence causes the `PQescapeStringConn` function to return a `NULL` value. Subsequently, the `pdo_parse_params()` function attempts to dereference this `NULL` pointer, leading to a crash (segmentation fault) of the PHP process and impacting the availability of the target server. The vulnerability affects 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, and 8.5.* before 8.5.1.

Description
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.
Source
security@php.net
NVD status
Analyzed
Products
php

Risk scores

CVSS 4.0

Type
Secondary
Base score
8.2
Impact score
-
Exploitability score
-
Vector string
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
Severity
HIGH

CVSS 3.1

Type
Primary
Base score
7.5
Impact score
3.6
Exploitability score
3.9
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Severity
HIGH

Weaknesses

security@php.net
CWE-476

Social media

Hype score
Not currently trending
  1. 🚨 Positive Technologies has disclosed two high-severity flaws in PHP's PDO extension: CVE-2025-14180 (CVSS 8.2), a NULL pointer dereference in pdo_pgsql that lets unauthenticated attackers crash PHP worker processes with a malformed byte sequence, and CVE-2025-14179, an SQL

    @techepages

    7 Jul 2026

    28 Impressions

    0 Retweets

    0 Likes

    0 Bookmarks

    0 Replies

    0 Quotes

  2. Two PHP PDO bugs patched in 2025-2026: CVE-2025-14179 enables SQL injection via NUL bytes in pdo_firebird, and CVE-2025-14180 causes a NULL pointer dereference crash in pdo_pgsql, both rooted in unsafe C-level input handling. Key findings: - CVE-2025-14179 (High) hits https://t

    @DFIR_Radar

    6 Jul 2026

    139 Impressions

    0 Retweets

    0 Likes

    0 Bookmarks

    1 Reply

    0 Quotes

  3. 🐘 PHP PDO layer exposed! Aleksey Solovev & Nikita Sveshnikov uncovered 2 flaws: SQL Injection in pdo_firebird (CVE-2025-14179) and DoS in PDO via pdo_pgsql (CVE-2025-14180). https://t.co/rhMd56mWS9 https://t.co/VAhZG5FAmc

    @ptswarm

    6 Jul 2026

    2593 Impressions

    11 Retweets

    25 Likes

    9 Bookmarks

    0 Replies

    0 Quotes

  4. 🟠 HIGH (CVSS 7.5) — CVE-2025-14180 Published: 2025-12-27 php: PHP: Denial of Service via invalid character sequence in PDO PostgreSQL prepared statement 🧬 CVSS 3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H #CVE #CyberSecurity #InfoSec #Vulnerability

    @CVE2026COIN

    22 Jun 2026

    0 Impressions

    0 Retweets

    0 Likes

    0 Bookmarks

    0 Replies

    0 Quotes

  5. Top 5 Trending CVEs: 1 - CVE-2026-44578 2 - CVE-2016-5195 3 - CVE-2026-0073 4 - CVE-2026-20841 5 - CVE-2025-14180 #cve #cvetrends #cveshield #cybersecurity https://t.co/4Fua3CAN6W

    @CVEShield

    15 May 2026

    320 Impressions

    0 Retweets

    1 Like

    0 Bookmarks

    0 Replies

    0 Quotes

  6. ⚠️ Vulnerabilidades en PHP ❗ CVE-2025-14180 ❗ CVE-2025-14178 ❗ CVE-2025-14177 ➡️ Más info: https://t.co/froC0Srbx0 https://t.co/SqVOorvsPd

    @CERTpy

    24 Dec 2025

    106 Impressions

    2 Retweets

    0 Likes

    0 Bookmarks

    0 Replies

    0 Quotes

  7. kusanagi-php82 モジュール更新情報 8.2.30-1 KUSANAGI 9 を構成している各モジュールのアップデートを行いました。 アップデートにより適用される各モジュールのバージョンは、以下のとおりとなります。 php 8.2.30-1

    @kusanagi_saya

    23 Dec 2025

    97 Impressions

    0 Retweets

    2 Likes

    0 Bookmarks

    0 Replies

    0 Quotes

  8. kusanagi-php84 Module Update 8.4.16-1 KUSANAGI 9 modules have been updated. The updated modules are as follows: php 8.4.16-1 This update includes support for vulnerability(CVE-2025-14180, CVE-2025-14178, CVE-2025-14177). The module update can... https://t.co/XHrMr8ucpT

    @kusanagi_saya

    22 Dec 2025

    8 Impressions

    0 Retweets

    0 Likes

    0 Bookmarks

    0 Replies

    0 Quotes

  9. kusanagi-php85 モジュール更新情報 8.5.1-1 KUSANAGI 9 を構成している各モジュールのアップデートを行いました。 アップデートにより適用される各モジュールのバージョンは、以下のとおりとなります。 php 8.5.1-1

    @kusanagi_saya

    22 Dec 2025

    86 Impressions

    1 Retweet

    1 Like

    0 Bookmarks

    0 Replies

    0 Quotes

Configurations

References

Sources include official advisories and independent security research.