PT-2025-27859 · Unknown+11 · Postgresql+11
Andres Freund
·
Published
2025-01-01
·
Updated
2026-02-10
·
CVE-2025-1735
CVSS v3.1
7.5
High
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
PHP versions prior to 8.1.33
PHP versions prior to 8.2.29
PHP versions prior to 8.3.23
PHP versions prior to 8.4
php7.4
php8.2
Description
The
pgsql and pdo pgsql escaping functions do not verify if the underlying quoting functions return errors. This can lead to crashes if the Postgres server rejects a string as invalid.Recommendations
PHP versions prior to 8.1.33: Upgrade to version 8.1.33 or later.
PHP versions prior to 8.2.29: Upgrade to version 8.2.29 or later.
PHP versions prior to 8.3.23: Upgrade to version 8.3.23 or later.
PHP versions prior to 8.4: Upgrade to version 8.4.10 or later.
php7.4: Upgrade to a supported version.
php8.2: Upgrade to a supported version.
Fix
DoS
NULL Pointer Dereference
SQL injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Alt Linux
Almalinux
Debian
Linuxmint
Postgresql
Red Hat
Red Os
Rocky Linux
Suse
Ubuntu
Php7.4
Php8.2