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.
CVE-2025-1094
Score elevated to 9.0 because EPSS predicts 90% probability of exploitation within the next 30 days (top 0.2% of all CVEs). NVD baseline CVSS 8.1 retained for reference. Confidence: see factors.
- High exploitation likelihood — EPSS 90%
A fix is available — apply it.
- CVSS v3
- 8.1
- EG Score
- 9.0(high)
- EG Risk
- 76(Track*)EG Risk 76/100SSVC: Track*
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity90% × 45%Exploitation90% × 40%Automatability0% × 15%Action: Watch closely — could escalate to Attend. - EPSS
- 99.8%
- KEV
- Not listed
Published
February 13, 2025
Last Modified
April 15, 2026
References (6)
- f86ef6dc-4d3a-42ad-8f28-e6d5547a5007https://www.postgresql.org/support/security/CVE-2025-1094/
- af854a3a-2127-422b-91ae-364da2661108http://www.openwall.com/lists/oss-security/2025/02/16/3
- af854a3a-2127-422b-91ae-364da2661108http://www.openwall.com/lists/oss-security/2025/02/20/1
- af854a3a-2127-422b-91ae-364da2661108https://lists.debian.org/debian-lts-announce/2025/02/msg00015.html
- af854a3a-2127-422b-91ae-364da2661108https://lists.debian.org/debian-lts-announce/2025/02/msg00024.html
- af854a3a-2127-422b-91ae-364da2661108https://security.netapp.com/advisory/ntap-20250221-0010/
Vendor Advisories for CVE-2025-1094(20)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- CVE-2025-1094Microsoft Security Response Center (MSRC)High
PostgreSQL quoting APIs miss neutralizing quoting syntax in text that fails encoding validation
- RHSA-2025:3978Red Hat Product SecurityHigh
Red Hat Security Advisory: postgresql security update
- RHSA-2025:3082Red Hat Product SecurityHigh
Red Hat Security Advisory: postgresql:12 security update
- RHSA-2025:3064Red Hat Product SecurityHigh
Red Hat Security Advisory: postgresql:12 security update
- RHSA-2025:3063Red Hat Product SecurityHigh
Red Hat Security Advisory: postgresql:12 security update
- RHSA-2025:3062Red Hat Product SecurityHigh
Red Hat Security Advisory: postgresql:12 security update
- RHSA-2025:3050Red Hat Product SecurityHigh
Red Hat Security Advisory: postgresql:12 security update
- RHSA-2025:1745Red Hat Product SecurityHigh
Red Hat Security Advisory: libpq security update
- +12 more
Patch Availability(30)
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Additional Vendor Advisories
(12)
Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.
- Red HatRHSA-2025:1720IMPORTANT2025-02-13
RHSA-2025:1720 — Important
- Red HatRHSA-2025:1721IMPORTANT2025-02-13
RHSA-2025:1721 — Important
- Red HatRHSA-2025:1722IMPORTANT2025-02-13
RHSA-2025:1722 — Important
- Red HatRHSA-2025:1723IMPORTANT2025-02-13
RHSA-2025:1723 — Important
- Red HatRHSA-2025:1724IMPORTANT2025-02-13
RHSA-2025:1724 — Important
- Red HatRHSA-2025:1725IMPORTANT2025-02-13
RHSA-2025:1725 — Important
- Red HatRHSA-2025:1726IMPORTANT2025-02-13
RHSA-2025:1726 — Important
- Red HatRHSA-2025:1727IMPORTANT2025-02-13
RHSA-2025:1727 — Important
- Red HatRHSA-2025:1728IMPORTANT2025-02-13
RHSA-2025:1728 — Important
- Red HatRHSA-2025:1729IMPORTANT2025-02-13
RHSA-2025:1729 — Important
- Red HatRHSA-2025:1732IMPORTANT2025-02-13
RHSA-2025:1732 — Important
- Red HatRHSA-2025:1733IMPORTANT2025-02-13
RHSA-2025:1733 — Important
Data Freshness Timeline
(refreshed 6× in last 7d / 23× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-23 02:47 UTCEG score recompute
- 2026-07-22 21:21 UTCEG score recompute▲ 0.90
- 2026-07-22 21:21 UTCVendor advisory
- 2026-07-22 21:21 UTCGHSA enrichment
- 2026-07-22 14:07 UTCEPSS rescore
- 2026-07-22 14:07 UTCEPSS rescore
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-15 01:59 UTCEPSS rescore
- 2026-07-15 01:59 UTCEPSS rescore
- 2026-07-13 22:29 UTCEPSS rescore
- 2026-07-13 22:29 UTCEPSS rescore
- 2026-07-13 06:12 UTCEPSS rescore
- 2026-07-12 05:46 UTCEPSS rescore
- 2026-07-12 05:45 UTCEPSS rescore
- 2026-07-11 08:26 UTCEPSS rescore
- 2026-07-11 08:26 UTCEPSS rescore
- 2026-07-10 18:11 UTCOSV refresh
- 2026-07-04 06:30 UTCEPSS rescore
- 2026-07-01 15:06 UTCEPSS rescore
- 2026-06-25 13:49 UTCEPSS rescore
- 2026-06-25 13:49 UTCEPSS rescore
- 2026-06-23 21:32 UTCEPSS rescore
- 2026-06-22 02:07 UTCOSV refresh
- 2026-06-16 17:52 UTCEPSS rescore
Show 34 moreShow fewer
- 2026-06-15 17:48 UTCEPSS rescore
- 2026-06-12 23:11 UTCEPSS rescore
- 2026-06-11 13:59 UTCEPSS rescore
- 2026-06-10 22:18 UTCEPSS rescore
- 2026-06-08 14:16 UTCEPSS rescore
- 2026-06-08 14:16 UTCEPSS rescore
- 2026-06-06 13:47 UTCEPSS rescore
- 2026-06-06 13:47 UTCEPSS rescore
- 2026-06-05 22:46 UTCEPSS rescore
- 2026-06-05 22:46 UTCEPSS rescore
- 2026-06-05 06:10 UTCEPSS rescore
- 2026-06-05 06:10 UTCEPSS rescore
- 2026-06-03 19:09 UTCOSV refresh
- 2026-05-31 00:16 UTCEPSS rescore
- 2026-05-31 00:16 UTCEPSS rescore
- 2026-05-27 13:40 UTCEPSS rescore
- 2026-05-27 13:40 UTCEPSS rescore
- 2026-05-27 13:40 UTCEPSS rescore
- 2026-05-27 13:40 UTCEPSS rescore
- 2026-05-24 16:56 UTCEPSS rescore
- 2026-05-23 15:20 UTCEPSS rescore
- 2026-05-22 21:16 UTCEPSS rescore
- 2026-05-22 21:16 UTCEPSS rescore
- 2026-05-22 21:16 UTCEPSS rescore
- 2026-05-21 17:44 UTCEG score recompute
- 2026-05-21 17:44 UTCVendor advisory
- 2026-05-21 17:43 UTCGHSA enrichment
- 2026-05-21 02:36 UTCOSV refresh
- 2026-05-20 11:21 UTCEPSS rescore
- 2026-05-20 11:21 UTCEPSS rescore
- 2026-05-20 11:21 UTCEPSS rescore
- 2026-05-20 11:21 UTCEPSS rescore
- 2026-05-20 11:21 UTCEPSS rescore
- 2026-05-18 21:30 UTCEPSS rescore
Publicly available exploits
(3 references)Working exploit code is in the public domain (1 Metasploit module) (2 GitHub PoCs). Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.
- Open source ↗GitHub PoCishwardeepp/CVE-2025-1094-PoC-Postgre-SQLiFirst seen Mar 14, 2025
- GitHub PoCsoltanali0/CVE-2025-1094-ExploitFirst seen Feb 27, 2025
WebSocket and SQL Injection Exploit Script
Open source ↗ - Metasploitexploit/linux/http/beyondtrust_pra_rs_unauth_rce✓ verifiedFirst seen Dec 16, 2024
BeyondTrust Privileged Remote Access (PRA) and Remote Support (RS) unauthenticated Remote Code Execution
Open source ↗
Frequently asked(5)
What is CVE-2025-1094?
When was CVE-2025-1094 disclosed?
Is CVE-2025-1094 actively exploited?
What is the CVSS score of CVE-2025-1094?
How do I remediate CVE-2025-1094?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2025-1094
Is Your Infrastructure Affected by CVE-2025-1094?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.