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.
Advisories
Source ID Title
Debian DLA Debian DLA DLA-4254-1 php7.4 security update
Debian DSA Debian DSA DSA-5967-1 php8.2 security update
EUVD EUVD EUVD-2025-21273 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.
Ubuntu USN Ubuntu USN USN-7648-1 PHP vulnerabilities
Ubuntu USN Ubuntu USN USN-7648-2 PHP vulnerabilities
Ubuntu USN Ubuntu USN USN-7648-3 PHP regression
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Tue, 04 Nov 2025 22:30:00 +0000

Type Values Removed Values Added
References

Mon, 03 Nov 2025 20:30:00 +0000

Type Values Removed Values Added
References

Tue, 22 Jul 2025 17:15:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:php:php:*:*:*:*:*:*:*:*

Wed, 16 Jul 2025 13:45:00 +0000

Type Values Removed Values Added
Metrics epss

{'score': 0.00052}

epss

{'score': 0.0007}


Mon, 14 Jul 2025 16:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 14 Jul 2025 13:45:00 +0000

Type Values Removed Values Added
Metrics epss

{'score': 0.00052}


Sun, 13 Jul 2025 22:45:00 +0000

Type Values Removed Values Added
Description A flaw was found in PHP. Missing error checking could result in SQL injection, and missing error handling could lead to crashes due to null pointer dereferences. 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.
Title php: pgsql extension does not check for errors during escaping pgsql extension does not check for errors during escaping
Weaknesses CWE-89
Metrics epss

{}


Wed, 09 Jul 2025 00:30:00 +0000

Type Values Removed Values Added
Description A flaw was found in PHP. Missing error checking could result in SQL injection, and missing error handling could lead to crashes due to null pointer dereferences.
Title php: pgsql extension does not check for errors during escaping
Weaknesses CWE-476
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


cve-icon MITRE

Status: PUBLISHED

Assigner: php

Published:

Updated: 2025-11-04T21:09:33.172Z

Reserved: 2025-02-27T04:04:57.553Z

Link: CVE-2025-1735

cve-icon Vulnrichment

Updated: 2025-11-04T21:09:33.172Z

cve-icon NVD

Status : Modified

Published: 2025-07-13T23:15:22.940

Modified: 2025-11-04T22:16:06.457

Link: CVE-2025-1735

cve-icon Redhat

Severity : Moderate

Publid Date: 2025-07-05T00:00:00Z

Links: CVE-2025-1735 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2025-07-16T21:35:35Z