CVE-2025-1735
pgsql extension does not check for errors during escaping
7.5
HIGH
CVSS 3.1
EPSS 0.59%
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.
How to fix CVE-2025-1735
To remediate CVE-2025-1735, upgrade the affected package to a fixed version below.
- —upgrade to 8.1.33 or later
- —upgrade to 8.1.33 or later
- —upgrade to 8.1.33 or later
- —upgrade to 7.4.33-1+deb11u9 or later
- —upgrade to 8.2.29-1~deb12u1 or later
- —upgrade to 8.4.10-1 or later
Is CVE-2025-1735 being exploited?
Low — EPSS is 0.6%, meaning exploitation activity has not been observed at scale.
Affected packages (6)
- from 0, < 8.1.33, >= 8.2.0, < 8.2.29, >= 8.3.0, < 8.3.23, >= 8.4.0, < 8.4.10
- from 0, < 8.1.33, >= 8.2.0, < 8.2.29, >= 8.3.0, < 8.3.23, >= 8.4.0, < 8.4.10
- from 0, < 8.1.33, >= 8.2.0, < 8.2.29, >= 8.3.0, < 8.3.23, >= 8.4.0, < 8.4.10
- from 0, < 7.4.33-1+deb11u9
- from 0, < 8.2.29-1~deb12u1
- from 0, < 8.4.10-1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |