CVE-2025-1094
published high CVSS 3.1 · 8.1PostgreSQL quoting APIs miss neutralizing quoting syntax in text that fails encoding validation
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | PostgreSQL17 to < 17.3 · 16 to < 16.7 · 15 to < 15.11 · 14 to < 14.16 · 0 to < 13.19 · Other versions: unaffected | Affected | Not stated | PostgreSQL |
| Amazon Linux | AL2 | Release evaluationALAS2-2025-2866 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2POSTGRESQL13-2025-009 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2POSTGRESQL13-2025-010 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2POSTGRESQL14-2025-016 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2POSTGRESQL14-2025-017 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | libpq | Advisory build | 13.20-1.el8_10 | ALSA-2025:1737 |
| AlmaLinux | 8 | libpq-devel | Advisory build | 13.20-1.el8_10 | ALSA-2025:1737 |
Show 101 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-868 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-869 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-870 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | pg_repack | Advisory build | 1.4.6-3.module_el8.6.0+2760+1746ec94 | ALSA-2025:1736 |
| AlmaLinux | 8 | pg_repack | Advisory build | 1.4.6-3.module_el8.9.0+3704+f1f917ce | ALSA-2025:1736 |
| AlmaLinux | 8 | pg_repack | Advisory build | 1.4.6-3.module_el8.9.0+3704+f1f917ce | ALSA-2025:3082 |
| AlmaLinux | 8 | pg_repack | Advisory build | 1.4.8-1.module_el8.10.0+3798+606ebb9f | ALSA-2025:1739 |
| AlmaLinux | 8 | pg_repack | Advisory build | 1.4.8-1.module_el8.9.0+3706+885c732e | ALSA-2025:1739 |
| AlmaLinux | 8 | pg_repack | Advisory build | 1.5.1-1.module_el8.10.0+3930+ecf33554 | ALSA-2025:1740 |
| AlmaLinux | 8 | pgaudit | Advisory build | 1.4.0-7.module_el8.10.0+3889+48cb11fb.alma.1 | ALSA-2025:3082 |
| AlmaLinux | 8 | pgaudit | Advisory build | 1.4.0-7.module_el8.9.0+3740+0e74851f.alma.1 | ALSA-2025:3082 |
| AlmaLinux | 8 | pgaudit | Advisory build | 1.5.0-1.module_el8.6.0+2760+1746ec94 | ALSA-2025:1736 |
| AlmaLinux | 8 | pgaudit | Advisory build | 1.5.0-1.module_el8.6.0+3095+ee60d910 | ALSA-2025:1736 |
| AlmaLinux | 8 | pgaudit | Advisory build | 1.7.0-1.module_el8.9.0+3706+885c732e | ALSA-2025:1739 |
| AlmaLinux | 8 | pgaudit | Advisory build | 16.0-1.module_el8.10.0+3798+606ebb9f | ALSA-2025:1740 |
| AlmaLinux | 8 | postgres-decoderbufs | Advisory build | 0.10.0-2.module_el8.6.0+2760+1746ec94 | ALSA-2025:1736 |
| AlmaLinux | 8 | postgres-decoderbufs | Advisory build | 0.10.0-2.module_el8.6.0+3095+ee60d910 | ALSA-2025:1736 |
| AlmaLinux | 8 | postgres-decoderbufs | Advisory build | 0.10.0-2.module_el8.9.0+3704+f1f917ce | ALSA-2025:1736 |
| AlmaLinux | 8 | postgres-decoderbufs | Advisory build | 0.10.0-2.module_el8.9.0+3704+f1f917ce | ALSA-2025:3082 |
| AlmaLinux | 8 | postgres-decoderbufs | Advisory build | 1.9.7-1.Final.module_el8.9.0+3706+885c732e | ALSA-2025:1739 |
| AlmaLinux | 8 | postgres-decoderbufs | Advisory build | 2.4.0-1.Final.module_el8.10.0+3798+606ebb9f | ALSA-2025:1740 |
| AlmaLinux | 8 | postgresql | Advisory build | 12.22-3.module_el8.10.0+3971+15b81305 | ALSA-2025:3082 |
| AlmaLinux | 8 | postgresql | Advisory build | 13.20-1.module_el8.10.0+3967+334cd65a | ALSA-2025:1736 |
| AlmaLinux | 8 | postgresql | Advisory build | 15.12-1.module_el8.10.0+3968+5ca3d05a | ALSA-2025:1739 |
| AlmaLinux | 8 | postgresql | Advisory build | 16.8-1.module_el8.10.0+3969+2c3c9353 | ALSA-2025:1740 |
| AlmaLinux | 8 | postgresql-contrib | Advisory build | 12.22-3.module_el8.10.0+3971+15b81305 | ALSA-2025:3082 |
| AlmaLinux | 8 | postgresql-contrib | Advisory build | 13.20-1.module_el8.10.0+3967+334cd65a | ALSA-2025:1736 |
| AlmaLinux | 8 | postgresql-contrib | Advisory build | 15.12-1.module_el8.10.0+3968+5ca3d05a | ALSA-2025:1739 |
| AlmaLinux | 8 | postgresql-contrib | Advisory build | 16.8-1.module_el8.10.0+3969+2c3c9353 | ALSA-2025:1740 |
| AlmaLinux | 8 | postgresql-docs | Advisory build | 12.22-3.module_el8.10.0+3971+15b81305 | ALSA-2025:3082 |
| AlmaLinux | 8 | postgresql-docs | Advisory build | 13.20-1.module_el8.10.0+3967+334cd65a | ALSA-2025:1736 |
| AlmaLinux | 8 | postgresql-docs | Advisory build | 15.12-1.module_el8.10.0+3968+5ca3d05a | ALSA-2025:1739 |
| AlmaLinux | 8 | postgresql-docs | Advisory build | 16.8-1.module_el8.10.0+3969+2c3c9353 | ALSA-2025:1740 |
| AlmaLinux | 8 | postgresql-plperl | Advisory build | 12.22-3.module_el8.10.0+3971+15b81305 | ALSA-2025:3082 |
| AlmaLinux | 8 | postgresql-plperl | Advisory build | 13.20-1.module_el8.10.0+3967+334cd65a | ALSA-2025:1736 |
| AlmaLinux | 8 | postgresql-plperl | Advisory build | 15.12-1.module_el8.10.0+3968+5ca3d05a | ALSA-2025:1739 |
| AlmaLinux | 8 | postgresql-plperl | Advisory build | 16.8-1.module_el8.10.0+3969+2c3c9353 | ALSA-2025:1740 |
| AlmaLinux | 8 | postgresql-plpython3 | Advisory build | 12.22-3.module_el8.10.0+3971+15b81305 | ALSA-2025:3082 |
| AlmaLinux | 8 | postgresql-plpython3 | Advisory build | 13.20-1.module_el8.10.0+3967+334cd65a | ALSA-2025:1736 |
| AlmaLinux | 8 | postgresql-plpython3 | Advisory build | 15.12-1.module_el8.10.0+3968+5ca3d05a | ALSA-2025:1739 |
| AlmaLinux | 8 | postgresql-plpython3 | Advisory build | 16.8-1.module_el8.10.0+3969+2c3c9353 | ALSA-2025:1740 |
| AlmaLinux | 8 | postgresql-pltcl | Advisory build | 12.22-3.module_el8.10.0+3971+15b81305 | ALSA-2025:3082 |
| AlmaLinux | 8 | postgresql-pltcl | Advisory build | 13.20-1.module_el8.10.0+3967+334cd65a | ALSA-2025:1736 |
| AlmaLinux | 8 | postgresql-pltcl | Advisory build | 15.12-1.module_el8.10.0+3968+5ca3d05a | ALSA-2025:1739 |
| AlmaLinux | 8 | postgresql-pltcl | Advisory build | 16.8-1.module_el8.10.0+3969+2c3c9353 | ALSA-2025:1740 |
| AlmaLinux | 8 | postgresql-private-devel | Advisory build | 15.12-1.module_el8.10.0+3968+5ca3d05a | ALSA-2025:1739 |
| AlmaLinux | 8 | postgresql-private-devel | Advisory build | 16.8-1.module_el8.10.0+3969+2c3c9353 | ALSA-2025:1740 |
| AlmaLinux | 8 | postgresql-private-libs | Advisory build | 15.12-1.module_el8.10.0+3968+5ca3d05a | ALSA-2025:1739 |
| AlmaLinux | 8 | postgresql-private-libs | Advisory build | 16.8-1.module_el8.10.0+3969+2c3c9353 | ALSA-2025:1740 |
| AlmaLinux | 8 | postgresql-server | Advisory build | 12.22-3.module_el8.10.0+3971+15b81305 | ALSA-2025:3082 |
| AlmaLinux | 8 | postgresql-server | Advisory build | 13.20-1.module_el8.10.0+3967+334cd65a | ALSA-2025:1736 |
| AlmaLinux | 8 | postgresql-server | Advisory build | 15.12-1.module_el8.10.0+3968+5ca3d05a | ALSA-2025:1739 |
| AlmaLinux | 8 | postgresql-server | Advisory build | 16.8-1.module_el8.10.0+3969+2c3c9353 | ALSA-2025:1740 |
| AlmaLinux | 8 | postgresql-server-devel | Advisory build | 12.22-3.module_el8.10.0+3971+15b81305 | ALSA-2025:3082 |
| AlmaLinux | 8 | postgresql-server-devel | Advisory build | 13.20-1.module_el8.10.0+3967+334cd65a | ALSA-2025:1736 |
| AlmaLinux | 8 | postgresql-server-devel | Advisory build | 15.12-1.module_el8.10.0+3968+5ca3d05a | ALSA-2025:1739 |
| AlmaLinux | 8 | postgresql-server-devel | Advisory build | 16.8-1.module_el8.10.0+3969+2c3c9353 | ALSA-2025:1740 |
| AlmaLinux | 8 | postgresql-static | Advisory build | 12.22-3.module_el8.10.0+3971+15b81305 | ALSA-2025:3082 |
| AlmaLinux | 8 | postgresql-static | Advisory build | 13.20-1.module_el8.10.0+3967+334cd65a | ALSA-2025:1736 |
| AlmaLinux | 8 | postgresql-static | Advisory build | 15.12-1.module_el8.10.0+3968+5ca3d05a | ALSA-2025:1739 |
| AlmaLinux | 8 | postgresql-static | Advisory build | 16.8-1.module_el8.10.0+3969+2c3c9353 | ALSA-2025:1740 |
| AlmaLinux | 8 | postgresql-test | Advisory build | 12.22-3.module_el8.10.0+3971+15b81305 | ALSA-2025:3082 |
| AlmaLinux | 8 | postgresql-test | Advisory build | 13.20-1.module_el8.10.0+3967+334cd65a | ALSA-2025:1736 |
| AlmaLinux | 8 | postgresql-test | Advisory build | 15.12-1.module_el8.10.0+3968+5ca3d05a | ALSA-2025:1739 |
| AlmaLinux | 8 | postgresql-test | Advisory build | 16.8-1.module_el8.10.0+3969+2c3c9353 | ALSA-2025:1740 |
| AlmaLinux | 8 | postgresql-test-rpm-macros | Advisory build | 12.22-3.module_el8.10.0+3971+15b81305 | ALSA-2025:3082 |
| AlmaLinux | 8 | postgresql-test-rpm-macros | Advisory build | 13.20-1.module_el8.10.0+3967+334cd65a | ALSA-2025:1736 |
| AlmaLinux | 8 | postgresql-test-rpm-macros | Advisory build | 15.12-1.module_el8.10.0+3968+5ca3d05a | ALSA-2025:1739 |
| AlmaLinux | 8 | postgresql-test-rpm-macros | Advisory build | 16.8-1.module_el8.10.0+3969+2c3c9353 | ALSA-2025:1740 |
| AlmaLinux | 8 | postgresql-upgrade | Advisory build | 12.22-3.module_el8.10.0+3971+15b81305 | ALSA-2025:3082 |
| AlmaLinux | 8 | postgresql-upgrade | Advisory build | 13.20-1.module_el8.10.0+3967+334cd65a | ALSA-2025:1736 |
| AlmaLinux | 8 | postgresql-upgrade | Advisory build | 15.12-1.module_el8.10.0+3968+5ca3d05a | ALSA-2025:1739 |
| AlmaLinux | 8 | postgresql-upgrade | Advisory build | 16.8-1.module_el8.10.0+3969+2c3c9353 | ALSA-2025:1740 |
| AlmaLinux | 8 | postgresql-upgrade-devel | Advisory build | 12.22-3.module_el8.10.0+3971+15b81305 | ALSA-2025:3082 |
| AlmaLinux | 8 | postgresql-upgrade-devel | Advisory build | 13.20-1.module_el8.10.0+3967+334cd65a | ALSA-2025:1736 |
| AlmaLinux | 8 | postgresql-upgrade-devel | Advisory build | 15.12-1.module_el8.10.0+3968+5ca3d05a | ALSA-2025:1739 |
| AlmaLinux | 8 | postgresql-upgrade-devel | Advisory build | 16.8-1.module_el8.10.0+3969+2c3c9353 | ALSA-2025:1740 |
| AlmaLinux | 9 | libpq | Advisory build | 13.20-1.el9_5 | ALSA-2025:1738 |
| AlmaLinux | 9 | libpq-devel | Advisory build | 13.20-1.el9_5 | ALSA-2025:1738 |
| AlmaLinux | 9 | pg_repack | Advisory build | 1.4.8-2.module_el9.5.0+120+4533eb20 | ALSA-2025:1741 |
| AlmaLinux | 9 | pg_repack | Advisory build | 1.5.1-1.module_el9.5.0+127+50ff03a9 | ALSA-2025:1743 |
| AlmaLinux | 9 | pg_repack | Advisory build | 1.5.1-1.module_el9.5.0+128+1095dce2 | ALSA-2025:1743 |
| AlmaLinux | 9 | pgaudit | Advisory build | 1.7.0-1.module_el9.3.0+52+21733919 | ALSA-2025:1741 |
| AlmaLinux | 9 | pgaudit | Advisory build | 16.0-1.module_el9.4.0+66+eb9878bc | ALSA-2025:1743 |
| AlmaLinux | 9 | pgvector | Advisory build | 0.6.2-1.module_el9.5.0+120+4533eb20 | ALSA-2025:1743 |
| AlmaLinux | 9 | postgres-decoderbufs | Advisory build | 1.9.7-1.Final.module_el9.3.0+52+21733919 | ALSA-2025:1741 |
| AlmaLinux | 9 | postgres-decoderbufs | Advisory build | 2.4.0-1.Final.module_el9.4.0+66+eb9878bc | ALSA-2025:1743 |
| AlmaLinux | 9 | postgresql | Advisory build | 13.20-1.el9_5 | ALSA-2025:1742 |
| AlmaLinux | 9 | postgresql | Advisory build | 15.12-1.module_el9.5.0+140+e3f03d9d | ALSA-2025:1741 |
| AlmaLinux | 9 | postgresql | Advisory build | 16.8-1.module_el9.5.0+141+f4b0f9b7 | ALSA-2025:1743 |
| AlmaLinux | 9 | postgresql-contrib | Advisory build | 13.20-1.el9_5 | ALSA-2025:1742 |
| AlmaLinux | 9 | postgresql-contrib | Advisory build | 15.12-1.module_el9.5.0+140+e3f03d9d | ALSA-2025:1741 |
| AlmaLinux | 9 | postgresql-contrib | Advisory build | 16.8-1.module_el9.5.0+141+f4b0f9b7 | ALSA-2025:1743 |
| AlmaLinux | 9 | postgresql-docs | Advisory build | 13.20-1.el9_5 | ALSA-2025:1742 |
| AlmaLinux | 9 | postgresql-docs | Advisory build | 15.12-1.module_el9.5.0+140+e3f03d9d | ALSA-2025:1741 |
| AlmaLinux | 9 | postgresql-docs | Advisory build | 16.8-1.module_el9.5.0+141+f4b0f9b7 | ALSA-2025:1743 |
| AlmaLinux | 9 | postgresql-plperl | Advisory build | 13.20-1.el9_5 | ALSA-2025:1742 |
| AlmaLinux | 9 | postgresql-plperl | Advisory build | 15.12-1.module_el9.5.0+140+e3f03d9d | ALSA-2025:1741 |
| AlmaLinux | 9 | postgresql-plperl | Advisory build | 16.8-1.module_el9.5.0+141+f4b0f9b7 | ALSA-2025:1743 |
| AlmaLinux | 9 | postgresql-plpython3 | Advisory build | 13.20-1.el9_5 | ALSA-2025:1742 |
| AlmaLinux | 9 | postgresql-plpython3 | Advisory build | 15.12-1.module_el9.5.0+140+e3f03d9d | ALSA-2025:1741 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Showing the first 100 linked advisory records.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.1 / 10
- Severity
- high
- Provider
- PostgreSQL · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | PostgreSQL | 17 to < 17.3 (affected · rpm)16 to < 16.7 (affected · rpm)15 to < 15.11 (affected · rpm)14 to < 14.16 (affected · rpm)0 to < 13.19 (affected · rpm)Default: unaffected | PostgreSQL · cna |
Weaknesses
1- CWE-149 Improper Neutralization of Quoting Syntax
References
6- http://www.openwall.com/lists/oss-security/2025/02/16/3
- http://www.openwall.com/lists/oss-security/2025/02/20/1
- https://lists.debian.org/debian-lts-announce/2025/02/msg00015.html
- https://lists.debian.org/debian-lts-announce/2025/02/msg00024.html
- https://security.netapp.com/advisory/ntap-20250221-0010/
- https://www.postgresql.org/support/security/CVE-2025-1094/
Provider assertions
3PostgreSQL · cna
PostgreSQL quoting APIs miss neutralizing quoting syntax in text that fails encoding validation
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 67efda2ea8ad5f370ee8f86e25c1d34dc02ec3889f65da9470a75f36273d9150
- Ingested
- 03 Nov 2026, 21:59:19 UTC
- Source record
- Official CVE record