| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.9 | $0-$5k | 0.00 |
Summary
A vulnerability has been found in PostgreSQL up to 13.18/14.15/15.10/16.6/17.2 and classified as critical. This impacts the function PQescapeLiteral/PQescapeIdentifier/PQescapeString/PQescapeStringConn. This manipulation causes quoting syntax.
This vulnerability is handled as CVE-2025-1094. The attack can be initiated remotely. There is not any exploit available.
The affected component should be upgraded.
Details
A vulnerability was found in PostgreSQL up to 13.18/14.15/15.10/16.6/17.2. It has been declared as critical. Affected by this vulnerability is the function PQescapeLiteral/PQescapeIdentifier/PQescapeString/PQescapeStringConn. The manipulation with an unknown input leads to a quoting syntax vulnerability. The CWE definition for the vulnerability is CWE-149. Quotes injected into a product can be used to compromise a system. As data are parsed, an injected/absent/duplicate/malformed use of quotes may cause the process to take unexpected actions. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:
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.
It is possible to read the advisory at postgresql.org. This vulnerability is known as CVE-2025-1094 since 02/06/2025. The exploitation appears to be difficult. The attack can be launched remotely. The exploitation doesn't need any form of authentication. Technical details of the vulnerability are known, but there is no available exploit.
It is declared as attacked. The vulnerability scanner Nessus provides a plugin with the ID 216248 (Debian dla-4052 : libecpg-compat3 - security update), which helps to determine the existence of the flaw in a target environment.
Upgrading to version 13.19, 14.16, 15.11, 16.7 or 17.3 eliminates this vulnerability.
The vulnerability is also documented in the databases at Zero-Day.cz (967), Tenable (216248) and CERT Bund (WID-SEC-2025-0372). Be aware that VulDB is the high quality source for vulnerability data.
Affected
- Debian Linux
- Amazon Linux 2
- Red Hat Enterprise Linux
- Ubuntu Linux
- SUSE Linux
- Oracle Linux
- SUSE openSUSE
- RESF Rocky Linux
- Dell NetWorker
- Dell Avamar
- Qlik Sense
- Open Source PostgreSQL
- Progress Software WS_FTP
- IBM QRadar SIEM
- Broadcom Brocade SANnav
Product
Type
Name
Version
- 13.0
- 13.1
- 13.2
- 13.3
- 13.4
- 13.5
- 13.6
- 13.7
- 13.8
- 13.9
- 13.10
- 13.11
- 13.12
- 13.13
- 13.14
- 13.15
- 13.16
- 13.17
- 13.18
- 14.0
- 14.1
- 14.2
- 14.3
- 14.4
- 14.5
- 14.6
- 14.7
- 14.8
- 14.9
- 14.10
- 14.11
- 14.12
- 14.13
- 14.14
- 14.15
- 15.0
- 15.1
- 15.2
- 15.3
- 15.4
- 15.5
- 15.6
- 15.7
- 15.8
- 15.9
- 15.10
- 16.0
- 16.1
- 16.2
- 16.3
- 16.4
- 16.5
- 16.6
- 17.0
- 17.1
- 17.2
License
Website
- Product: https://www.postgresql.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 8.1VulDB Meta Temp Score: 7.9
VulDB Base Score: 8.1
VulDB Temp Score: 7.7
VulDB Vector: 🔍
VulDB Reliability: 🔍
CNA Base Score: 8.1
CNA Vector (PostgreSQL): 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Quoting syntaxCWE: CWE-149 / CWE-20
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Attacked
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 216248
Nessus Name: Debian dla-4052 : libecpg-compat3 - security update
Zero-Day.cz: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: PostgreSQL 13.19/14.16/15.11/16.7/17.3
Timeline
02/06/2025 🔍02/13/2025 🔍
02/13/2025 🔍
08/02/2025 🔍
Sources
Product: postgresql.orgAdvisory: postgresql.org
Status: Confirmed
CVE: CVE-2025-1094 (🔍)
GCVE (CVE): GCVE-0-2025-1094
GCVE (VulDB): GCVE-100-295711
CERT Bund: WID-SEC-2025-0372 - PostgreSQL: Schwachstelle ermöglicht SQL Injection und Codeausführung
scip Labs: https://www.scip.ch/en/?labs.20161013
Entry
Created: 02/13/2025 14:39Updated: 08/02/2025 17:13
Changes: 02/13/2025 14:39 (63), 02/14/2025 10:28 (2), 02/15/2025 20:33 (6), 02/17/2025 01:09 (1), 08/02/2025 17:13 (7)
Complete: 🔍
Cache ID: 216::103
Be aware that VulDB is the high quality source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.