CVE-2025-1735 | pgsql extension does not check for errors during escaping

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.

Published: 2025-07-13 Last update: 2025-11-04 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2025-1735 is rated Moderate Risk (48.3/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 0.59%). Mandatory action: Review affected assets and schedule remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2025-1735

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-05-09 0.15% 0.59% +0.44%
2 2026-04-08 0.06% 0.15% +0.09%
3 2025-11-28 0.06%

Full EPSS history (11 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2025-1735

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
5.9 3.1 MEDIUM
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:H)
Even with access, the exploit needs extra luck, timing, or a fussy environment to actually work.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
2.2 3.6 [email protected]
7.5 3.1 HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
3.9 3.6 [email protected]

Weakness enumeration for CVE-2025-1735

OS Trackers for CVE-2025-1735

vendor priority summary link
alpine medium CVE-2025-1735: 3 source package rows (php82, php83, php84); 7 state rows across 2 repos (3.22-community, edge-community); fixed 7, open 0. https://security.alpinelinux.org/vuln/CVE-2025-1735
debian not yet assigned CVE-2025-1735 not yet assigned priority: Debian including 3 source packages (php7.4, php8.2, php8.4), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2025-1735
redhat medium https://access.redhat.com/security/cve/CVE-2025-1735
suse medium CVE-2025-1735 severity moderate: SUSE including 351 source package names (apache2-mod_php7-7.4.33-150400.4.51.1, apache2-mod_php8-8.0.30-150400.4.57.1, …), 1291 product×package rows across 20 product lines (SUSE Liberty Linux 8, SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS, … (20 product lines)): Fixed 1291. https://www.suse.com/security/cve/CVE-2025-1735/
ubuntu medium CVE-2025-1735 medium priority: Ubuntu including 7 source packages (php5, php7.0, …), 46 status rows across 10 suites (bionic, focal, jammy, noble, oracular, plucky, questing, trusty, upstream, xenial): DNE 30, released 10, needs-triage 5, ignored 1. https://ubuntu.com/security/CVE-2025-1735

Affected software / configurations for CVE-2025-1735

Vendor Product Version Raw CPE
php php >= 8.1.0, < 8.1.33 cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
php php >= 8.2.0, < 8.2.29 cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
php php >= 8.3.0, < 8.3.23 cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
php php >= 8.4.0, < 8.4.10 cpe:2.3:a:php:php:*:*:*:*:*:*:*:*

References for CVE-2025-1735

cvelogic Threat Intelligence