Escaping Function Flaw in PHP Impacts PostgreSQL Integration
CVE-2025-1735
5.9MEDIUM
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
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