CVE-2025-1094 | PostgreSQL quoting APIs miss neutralizing quoting syntax in text that fails encoding validation

Improper neutralization of quoting syntax in PostgreSQL libpq functions PQescapeLiteral(), PQescapeIdentifier(), PQescapeString(), and PQescapeStringConn() allows a database input provider to achieve SQL injection in certain usage patterns. Specifically, SQL injection requires the application to use the function result to construct input to psql, the PostgreSQL interactive terminal. Similarly, improper neutralization of quoting syntax in PostgreSQL command line utility programs allows a source of command line arguments to achieve SQL injection when client_encoding is BIG5 and server_encoding is one of EUC_TW or MULE_INTERNAL. Versions before PostgreSQL 17.3, 16.7, 15.11, 14.16, and 13.19 are affected.

Published: 2025-02-13 Last update: 2026-04-15 Assigner: f86ef6dc-4d3a-42ad-8f28-e6d5547a5007 Source: f86ef6dc-4d3a-42ad-8f28-e6d5547a5007

Conclusion & alert: CVE-2025-1094 is rated High Risk (66.9/100): CVSS High severity, with high exploitation likelihood (EPSS 82.36%, 99th percentile). Core evidence: EPSS ranks this CVE among the most likely to be exploited in the near term. Mandatory action: High exploitation likelihood—assess exposure and prioritize 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-1094

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-07 82.59% 82.36% -0.23%
2 2026-05-04 83.36% 82.59% -0.77%
3 2026-04-24 83.36%

Full EPSS history (48 records total)

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

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
8.1 3.1 HIGH
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/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:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
2.2 5.9 f86ef6dc-4d3a-42ad-8f28-e6d5547a5007

Weakness enumeration for CVE-2025-1094

OS Trackers for CVE-2025-1094

vendor priority summary link
alpine high CVE-2025-1094: 5 source package rows (postgresql, postgresql14, postgresql15, postgresql16, postgresql17); 34 state rows across 9 repos (3.18-main, 3.19-main, 3.20-main, 3.21-community, 3.21-main, 3.22-community, 3.22-main, edge-community, edge-main); fixed 16, open 18. https://security.alpinelinux.org/vuln/CVE-2025-1094
debian not yet assigned CVE-2025-1094 not yet assigned priority: Debian including 3 source packages (postgresql-13, postgresql-15, postgresql-17), 3 status rows across 3 suites (bookworm, bullseye, trixie): resolved 3. https://security-tracker.debian.org/tracker/CVE-2025-1094
redhat high https://access.redhat.com/security/cve/CVE-2025-1094
suse high CVE-2025-1094 severity important: SUSE including 589 source package names (0:libpq5-17.4-150600.13.10.1, 16.9-13.5:libpq5-17.4-150600.13.10.1, …), 1354 product×package rows across 52 product lines (Container containers/open-webui, Container private-registry/harbor-db, … (52 product lines)): Fixed 1123, Known Affected 231. https://www.suse.com/security/cve/CVE-2025-1094/
ubuntu medium CVE-2025-1094 medium priority: Ubuntu including 7 source packages (postgresql-10, postgresql-12, …), 52 status rows across 10 suites (bionic, focal, jammy, noble, oracular, plucky, questing, trusty, upstream, xenial): DNE 36, released 8, ignored 4, not-affected 2, deferred 1, needs-triage 1. https://ubuntu.com/security/CVE-2025-1094

Affected software / configurations for CVE-2025-1094

Vendor Product Version Raw CPE
No affected products in dataset.

References for CVE-2025-1094

cvelogic Threat Intelligence