CVE-2025-1735

In PHP versions:8.1.* before 8.1.33, 8.2.* before 8.2.29, 8.3.* before 8.3.23, 8.4.* pgsql and pdo_pgsql escaping functions do not check if the underlying quoting functions returned errors. This could cause crashes if Postgres server rejects the string as invalid.
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:*:*:*:*:*:*:*:*

History

22 Jul 2025, 17:04

Type Values Removed Values Added
References () https://github.com/php/php-src/security/advisories/GHSA-hrwm-9436-5mv3 - () https://github.com/php/php-src/security/advisories/GHSA-hrwm-9436-5mv3 - Vendor Advisory
First Time Php php
Php
CPE cpe:2.3:a:php:php:*:*:*:*:*:*:*:*

15 Jul 2025, 13:14

Type Values Removed Values Added
Summary
  • (es) En las versiones de PHP 8.1.* anteriores a la 8.1.33, 8.2.* anteriores a la 8.2.29, 8.3.* anteriores a la 8.3.23 y 8.4.*, las funciones de escape pgsql y pdo_pgsql no comprueban si las funciones de comillas subyacentes devolvieron errores. Esto podría causar fallos si el servidor Postgres rechaza la cadena por inválida.

13 Jul 2025, 23:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-07-13 23:15

Updated : 2025-07-22 17:04


NVD link : CVE-2025-1735

Mitre link : CVE-2025-1735

CVE.ORG link : CVE-2025-1735


JSON object : View

Products Affected

php

  • php
CWE
CWE-89

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

CWE-476

NULL Pointer Dereference