ZeroDay Brief
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.

CVSS
7.5High
Chance of exploitation (EPSS)
1.2%
Published
Jul 13, 2025
In the news
Not yet
Vendor advisory More from this vendor

What to do

A serious SQL injection flaw in PHP that can be attacked over the network without logging in. No attacks are reported yet; it can go in your normal patch cycle.

Action: Apply the vendor's update or follow its advisory.

Fixed in: 8.1.33, 8.2.29, 8.3.23, 8.4.10

Affected versions
PHP
8.1.* to before 8.1.33; 8.2.* to before 8.2.29; 8.3.* to before 8.3.23; 8.4.* to before 8.4.10

Description

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.

CWE-89CWE-476

Affected products

Get alerts for these →

Timeline 4

Latest change: Nessus plugin 370448: Oracle Linux 8 : php:7.4 (ELSA-2026-87080) (Nov 16, 2026)

News, advisories, exploit code, scanner detection and exploitation, newest first.

References 3

You are leaving ZeroDay Brief

This link goes to exploit code on a third-party site. We find these links automatically and do not test, review or vouch for them. They may contain malware or fake exploits.

We are not responsible for anything that happens if you open the page or run its code. Never run exploit code on systems you care about.

↑ ↓ moveEnter openEsc closeTry “CVE-2026”, “fortinet” or “ivanti”