# CVE-2025-1094: PostgreSQL quoting APIs miss neutralizing quoting syntax in text that fails encoding validation

- Severity: High 8.1 (CVSS:3.1, scored by PostgreSQL) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 85.4%, higher than 99% of CVEs (2026-12-01)
- Published: 2025-02-13T13:00:02.061Z
- Modified: 2026-11-03T22:17:33.650Z
- Also known as: BIT-POSTGRESQL-2025-1094
- Weaknesses: CWE-149
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: PostgreSQL

## 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.

(As written by CVE List.)

## Affected

- PostgreSQL: from 17 before 17.3; from 16 before 16.7; from 15 before 15.11; from 14 before 14.16; before 13.19
- postgresql (Bitnami): before 13.19.0; from 14.0.0 before 14.16.0; from 15.0.0 before 15.11.0; from 16.0.0 before 16.7.0; from 17.0.0 before 17.3.0

## Every score

- PostgreSQL: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Bitnami Vulnerability Database: rating High

## References

- <https://www.postgresql.org/support/security/CVE-2025-1094/> (web)
- <https://lists.debian.org/debian-lts-announce/2025/02/msg00015.html> (web)
- <http://www.openwall.com/lists/oss-security/2025/02/16/3> (web)
- <http://www.openwall.com/lists/oss-security/2025/02/20/1> (web)
- <https://lists.debian.org/debian-lts-announce/2025/02/msg00024.html> (web)
- <https://security.netapp.com/advisory/ntap-20250221-0010/> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-1094> (web)

## Sources

- CVE List: [CVE-2025-1094](https://www.cve.org/CVERecord?id=CVE-2025-1094), CVE Terms of Use, modified 2026-11-03
- NVD: [CVE-2025-1094](https://nvd.nist.gov/vuln/detail/CVE-2025-1094), Public domain, modified 2026-11-03
- Bitnami Vulnerability Database: [BIT-POSTGRESQL-2025-1094](https://osv.dev/vulnerability/BIT-POSTGRESQL-2025-1094), Apache-2.0, modified 2025-05-20

---

Page: https://cve.day/CVE-2025-1094 · Whole record: https://cve.day/CVE-2025-1094.json · Rebuilt by cve.day 2026-11-25T22:58:54.065Z
