Skip to main content
VulnerabilityPublished Updated

CVE-2025-1094: PostgreSQL · Improper Neutralization of Quoting Syntax

Affects PostgreSQLSource CVE Database V5

0
Compare

Public exploit available (Metasploit) · 90% EPSS · CVSS 8.1 High · fixed in 17.3 : patch PostgreSQL as a priority.

Data as of 3 Nov 2026, 22:57 UTC

CVSS 3.1 base score
8.1High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (PostgreSQL)CVSS 3.18.1
EPSS
90.0% chance of exploitation in 30 days – higher than 99% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CISA SSVC
Exploitation
No evidence of active exploitation and no public proof of concept
Automatable
Attackers cannot reliably automate steps 1–4 of the kill chain
Technical impact
Total control over the software or total information disclosure

CISA SSVC assessment, 2025-10-16.

Patch
Available – fixed in 17.3, 16.7, 15.11 +2
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 13 Feb 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: evidence found.

    1 Metasploit module

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 3 Nov 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
PostgreSQLAffected
  • >=17 <17.3
Fixed in
  • 17.3
PostgreSQLAffected
  • >=16 <16.7
Fixed in
  • 16.7
PostgreSQLAffected
  • >=15 <15.11
Fixed in
  • 15.11
PostgreSQLAffected
  • >=14 <14.16
Fixed in
  • 14.16
PostgreSQLAffected
  • <13.19
Fixed in
  • 13.19

AI-suggested

Upgrade PostgreSQL to versions 17.3, 16.7, 15.11, 14.16, or 13.19 or later, where this vulnerability is fixed. No other mitigations are indicated by the vendor advisory. Applying these official fixes fully addresses the issue.

Description

CVE-2025-1094 is a high-severity SQL injection vulnerability in PostgreSQL affecting multiple versions prior to 17.3, 16.7, 15.11, 14.16, and 13.19. It arises from improper neutralization of quoting syntax in libpq functions and command line utilities under certain encoding conditions. Exploitation requires specific usage patterns involving the PostgreSQL interactive terminal (psql) and particular client and server encodings. Public exploit code is available via Metasploit.

References

Community reviews

Loading reviews…