← back
CVE-2025-1094highobserved exploitationCWE-149

PostgreSQL quoting APIs miss neutralizing quoting syntax in text that fails encoding validation

100Vexday Risk Score

Patch now. It exploitation observed by VulnCheck and has a working public exploit.

ssvc Actcvss 8.1epss 90%
from disclosure to weapon125 days
Published on NVDFeb 13
1st PoC+125d
metasploitDec 16
VulnCheckFeb 13
exploitation probability
90%top 1% of all CVEs
observed exploitation
yesVulnCheck
5 public exploit(s)
What the vendors declare (VEX)

Official vendor statements in CSAF/VEX format: whether their product is affected, already fixed, or ruled out — and why. These are the vendor's assertions, not Vexday's judgment.

Affected
1 product (11 components)
Red Hat Enterprise Linux 6
workaround: To mitigate, apply PostgreSQL patches once available. Until then: 1. Validate UTF-8 encoding: Reject inputs containing invalid UTF-8 sequences before passing to psql. 2…
Fixed
18 products (3,374 components)
Red Hat Enterprise Linux AppStream (v. 8) · Red Hat Enterprise Linux AppStream EUS (v.8.8) · Red Hat Enterprise Linux AppStream (v. 9) · Red Hat Enterprise Linux AppStream EUS (v.9.4) · Red Hat Enterprise Linux AppStream E4S (v.8.6) · and others 13
Not affected
1 product (19 components) — because the vulnerable code is not present in the product
Red Hat Enterprise Linux 10
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.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products
n/a · PostgreSQL
⚠ Public resources, to assess the exposure of systems you control or are authorized to test. Test only with authorization.