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
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.
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.
Tue, Nov 17, 2026
- DetectionNessus plugin 370448: Oracle Linux 8 : php:7.4 (ELSA-2026-87080)Tenable
Sun, Oct 25, 2026
Sun, Jul 13, 2025
- CVECVE-2025-1735 published (CVSS 7.5)CVE Program · 23:15 UTC
References 3
- github.com Vendor Advisory /php/php-src/security/advisories/GHSA-hrwm-9436-5mv3
- www.openwall.com /lists/oss-security/2025/07/11/4
- lists.debian.org /debian-lts-announce/2025/07/msg00017.html