Escaping Function Flaw in PHP Impacts PostgreSQL Integration
CVE-2025-1735

5.9MEDIUM

Key Information:

Vendor

PHP Group

Status
Vendor
CVE Published:
13 July 2025

Badges

đź“° News Worthy

What is CVE-2025-1735?

The recent vulnerability in PHP affects versions 8.1.* through 8.4.* where the pgsql and pdo_pgsql escaping functions fail to validate if underlying quoting functions execute successfully. This oversight could potentially lead to application crashes, particularly when the PostgreSQL server does not accept a string due to it being deemed invalid. Developers should ensure they are using the latest PHP versions to mitigate the risks associated with this flaw.

Affected Version(s)

PHP 8.1.*

PHP 8.1.* < 8.1.33

PHP 8.2.* < 8.2.29

News Articles

Multiple PHP Vulnerabilities Allow SQL Injection & DoS Attacks - Update Now

Critical security vulnerabilities have been discovered in PHP that could allow attackers to execute SQL injection attacks.

1 week ago

References

CVSS V3.1

Score:
5.9
Severity:
MEDIUM
Confidentiality:
None
Integrity:
None
Availability:
None
Attack Vector:
Network
Attack Complexity:
High
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • đź“°

    First article discovered by CyberSecurityNews

  • Vulnerability Reserved

Credit

Andres Freund
.
CVE-2025-1735 : Escaping Function Flaw in PHP Impacts PostgreSQL Integration