CVE-2025-14180 in Php
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 PQescapeSt...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Php | Php | ≥ 8.1.0, < 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 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-14180 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-233263-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Published | 2025-12-27 |
| Last modified | 2026-10-13 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-476: NULL Pointer Dereference
Software attempts to use a NULL pointer, causing a crash and denial of service.
Analysis AI-written, not human-reviewed
{ "executive_summary": "A vulnerability 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 allows for a null pointer dereference when using the PDO PostgreSQL driver with PDO::ATTR_EMULATE_PREPARES enabled, due to improper handling of invalid character sequences in prepared statement parameters.", "attack_vector_detail": "An attacker can exploit this vulnerability by injecting a specific invalid character sequence (such as \\x99) into a prepared statement parameter when using the PDO PostgreSQL driver with PDO::ATTR_EMULATE_PREPARES enabled. This can lead to a null pointer dereference, potentially resulting in a denial of service or other unspecified impacts.", "affected_components": ["PHP 8.1.* before 8.1.34", "PHP 8.2.* before 8.2.30", "PHP 8.3.* before 8.3.29", "PHP 8
Vulnerability details: 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 CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
Questions
What is CVE-2025-14180?
{ "executive_summary": "A vulnerability 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 allows for a null pointer dereference when using the PDO PostgreSQL driver with PDO::ATTR_EMULATE_PREPARES enabled, due to improper handling of invalid character sequences in prepared statement parameters.", "attack_vector_detail": "An attacker can exploit this vulnerability by injecting a specific invalid character sequence (such
What is the CVSS score for CVE-2025-14180?
CVE-2025-14180 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. EPSS: 0.6%.
Is CVE-2025-14180 actively exploited?
No confirmed active exploitation of CVE-2025-14180 as of 2026-10-14.
How do I remediate CVE-2025-14180?
Priority: MEDIUM. PSIRT: [email protected]
What systems are affected by CVE-2025-14180?
CVE-2025-14180 affects Php Php.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Php","product":"Php","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-13.