CVE-2025-14180CWE-476

CVE-2025-14180

High · published December 28, 2025

CVSS v3.1
7.5
EPSS
1%
Percentile
52.5
In the wild
Unconfirmed
What it is

⚡ A single invalid character in a prepared statement can lead to a server crash! This vulnerability in PHP’s PDO PostgreSQL driver is like a tiny pebble causing a massive avalanche. 🔥 Think of it as a restaurant kitchen where one rogue ingredient gets mixed into a recipe nobody else checks—when that happens, it can ruin dinner for everyone! Here, the PDO::ATTR_EMULATE_PREPARES flag can cause a null pointer dereference, just like a broken link in a chain reaction that brings the whole kitchen to a halt. If exploited, this vulnerability can lead to segmentation faults and crashes, rendering your server unavailable when you need it most. It's like a power outage during the busiest dinner rush—absolutely devastating!

Put simply

Think of it as a restaurant kitchen where one rogue ingredient gets mixed into a recipe nobody else checks—when that happens, it can ruin dinner for everyone! Here, the PDO::ATTR_EMULATE_PREPARES flag can cause a null pointer dereference, just like a broken link in a chain reaction that brings the whole kitchen to a halt. 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, and 8.5.* before 8.5.1, using the PDO PostgreSQL driver with PDO::ATTR_EMULATE_PREPARES enabled can result in a null pointer dereference due to problematic character sequences in prepared statement parameters.

What to do

If exploited, this vulnerability can lead to segmentation faults and crashes, rendering your server unavailable when you need it most. It's like a power outage during the busiest dinner rush—absolutely devastating! To safeguard your server, upgrade to PHP version 8.1.34, 8.2.30, 8.3.29, 8.4.16, or 8.5.1 at your earliest convenience. Make sure to review your existing code for potential invalid character sequences that could trigger this issue. 🛡️ You've got this! Follow these steps, and you'll be back on track in no time. 🌟

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00697 · 52.5th percentile
Weakness
CWE-476 · NULL Pointer Dereference
Published
2025-12-28T01:15Z
Affected products (5)
ProductVersionsFixed in
php/php≥ 8.1.0, < 8.1.348.1.34
php/php≥ 8.2.0, < 8.2.308.2.30
php/php≥ 8.3.0, < 8.3.298.3.29
php/php≥ 8.4.0, < 8.4.168.4.16
php/php≥ 8.5.0, < 8.5.18.5.1
References (1)
EPSS history
Timeline
  • 27 DEC 19:21Z
    NULL Pointer Dereference in PDO quoting
    cvelistv5