PostgreSQL quoting APIs miss neutralizing quoting syntax in text that fails encoding validation
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| n/a | PostgreSQL | unaffected |
|
No data.
| Package | CPE | Advisory | Released Date |
|---|---|---|---|
| Red Hat Enterprise Linux 7 Extended Lifecycle Support | |||
| postgresql-0:9.2.24-9.el7_9.3 | cpe:/o:redhat:rhel_els:7 | RHSA-2025:3978 | 2025-04-17T00:00:00Z |
| Red Hat Enterprise Linux 8 | |||
| postgresql:13-8100020250219110026.489197e6 | cpe:/a:redhat:enterprise_linux:8 | RHSA-2025:1736 | 2025-02-20T00:00:00Z |
| libpq-0:13.20-1.el8_10 | cpe:/a:redhat:enterprise_linux:8 | RHSA-2025:1737 | 2025-02-20T00:00:00Z |
| postgresql:15-8100020250218154242.489197e6 | cpe:/a:redhat:enterprise_linux:8 | RHSA-2025:1739 | 2025-02-20T00:00:00Z |
| postgresql:16-8100020250218110357.489197e6 | cpe:/a:redhat:enterprise_linux:8 | RHSA-2025:1740 | 2025-02-20T00:00:00Z |
| postgresql:12-8100020250319175311.489197e6 | cpe:/a:redhat:enterprise_linux:8 | RHSA-2025:3082 | 2025-03-20T00:00:00Z |
| Red Hat Enterprise Linux 8.2 Advanced Update Support | |||
| libpq-0:12.7-1.el8_2.2 | cpe:/a:redhat:rhel_aus:8.2 | RHSA-2025:1720 | 2025-02-20T00:00:00Z |
| postgresql:12-8020020250318123402.4cda2c84 | cpe:/a:redhat:rhel_aus:8.2 | RHSA-2025:3063 | 2025-03-20T00:00:00Z |
| Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | |||
| postgresql:13-8040020250218192842.522a0ee4 | cpe:/a:redhat:rhel_aus:8.4 | RHSA-2025:1724 | 2025-02-20T00:00:00Z |
| libpq-0:13.20-1.el8_4 | cpe:/a:redhat:rhel_aus:8.4 | RHSA-2025:1735 | 2025-02-20T00:00:00Z |
| postgresql:12-8040020250318163425.522a0ee4 | cpe:/a:redhat:rhel_aus:8.4 | RHSA-2025:3062 | 2025-03-20T00:00:00Z |
| Red Hat Enterprise Linux 8.4 Telecommunications Update Service | |||
| postgresql:13-8040020250218192842.522a0ee4 | cpe:/a:redhat:rhel_tus:8.4 | RHSA-2025:1724 | 2025-02-20T00:00:00Z |
| libpq-0:13.20-1.el8_4 | cpe:/a:redhat:rhel_tus:8.4 | RHSA-2025:1735 | 2025-02-20T00:00:00Z |
| postgresql:12-8040020250318163425.522a0ee4 | cpe:/a:redhat:rhel_tus:8.4 | RHSA-2025:3062 | 2025-03-20T00:00:00Z |
| Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions | |||
| postgresql:13-8040020250218192842.522a0ee4 | cpe:/a:redhat:rhel_e4s:8.4 | RHSA-2025:1724 | 2025-02-20T00:00:00Z |
| libpq-0:13.20-1.el8_4 | cpe:/a:redhat:rhel_e4s:8.4 | RHSA-2025:1735 | 2025-02-20T00:00:00Z |
| postgresql:12-8040020250318163425.522a0ee4 | cpe:/a:redhat:rhel_e4s:8.4 | RHSA-2025:3062 | 2025-03-20T00:00:00Z |
| Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support | |||
| postgresql:13-8060020250218173011.ad008a3a | cpe:/a:redhat:rhel_aus:8.6 | RHSA-2025:1723 | 2025-02-20T00:00:00Z |
| libpq-0:13.20-1.el8_6 | cpe:/a:redhat:rhel_aus:8.6 | RHSA-2025:1745 | 2025-02-20T00:00:00Z |
| postgresql:12-8060020250318121325.ad008a3a | cpe:/a:redhat:rhel_aus:8.6 | RHSA-2025:3064 | 2025-03-20T00:00:00Z |
| Red Hat Enterprise Linux 8.6 Telecommunications Update Service | |||
| postgresql:13-8060020250218173011.ad008a3a | cpe:/a:redhat:rhel_tus:8.6 | RHSA-2025:1723 | 2025-02-20T00:00:00Z |
| libpq-0:13.20-1.el8_6 | cpe:/a:redhat:rhel_tus:8.6 | RHSA-2025:1745 | 2025-02-20T00:00:00Z |
| postgresql:12-8060020250318121325.ad008a3a | cpe:/a:redhat:rhel_tus:8.6 | RHSA-2025:3064 | 2025-03-20T00:00:00Z |
| Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions | |||
| postgresql:13-8060020250218173011.ad008a3a | cpe:/a:redhat:rhel_e4s:8.6 | RHSA-2025:1723 | 2025-02-20T00:00:00Z |
| libpq-0:13.20-1.el8_6 | cpe:/a:redhat:rhel_e4s:8.6 | RHSA-2025:1745 | 2025-02-20T00:00:00Z |
| postgresql:12-8060020250318121325.ad008a3a | cpe:/a:redhat:rhel_e4s:8.6 | RHSA-2025:3064 | 2025-03-20T00:00:00Z |
| Red Hat Enterprise Linux 8.8 Extended Update Support | |||
| postgresql:15-8080020250218151741.63b34585 | cpe:/a:redhat:rhel_eus:8.8 | RHSA-2025:1721 | 2025-02-20T00:00:00Z |
| postgresql:13-8080020250218141334.63b34585 | cpe:/a:redhat:rhel_eus:8.8 | RHSA-2025:1729 | 2025-02-20T00:00:00Z |
| libpq-0:13.20-1.el8_8 | cpe:/a:redhat:rhel_eus:8.8 | RHSA-2025:1744 | 2025-02-20T00:00:00Z |
| postgresql:12-8080020250318115906.63b34585 | cpe:/a:redhat:rhel_eus:8.8 | RHSA-2025:3050 | 2025-03-20T00:00:00Z |
| Red Hat Enterprise Linux 9 | |||
| libpq-0:13.20-1.el9_5 | cpe:/a:redhat:enterprise_linux:9 | RHSA-2025:1738 | 2025-02-20T00:00:00Z |
| postgresql:15-9050020250218090615.rhel9 | cpe:/a:redhat:enterprise_linux:9 | RHSA-2025:1741 | 2025-02-20T00:00:00Z |
| postgresql-0:13.20-1.el9_5 | cpe:/a:redhat:enterprise_linux:9 | RHSA-2025:1742 | 2025-02-20T00:00:00Z |
| postgresql:16-9050020250218075302.rhel9 | cpe:/a:redhat:enterprise_linux:9 | RHSA-2025:1743 | 2025-02-20T00:00:00Z |
| Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions | |||
| libpq-0:13.20-1.el9_0 | cpe:/a:redhat:rhel_e4s:9.0 | RHSA-2025:1725 | 2025-02-20T00:00:00Z |
| postgresql-0:13.20-1.el9_0 | cpe:/a:redhat:rhel_e4s:9.0 | RHSA-2025:1728 | 2025-02-20T00:00:00Z |
| Red Hat Enterprise Linux 9.2 Extended Update Support | |||
| postgresql:15-9020020250218153429.rhel9 | cpe:/a:redhat:rhel_eus:9.2 | RHSA-2025:1722 | 2025-02-20T00:00:00Z |
| postgresql-0:13.20-1.el9_2 | cpe:/a:redhat:rhel_eus:9.2 | RHSA-2025:1727 | 2025-02-20T00:00:00Z |
| libpq-0:13.20-1.el9_2 | cpe:/a:redhat:rhel_eus:9.2 | RHSA-2025:1733 | 2025-02-20T00:00:00Z |
| Red Hat Enterprise Linux 9.4 Extended Update Support | |||
| postgresql-0:13.20-1.el9_4 | cpe:/a:redhat:rhel_eus:9.4 | RHSA-2025:1726 | 2025-02-20T00:00:00Z |
| postgresql:15-9040020250218181918.rhel9 | cpe:/a:redhat:rhel_eus:9.4 | RHSA-2025:1730 | 2025-02-20T00:00:00Z |
| postgresql:16-9040020250218200209.rhel9 | cpe:/a:redhat:rhel_eus:9.4 | RHSA-2025:1731 | 2025-02-20T00:00:00Z |
| libpq-0:13.20-1.el9_4 | cpe:/a:redhat:rhel_eus:9.4 | RHSA-2025:1732 | 2025-02-20T00:00:00Z |
No data available yet.
Vendor Workaround
Confirm input passes encoding validation before quoting it.
| Source | ID | Title |
|---|---|---|
Debian DLA |
DLA-4052-1 | postgresql-13 security update |
Debian DLA |
DLA-4052-2 | postgresql-13 regression update |
Debian DLA |
DLA-4254-1 | php7.4 security update |
Ubuntu USN |
USN-7315-1 | PostgreSQL vulnerability |
Ubuntu USN |
USN-7315-2 | PostgreSQL vulnerability |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: 90.0% (90.030% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
epss
|
epss
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
epss
|
epss
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Redhat rhel Els
|
|
| CPEs | cpe:/o:redhat:rhel_els:7 | |
| Vendors & Products |
Redhat rhel Els
|
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Redhat
Redhat enterprise Linux Redhat rhel Aus Redhat rhel E4s Redhat rhel Eus Redhat rhel Tus |
|
| CPEs | cpe:/a:redhat:enterprise_linux:8 cpe:/a:redhat:enterprise_linux:9 cpe:/a:redhat:rhel_aus:8.2 cpe:/a:redhat:rhel_aus:8.4 cpe:/a:redhat:rhel_aus:8.6 cpe:/a:redhat:rhel_e4s:8.4 cpe:/a:redhat:rhel_e4s:8.6 cpe:/a:redhat:rhel_e4s:9.0 cpe:/a:redhat:rhel_eus:8.8 cpe:/a:redhat:rhel_eus:9.2 cpe:/a:redhat:rhel_eus:9.4 cpe:/a:redhat:rhel_tus:8.4 cpe:/a:redhat:rhel_tus:8.6 |
|
| Vendors & Products |
Redhat
Redhat enterprise Linux Redhat rhel Aus Redhat rhel E4s Redhat rhel Eus Redhat rhel Tus |
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
threat_severity
|
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | PostgreSQL quoting APIs miss neutralizing quoting syntax in text that fails encoding validation | |
| Weaknesses | CWE-149 | |
| References |
| |
| Metrics |
cvssV3_1
|