CVEFinder.io

CVE-2025-1094

âš ī¸ high
Summary

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

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.

CVSS Score
8.1
High
EPSS Score
90.0
Exploit Probability
Published Date
2025-02-13
First Seen: 2026-01-05
📊 Relative Risk Intelligence

This CVE is High Risk - more severe than 76.5% of all 378,548 vulnerabilities in our database.

#88,806
Top 25% most severe
Severity Percentile
đŸŽ¯ CISA SSVC Assessment Updated: Oct 16, 2025
🔍 Exploitation Status
None
No known exploits
âš™ī¸ Automatable
NO
Requires human interaction
đŸ’Ĩ Technical Impact
Total
Complete system compromise possible
🏆 Discovered By
The PostgreSQL project thanks Stephen Fewer, Principal Security Researcher, Rapid7 for reporting this problem.
SSVC data provided by CISA
Last Modified 2026-11-03
CVSS Vector 3.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CWE IDs (Weakness Types)

đŸ“Ļ Affected Products 5

🔗 References 6

🔗 Related CVEs 6

CVE ID Severity CVSS EPSS Summary Published
CVE-2025-12817 â„šī¸ low 3.1 0.2 Missing authorization in PostgreSQL CREATE STATISTICS command allows a table owner to achieve denial of service against ... 2025-11-13
CVE-2025-12818 đŸ”ļ medium 5.9 0.4 Integer wraparound in multiple PostgreSQL libpq client library functions allows an application input provider or network... 2025-11-13
CVE-2025-8713 â„šī¸ low 3.1 0.0 PostgreSQL optimizer statistics allow a user to read sampled data within a view that the user cannot access. Separately... 2025-08-14
CVE-2025-8714 âš ī¸ high 8.8 0.0 Untrusted data inclusion in pg_dump in PostgreSQL allows a malicious superuser of the origin server to inject arbitrary ... 2025-08-14
CVE-2025-8715 âš ī¸ high 8.8 0.0 Improper neutralization of newlines in pg_dump in PostgreSQL allows a user of the origin server to inject arbitrary code... 2025-08-14
CVE-2025-4207 đŸ”ļ medium 5.9 0.1 Buffer over-read in PostgreSQL GB18030 encoding validation allows a database input provider to achieve temporary denial ... 2025-05-08
These CVEs affect the same products