CVE-2025-1735
Unknown
Unknown - Not Provided
BaseFortify
Publication date: 2025-07-13
Last updated on: 2025-11-04
Assigner: PHP Group
Description
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.
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| php | php | From 8.1.0 (inc) to 8.1.33 (exc) |
| php | php | From 8.2.0 (inc) to 8.2.29 (exc) |
| php | php | From 8.3.0 (inc) to 8.3.23 (exc) |
| php | php | From 8.4.0 (inc) to 8.4.10 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-89 | The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data. |
| CWE-476 | The product dereferences a pointer that it expects to be valid but is NULL. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability occurs in certain PHP versions where the pgsql and pdo_pgsql escaping functions do not properly check if the underlying quoting functions returned errors. As a result, if the Postgres server rejects a string as invalid, it could cause the PHP application to crash.
How can this vulnerability impact me? :
The vulnerability can cause crashes in PHP applications that use the affected pgsql and pdo_pgsql escaping functions when the Postgres server rejects invalid strings. This can lead to denial of service or application instability.
Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70