CVE-2025-1735CWE-476CWE-89

pgsql extension does not check for errors during escaping

Medium · published July 13, 2025

CVSS v3.1
5.9
EPSS
1%
Percentile
62.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.9 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.01000 · 62.5th percentile
Weaknesses
CWE-476 · NULL Pointer Dereference; CWE-89 · Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Published
2025-07-13T22:27Z
EPSS history
Timeline
  • 13 JUL 22:27Z
    pgsql extension does not check for errors during escaping
    cvelistv5