Process crash via unchecked failed PDO quoting
Published Dec 27, 2025 · Updated Dec 27, 2025
PHP PDO null pointer dereference allows remote attackers to crash vulnerable processes via malformed PostgreSQL statement parameters. In pdo_parse_params(), PQescapeStringConn can return NULL for an invalid byte sequence, but ZSTR_LEN dereferences the failed quoting result. The PDO PostgreSQL driver must process attacker-controlled data with PDO::ATTR_EMULATE_PREPARES enabled; a crash interrupts that PHP process and can stop concurrent requests in ZTS mode.
Summary
What happened
PHP PDO null pointer dereference allows remote attackers to crash vulnerable processes via malformed PostgreSQL statement parameters. In pdo_parse_params(), PQescapeStringConn can return NULL for an invalid byte sequence, but ZSTR_LEN dereferences the failed quoting result. The PDO PostgreSQL driver must process attacker-controlled data with PDO::ATTR_EMULATE_PREPARES enabled; a crash interrupts that PHP process and can stop concurrent requests in ZTS mode.
The record
- CVE
- CVE-2025-14180
- Published
- Dec 27, 2025
- Updated
- Dec 27, 2025
- Vendor
- The PHP Group
- Product
- PHP
- Classifications
- CWE-476, T1499
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Dec 27, 2025CVE publishedPublication date reported by the CVE source.
- Dec 27, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=8.1.* <8.1.34
- Affected versionversion=8.2.* <8.2.30
- Affected versionversion=8.3.* <8.3.29
- Affected versionversion=8.4.* <8.4.16
- Affected versionversion=8.5.* <8.5.1
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
- PDO PostgreSQL malformed-parameter crash reproductionproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo