CVE-2025-1094
criticalpriority · track · 42EPSS 0.900 · 100 %ileexploit · weaponizedDEEUNLRUUSEPSS · scored 2026-10-27
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
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · high–critical · 8.1–9.8
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
exploits (7)
Public proof-of-concept and weaponised exploit code.
- PinkArmor/CVE-2025-1094-Lab-SetupPinkArmor/CVE-2025-1094-Lab-SetupPoC · poc_in_github
- TranDongA3/POC-CVE-2025-1094TranDongA3/POC-CVE-2025-1094PoC · poc_in_github
affected products (108)
Products and version ranges known to be affected.
advisories (4)
Vendor and ecosystem advisories describing this.
- NCSC-2025-0063Kwetsbaarheid verholpen in PostgreSQLNL2025-02-19csaf · ncsc_nlNL
Er is een kwetsbaarheid verholpen in PostgreSQL.
- WID-SEC-W-2025-0372PostgreSQL: Schwachstelle ermöglicht SQL Injection und CodeausführungDeutsch2025-02-13csaf · cert_bundDE
Ein entfernter, anonymer Angreifer kann eine Schwachstelle in PostgreSQL ausnutzen, um eine SQL Injection durchzuführen und in der Folge beliebigen Programmcode auszuführen.
- WID-SEC-W-2025-1439Dell Secure Connect Gateway: Mehrere Schwachstellen ermöglichen nicht spezifizierten AngriffDeutsch2025-06-30csaf · cert_bundDE
Ein Angreifer kann mehrere Schwachstellen in Dell Secure Connect Gateway ausnutzen, um einen nicht näher spezifizierten Angriff durchzuführen.
- BIT-postgresql-2025-1094PostgreSQL quoting APIs miss neutralizing quoting syntax in text that fails encoding validation2025-02-17vendor · osvUS
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.
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (12)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/issue/WLB-2025020010cnnvd
- https://lists.debian.org/debian-lts-announce/2025/02/msg00015.htmlcnnvd
- https://vigilance.fr/vulnerability/PostgreSQL-SQL-injection-via-PQescape-Miss-Neutralization-46390cnnvd
- https://www.postgresql.org/docs/release/17.3/Patchcnnvd
- https://www.postgresql.org/support/security/CVE-2025-1094/cnnvd
- https://www.postgresql.org/support/security/CVE-2025-1094/enisa_euvd
- http://www.openwall.com/lists/oss-security/2025/02/16/3nvd
- http://www.openwall.com/lists/oss-security/2025/02/20/1nvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan