Ubuntu CVE Tracker
UBUNTU-CVE-2025-1735
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:14.04:LTS | php5 | All versions, no fix listed |
| Ubuntu:Pro:16.04:LTS | php7.0 | All versions before 7.0.33-0ubuntu0.16.04.16+esm16 (fixed in 7.0.33-0ubuntu0.16.04.16+esm16) |
| Ubuntu:Pro:18.04:LTS | php7.2 | All versions before 7.2.24-0ubuntu0.18.04.17+esm9 (fixed in 7.2.24-0ubuntu0.18.04.17+esm9) |
| Ubuntu:Pro:20.04:LTS | php7.4 | All versions before 7.4.3-4ubuntu2.29+esm1 (fixed in 7.4.3-4ubuntu2.29+esm1) |
| Ubuntu:22.04:LTS | php8.1 | All versions before 8.1.2-1ubuntu2.22 (fixed in 8.1.2-1ubuntu2.22) |
| Ubuntu:24.04:LTS | php8.3 | All versions before 8.3.6-0ubuntu0.24.04.5 (fixed in 8.3.6-0ubuntu0.24.04.5) |
| Ubuntu:25.10 | php8.4 | All versions before 8.4.11-1ubuntu1 (fixed in 8.4.11-1ubuntu1) |