Skip to main content
CVE-2025-1094VulnerabilityPublished Updated

Postgresql 9.3: Improper neutralization of quoting syntax in PostgreSQL libpq functions PQescapeLiteral()

Affects postgresql-9.3Source GCVE Database

0
Compare
Authoritative record:CVE-2025-1094· High 8.1

Public exploit available (Metasploit) · 84% EPSS · CVSS 8.1 High · fixed in 10.23-0ubuntu0.18.04.2+esm3 : patch postgresql-9.3 as a priority.

Data as of 24 Nov 2026, 21:15 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
84.8% chance of exploitation in 30 days – higher than 99% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 10.23-0ubuntu0.18.04.2+esm3, 12.22-0ubuntu0.20.04.2, 14.17-0ubuntu0.22.04.1 +1
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 24 Nov 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
Ubuntu 24.04 LTSpostgresql-16pkg:deb/ubuntu/postgresql-16?arch=source&distro=nobleOther threatsAffected
  • <16.8-0ubuntu0.24.04.1
Fixed in
  • 16.8-0ubuntu0.24.04.1
Ubuntu 22.04 LTSpostgresql-14pkg:deb/ubuntu/postgresql-14?arch=source&distro=jammyOther threatsAffected
  • <14.17-0ubuntu0.22.04.1
Fixed in
  • 14.17-0ubuntu0.22.04.1
Ubuntu 20.04 LTSpostgresql-12pkg:deb/ubuntu/postgresql-12?arch=source&distro=focalOther threatsAffected
  • <12.22-0ubuntu0.20.04.2
Fixed in
  • 12.22-0ubuntu0.20.04.2
Ubuntu Pro 18.04 LTSpostgresql-10pkg:deb/ubuntu/postgresql-10?arch=source&distro=esm-infra/bionicOther threatsAffected
  • <10.23-0ubuntu0.18.04.2+esm3
Fixed in
  • 10.23-0ubuntu0.18.04.2+esm3
Ubuntu Pro 16.04 LTSpostgresql-9.5pkg:deb/ubuntu/postgresql-9.5?arch=source&distro=esm-infra/xenialOther threatsAffected
  • 9.5.0-1 – 9.5.25-0ubuntu0.16.04.1+esm10
34 affected builds
Fixed in–
Ubuntu Pro 14.04 LTSpostgresql-9.3pkg:deb/ubuntu/postgresql-9.3?arch=source&distro=esm-infra-legacy/trustyOther threatsAffected
  • 9.3.1-1 – 9.3.24-0ubuntu0.14.04+esm1
29 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

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.

References

Community reviews

Loading reviews…