CVE-2025-14180

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.
References
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*

History

13 Oct 2026, 09:10

Type Values Removed Values Added
Summary
  • (es) En las versiones de PHP 8.1.* anteriores a la 8.1.34, 8.2.* anteriores a la 8.2.30, 8.3.* anteriores a la 8.3.29, 8.4.* anteriores a la 8.4.16, 8.5.* anteriores a la 8.5.1, al usar el controlador PDO PostgreSQL con PDO::ATTR_EMULATE_PREPARES habilitado, una secuencia de caracteres no válida (como \x99) en un parámetro de una sentencia preparada puede hacer que la función de escape PQescapeStringConn devuelva NULL, lo que lleva a una desreferencia de puntero nulo en la función pdo_parse_params(). Esto puede provocar fallos (fallo de segmentación) y afectar la disponibilidad del servidor objetivo.

Information

Published : 2025-12-27 20:15

Updated : 2026-10-13 09:10


NVD link : CVE-2025-14180

Mitre link : CVE-2025-14180

CVE.ORG link : CVE-2025-14180


JSON object : View

Products Affected

php

  • php
CWE
CWE-476

NULL Pointer Dereference