Description
Cleartext storage in PostgreSQL pgcrypto disabled ciphers allows a user to recover cleartext, via direct observation of the faulty ciphertext. The OpenSSL version and OpenSSL configuration determine the disabled ciphers. If the application accepts encrypted data as input, decryption will succeed even with the wrong key. This in turn loses the modest protection from the Modification Detection Code (MDC). Affected functions are pgp_sym_encrypt, pgp_sym_decrypt, pgp_pub_encrypt, pgp_pub_decrypt, pgp_sym_encrypt_bytea, pgp_sym_decrypt_bytea, pgp_pub_encrypt_bytea, and pgp_pub_decrypt_bytea. Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | PostgreSQL | 18 – < 18.6, 17 – < 17.11, 16 – < 16.15, 15 – < 15.19, < 14.24 | 18.6 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | postgresql-18 | 18.6-1 | — |
| Debian 13 | postgresql-17 | 17.11-0+deb13u1 | — |
| Debian 12 | postgresql-15 | 15.19-0+deb12u1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.04 LTS | postgresql-18 | 18.6-0ubuntu0.26.04.1 | USN-8653-1 |
| Ubuntu 24.04 LTS | postgresql-16 | 16.15-0ubuntu0.24.04.1 | USN-8653-1 |
| Ubuntu 22.04 LTS | postgresql-14 | 14.24-0ubuntu0.22.04.1 | USN-8653-1 |
| Ubuntu 20.04 LTS | postgresql-12 | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | postgresql-10 | No fix yet | — |
| Ubuntu Pro 16.04 LTS | postgresql-9.5 | No fix yet | — |
| Ubuntu Pro 14.04 LTS | postgresql-9.3 | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Hardened Images 1 | postgresql +14 | 18.6-0.1.hum1 | RHSA-2026:54751 |
| Red Hat Hardened Images 1 | postgresql17 +14 | 17.11-1.hum1 | RHSA-2026:57198 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | postgresql14 | 14.24-150600.16.36.1 | SUSE-SU-2026:3944-1 |
| SLES 15 SP7 | postgresql15 | 15.19-150600.16.36.1 | SUSE-SU-2026:4017-1 |
| SLES 15 SP7 | postgresql16 | 16.15-150600.16.38.1 | SUSE-SU-2026:3963-1 |
| SLES 15 SP7 | postgresql17 | 17.11-150600.13.32.1 | SUSE-SU-2026:4016-1 |
| SLES 15 SP7 | postgresql18 | 18.6-150600.13.16.1 | SUSE-SU-2026:4014-1 |
| SLES 15 SP6 | postgresql14 | 14.24-150600.16.36.1 | SUSE-SU-2026:3944-1 |
| SLES 15 SP6 | postgresql15 | 15.19-150600.16.36.1 | SUSE-SU-2026:4017-1 |
| SLES 15 SP6 | postgresql16 | 16.15-150600.16.38.1 | SUSE-SU-2026:3963-1 |
| SLES 15 SP6 | postgresql17 | 17.11-150600.13.32.1 | SUSE-SU-2026:4016-1 |
| SLES 15 SP6 | postgresql18 | 18.6-150600.13.16.1 | SUSE-SU-2026:4014-1 |
| SLES 15 SP5 | postgresql14 | 14.24-150200.5.77.1 | SUSE-SU-2026:3941-1 |
| SLES 15 SP5 | postgresql15 | 15.19-150200.5.62.1 | SUSE-SU-2026:4018-1 |
| SLES 15 SP5 | postgresql16 | 16.15-150200.5.49.1 | SUSE-SU-2026:3943-1 |
| SLES 15 SP5 | postgresql17 | 17.11-150200.5.33.1 | SUSE-SU-2026:4013-1 |
| SLES 15 SP5 | postgresql18 | 18.6-150200.5.17.1 | SUSE-SU-2026:4015-1 |
| SLES 15 SP4 | postgresql14 | 14.24-150200.5.77.1 | SUSE-SU-2026:3941-1 |
| SLES 15 SP4 | postgresql15 | 15.19-150200.5.62.1 | SUSE-SU-2026:4018-1 |
| SLES 15 SP4 | postgresql16 | 16.15-150200.5.49.1 | SUSE-SU-2026:3943-1 |
| SLES 15 SP4 | postgresql17 | 17.11-150200.5.33.1 | SUSE-SU-2026:4013-1 |
| SLES 15 SP4 | postgresql18 | 18.6-150200.5.17.1 | SUSE-SU-2026:4015-1 |
| SLES 12 SP5 | postgresql14 | 14.24-3.75.1 | SUSE-SU-2026:3793-1 |
| SLES 12 SP5 | postgresql15 | 15.19-3.61.1 | SUSE-SU-2026:3940-1 |
| SLES 12 SP5 | postgresql16 | 16.15-3.47.1 | SUSE-SU-2026:3794-1 |
| SLES 12 SP5 | postgresql18 | 18.6-8.17.1 | SUSE-SU-2026:3942-1 |
Show 7 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 16.0 | postgresql14 | 14.24-160000.1.1 | SUSE-SU-2026:23578-1 |
| SLES for SAP 16.0 | postgresql15 | 15.19-160000.1.1 | SUSE-SU-2026:23579-1 |
| SLES for SAP 16.0 | postgresql16 | 16.15-160000.1.1 | SUSE-SU-2026:23580-1 |
| SLES for SAP 16.0 | postgresql17 | 17.11-160000.1.1 | SUSE-SU-2026:23582-1 |
| SLES for SAP 16.0 | postgresql18 | 18.6-160000.1.1 | SUSE-SU-2026:23577-1 |
| SLES for SAP 15 SP6 | postgresql14 | 14.24-150600.16.36.1 | SUSE-SU-2026:3944-1 |
| SLES for SAP 15 SP6 | postgresql15 | 15.19-150600.16.36.1 | SUSE-SU-2026:4017-1 |
| SLES for SAP 15 SP6 | postgresql16 | 16.15-150600.16.38.1 | SUSE-SU-2026:3963-1 |
| SLES for SAP 15 SP6 | postgresql17 | 17.11-150600.13.32.1 | SUSE-SU-2026:4016-1 |
| SLES for SAP 15 SP6 | postgresql18 | 18.6-150600.13.16.1 | SUSE-SU-2026:4014-1 |
| SLES for SAP 15 SP5 | postgresql14 | 14.24-150200.5.77.1 | SUSE-SU-2026:3941-1 |
| SLES for SAP 15 SP5 | postgresql15 | 15.19-150200.5.62.1 | SUSE-SU-2026:4018-1 |
| SLES for SAP 15 SP5 | postgresql16 | 16.15-150200.5.49.1 | SUSE-SU-2026:3943-1 |
| SLES for SAP 15 SP5 | postgresql17 | 17.11-150200.5.33.1 | SUSE-SU-2026:4013-1 |
| SLES for SAP 15 SP5 | postgresql18 | 18.6-150200.5.17.1 | SUSE-SU-2026:4015-1 |
| SLES for SAP 15 SP4 | postgresql14 | 14.24-150200.5.77.1 | SUSE-SU-2026:3941-1 |
| SLES for SAP 15 SP4 | postgresql15 | 15.19-150200.5.62.1 | SUSE-SU-2026:4018-1 |
| SLES for SAP 15 SP4 | postgresql16 | 16.15-150200.5.49.1 | SUSE-SU-2026:3943-1 |
| SLES for SAP 15 SP4 | postgresql17 | 17.11-150200.5.33.1 | SUSE-SU-2026:4013-1 |
| SLES for SAP 15 SP4 | postgresql18 | 18.6-150200.5.17.1 | SUSE-SU-2026:4015-1 |
| SLES 16.0 | postgresql14 | 14.24-160000.1.1 | SUSE-SU-2026:23578-1 |
| SLES 16.0 | postgresql15 | 15.19-160000.1.1 | SUSE-SU-2026:23579-1 |
| SLES 16.0 | postgresql16 | 16.15-160000.1.1 | SUSE-SU-2026:23580-1 |
| SLES 16.0 | postgresql17 | 17.11-160000.1.1 | SUSE-SU-2026:23582-1 |
| SLES 16.0 | postgresql18 | 18.6-160000.1.1 | SUSE-SU-2026:23577-1 |
| SLE HPC 15 SP5 | postgresql15 | 15.19-150200.5.62.1 | SUSE-SU-2026:4018-1 |
| SLE HPC 15 SP5 | postgresql16 | 16.15-150200.5.49.1 | SUSE-SU-2026:3943-1 |
| SLE HPC 15 SP5 | postgresql17 | 17.11-150200.5.33.1 | SUSE-SU-2026:4013-1 |
| SLE HPC 15 SP5 | postgresql18 | 18.6-150200.5.17.1 | SUSE-SU-2026:4015-1 |
| SLE HPC 15 SP4 | postgresql14 | 14.24-150200.5.77.1 | SUSE-SU-2026:3941-1 |
| SLE HPC 15 SP4 | postgresql15 | 15.19-150200.5.62.1 | SUSE-SU-2026:4018-1 |
| SLE HPC 15 SP4 | postgresql16 | 16.15-150200.5.49.1 | SUSE-SU-2026:3943-1 |
| SLE HPC 15 SP4 | postgresql17 | 17.11-150200.5.33.1 | SUSE-SU-2026:4013-1 |
| SLE HPC 15 SP4 | postgresql18 | 18.6-150200.5.17.1 | SUSE-SU-2026:4015-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | postgresql14 | 14.24-1.1 | openSUSE-SU-2026:11552-1 |
| openSUSE Tumbleweed | postgresql15 | 15.19-1.1 | openSUSE-SU-2026:11553-1 |
| openSUSE Tumbleweed | postgresql16 | 16.15-1.1 | openSUSE-SU-2026:11554-1 |
| openSUSE Tumbleweed | postgresql17 | 17.11-1.1 | openSUSE-SU-2026:11555-1 |
| openSUSE Tumbleweed | postgresql18 | 18.6-1.1 | openSUSE-SU-2026:11565-1 |
| openSUSE Leap 16.0 | postgresql14 | 14.24-160000.1.1 | openSUSE-SU-2026:21699-1 |
| openSUSE Leap 16.0 | postgresql15 | 15.19-160000.1.1 | openSUSE-SU-2026:21700-1 |
| openSUSE Leap 16.0 | postgresql16 | 16.15-160000.1.1 | openSUSE-SU-2026:21701-1 |
| openSUSE Leap 16.0 | postgresql17 | 17.11-160000.1.1 | openSUSE-SU-2026:21702-1 |
| openSUSE Leap 16.0 | postgresql18 +1 | 18.6-160000.1.1 | openSUSE-SU-2026:21703-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | postgresql16 | 16.15-r0 | — |
| Alpine v3.24 | postgresql17 | 17.11-r0 | — |
| Alpine v3.24 | postgresql18 | 18.5-r0 | — |
| Alpine v3.23 | postgresql16 | 16.15-r0 | — |
| Alpine v3.23 | postgresql17 | 17.11-r0 | — |
| Alpine v3.23 | postgresql18 | 18.5-r0 | — |
| Alpine v3.22 | postgresql15 | 15.19-r0 | — |
| Alpine v3.22 | postgresql16 | 16.15-r0 | — |
| Alpine v3.22 | postgresql17 | 17.11-r0 | — |
| Alpine v3.21 | postgresql15 | 15.19-r0 | — |
| Alpine v3.21 | postgresql16 | 16.15-r0 | — |
| Alpine v3.21 | postgresql17 | 17.11-r0 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | postgresql15 +15 | 15.19-1.amzn2023.0.1 | ALAS2023-2026-2077 |
| Amazon Linux 2023 | postgresql16 +15 | 16.15-1.amzn2023.0.1 | ALAS2023-2026-2078 |
| Amazon Linux 2023 | postgresql17 +15 | 17.11-1.amzn2023.0.1 | ALAS2023-2026-2076 |
| Amazon Linux 2023 | postgresql18 +15 | 18.6-1.amzn2023.0.1 | ALAS2023-2026-2079 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | postgresql | 16.15-1 | — |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | postgresql-14 +1 | 14.24-r0 | — |
| Wolfi rolling | postgresql-15 +1 | 15.19-r0 | — |
| Wolfi rolling | postgresql-16 +1 | 16.15-r0 | — |
| Wolfi rolling | postgresql-17 +1 | 17.11-r0 | — |
| Wolfi rolling | postgresql-18 +1 | 18.6-r0 | — |
Advisories 37
- WID-SEC-2026-2844 PostgreSQL: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 18, 2026
- RHSA-2026:57198 Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update Red Hat Security Advisories (RHSA) · Oct 6, 2026
- RHSA-2026:54751 Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update Red Hat Security Advisories (RHSA) · Oct 6, 2026
- SUSE-SU-2026:23580-1 Security update for postgresql16 SUSE / openSUSE Security Updates · Sep 29, 2026
- SUSE-SU-2026:23582-1 Security update for postgresql17 SUSE / openSUSE Security Updates · Sep 29, 2026
- SUSE-SU-2026:23579-1 Security update for postgresql15 SUSE / openSUSE Security Updates · Sep 29, 2026
- SUSE-SU-2026:23577-1 Security update for postgresql18 SUSE / openSUSE Security Updates · Sep 29, 2026
- SUSE-SU-2026:23578-1 Security update for postgresql14 SUSE / openSUSE Security Updates · Sep 29, 2026
- SUSE-SU-2026:4013-1 Security update for postgresql17 SUSE / openSUSE Security Updates · Sep 13, 2026
- SUSE-SU-2026:4014-1 Security update for postgresql18 SUSE / openSUSE Security Updates · Sep 13, 2026
- SUSE-SU-2026:4015-1 Security update for postgresql18 SUSE / openSUSE Security Updates · Sep 13, 2026
- SUSE-SU-2026:4016-1 Security update for postgresql17 SUSE / openSUSE Security Updates · Sep 13, 2026
- SUSE-SU-2026:4017-1 Security update for postgresql15 SUSE / openSUSE Security Updates · Sep 13, 2026
- SUSE-SU-2026:4018-1 Security update for postgresql15 SUSE / openSUSE Security Updates · Sep 13, 2026
- SUSE-SU-2026:3963-1 Security update for postgresql16 SUSE / openSUSE Security Updates · Sep 13, 2026
- SUSE-SU-2026:3944-1 Security update for postgresql14 SUSE / openSUSE Security Updates · Sep 10, 2026
- SUSE-SU-2026:3942-1 Security update for postgresql18 SUSE / openSUSE Security Updates · Sep 10, 2026
- SUSE-SU-2026:3943-1 Security update for postgresql16 SUSE / openSUSE Security Updates · Sep 10, 2026
- SUSE-SU-2026:3940-1 Security update for postgresql15 SUSE / openSUSE Security Updates · Sep 10, 2026
- SUSE-SU-2026:3941-1 Security update for postgresql14 SUSE / openSUSE Security Updates · Sep 10, 2026
- openSUSE-SU-2026:21702-1 Security update for postgresql17 SUSE / openSUSE Security Updates · Aug 31, 2026
- openSUSE-SU-2026:21699-1 Security update for postgresql14 SUSE / openSUSE Security Updates · Aug 31, 2026
- openSUSE-SU-2026:21700-1 Security update for postgresql15 SUSE / openSUSE Security Updates · Aug 31, 2026
- openSUSE-SU-2026:21701-1 Security update for postgresql16 SUSE / openSUSE Security Updates · Aug 31, 2026
- openSUSE-SU-2026:21703-1 Security update for postgresql18 SUSE / openSUSE Security Updates · Aug 31, 2026
- ALAS2023-2026-2076 Important: postgresql17 security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Aug 31, 2026
- ALAS2023-2026-2077 Important: postgresql15 security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Aug 31, 2026
- ALAS2023-2026-2078 Important: postgresql16 security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Aug 31, 2026
- ALAS2023-2026-2079 Important: postgresql18 security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Aug 31, 2026
- SUSE-SU-2026:3793-1 Security update for postgresql14 SUSE / openSUSE Security Updates · Aug 27, 2026
- SUSE-SU-2026:3794-1 Security update for postgresql16 SUSE / openSUSE Security Updates · Aug 27, 2026
- openSUSE-SU-2026:11565-1 libecpg6-18.6-1.1 on GA media SUSE / openSUSE Security Updates · Aug 22, 2026
- openSUSE-SU-2026:11552-1 postgresql14-14.24-1.1 on GA media SUSE / openSUSE Security Updates · Aug 21, 2026
- openSUSE-SU-2026:11555-1 postgresql17-17.11-1.1 on GA media SUSE / openSUSE Security Updates · Aug 21, 2026
- openSUSE-SU-2026:11553-1 postgresql15-15.19-1.1 on GA media SUSE / openSUSE Security Updates · Aug 21, 2026
- openSUSE-SU-2026:11554-1 postgresql16-16.15-1.1 on GA media SUSE / openSUSE Security Updates · Aug 21, 2026
- USN-8653-1 postgresql-14, postgresql-16, postgresql-18 vulnerabilities Ubuntu Security Notices (USN) · Aug 20, 2026