Description
An information leak was discovered in postgresql in versions before 13.2, before 12.6 and before 11.11. A user having UPDATE permission but not SELECT permission to a particular column could craft queries which, under some circumstances, might disclose values from that column in error messages. An attacker could use this flaw to obtain information stored in a column they are allowed to write but not read.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | postgresql | postgresql 13.2, postgresql 12.6, postgresql 11.11 | — |
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 11 | postgresql-13 | 13.2-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | postgresql-12 | 12.6-0ubuntu0.20.04.1 | USN-4735-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 8 | pgaudit | 1.4.0-6.module+el8.4.0+11288+c193d6d7 | RHSA-2021:2372 |
| RHEL 8 | postgres-decoderbufs | 0.10.0-2.module+el8.4.0+11288+c193d6d7 | RHSA-2021:2372 |
| RHEL 8 | postgresql +12 | 12.7-1.module+el8.4.0+11288+c193d6d7 | RHSA-2021:2372 |
| RHEL 3 | rh-postgresql12-postgresql +13 | 12.7-1.el7 | RHSA-2021:2394 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 8.2 EUS | pgaudit | 1.4.0-4.module+el8.2.0+9043+1dbb5661 | RHSA-2021:2389 |
| RHEL 8.2 EUS | postgres-decoderbufs | 0.10.0-2.module+el8.2.0+9043+1dbb5661 | RHSA-2021:2389 |
| RHEL 8.2 EUS | postgresql +12 | 12.7-1.module+el8.2.0+11251+7a3cc531 | RHSA-2021:2389 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 8 | postgres-decoderbufs | 0.10.0-2.module_el8.6.0+2758+4f4474df | ALSA-2021:2372 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 8 | pgaudit | 1.4.0-6.module+el8.4.0+587+d46efd10 | RLSA-2021:2372 |
| Rocky Linux 8 | postgres-decoderbufs | 0.10.0-2.module+el8.4.0+424+71d47d9a | RLSA-2021:2372 |
| Rocky Linux 8 | postgresql | 12.7-1.module+el8.4.0+545+ca56da2e | RLSA-2021:2372 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP2 | postgresql12 | 12.6-8.16.1 | SUSE-SU-2021:0544-1 |
| SLES 15 SP2 | postgresql13 | 13.2-5.6.1 | SUSE-SU-2021:0543-1 |
| SLES 15 SP1 | postgresql12 | 12.6-3.21.4 | SUSE-SU-2021:0695-1 |
| SLES 12 SP5 | postgresql12 | 12.7-3.15.3 | SUSE-SU-2021:1783-1 |
| SLES 12 SP5 | postgresql13 | 13.2-3.6.1 | SUSE-SU-2021:0545-1 |
Show 7 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 15 SP1 | postgresql12 | 12.6-3.21.4 | SUSE-SU-2021:0695-1 |
| SLES for SAP 12 SP5 | postgresql12 | 12.7-3.15.3 | SUSE-SU-2021:1783-1 |
| SLES for SAP 12 SP5 | postgresql13 | 13.2-3.6.1 | SUSE-SU-2021:0545-1 |
| SLE HPC 15 SP1 | postgresql12 | 12.6-3.21.4 | SUSE-SU-2021:0695-1 |
| SUSE Manager Server 4.0 | postgresql12 | 12.6-3.21.4 | SUSE-SU-2021:0695-1 |
| SUSE Manager Retail Branch Server 4.0 | postgresql12 | 12.6-3.21.4 | SUSE-SU-2021:0695-1 |
| SUSE Manager Proxy 4.0 | postgresql12 | 12.6-3.21.4 | SUSE-SU-2021:0695-1 |
| SUSE Enterprise Storage 6 | postgresql12 | 12.6-3.21.4 | SUSE-SU-2021:0695-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | postgresql11 | 11.13-1.3 | openSUSE-SU-2024:11185-1 |
| openSUSE Tumbleweed | postgresql12 | 12.8-1.3 | openSUSE-SU-2024:11186-1 |
| openSUSE Tumbleweed | postgresql13 | 13.4-1.3 | openSUSE-SU-2024:11187-1 |
| openSUSE Tumbleweed | postgresql14 | 14.5-2.1 | openSUSE-SU-2024:12387-1 |
| openSUSE Tumbleweed | postgresql15 | 15.4-2.1 | openSUSE-SU-2024:13243-1 |
| openSUSE Tumbleweed | postgresql16 | 16.4-1.1 | openSUSE-SU-2024:14360-1 |
| openSUSE Tumbleweed | postgresql17 | 17.6-2.1 | openSUSE-SU-2025:15580-1 |
| openSUSE Leap 15.2 | postgresql12 | 12.6-lp152.3.16.1 | openSUSE-SU-2021:0423-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.20 | postgresql14 +1 | 13.2-r0 | — |
| Alpine v3.19 | postgresql13 +2 | 13.2-r0 | — |
| Alpine v3.18 | postgresql13 +2 | 13.2-r0 | — |
| Alpine v3.17 | postgresql13 +2 | 13.2-r0 | — |
| Alpine v3.16 | postgresql13 +1 | 13.2-r0 | — |
Show 7 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.15 | postgresql13 +1 | 13.2-r0 | — |
| Alpine v3.14 | postgresql | 13.2-r0 | — |
| Alpine v3.13 | postgresql | 13.2-r0 | — |
| Alpine v3.12 | postgresql | 12.6-r0 | — |
| Alpine v3.11 | postgresql | 12.6-r0 | — |
| Alpine v3.10 | postgresql | 11.11-r0 | — |
| Alpine v3.9 | postgresql | 11.11-r0 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 8 | pgaudit | 1.4.0-6.module+el8.4.0+20191+2f8d0e59 | ELSA-2021-2372 |
| Oracle Linux 8 | postgres-decoderbufs | 0.10.0-2.module+el8.4.0+20191+2f8d0e59 | ELSA-2021-2372 |
| Oracle Linux 8 | postgresql +12 | 12.7-1.module+el8.4.0+20191+2f8d0e59 | ELSA-2021-2372 |
Advisories 21
- ALSA-2021:2372 Important: postgresql:12 security update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2021:2394 Red Hat Security Advisory: rh-postgresql12-postgresql security update Red Hat Security Advisories (RHSA) · Aug 5, 2026
- RHSA-2021:2389 Red Hat Security Advisory: postgresql:12 security update Red Hat Security Advisories (RHSA) · Aug 5, 2026
- RHSA-2021:2372 Red Hat Security Advisory: postgresql:12 security update Red Hat Security Advisories (RHSA) · Aug 5, 2026
- USN-4735-1 postgresql-12 vulnerability Ubuntu Security Notices (USN) · Apr 22, 2026
- openSUSE-SU-2025:15580-1 postgresql17-17.6-2.1 on GA media SUSE / openSUSE Security Updates · Mar 23, 2026
- RLSA-2021:2372 Important: postgresql:12 security update Rocky Linux Security Advisories · Feb 4, 2026
- openSUSE-SU-2024:11185-1 postgresql11-11.13-1.3 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:12387-1 postgresql14-14.5-2.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:0543-1 Security update for postgresql13 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2021:0423-1 Security update for postgresql12 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:13243-1 postgresql15-15.4-2.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:0695-1 Security update for postgresql12 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:14360-1 postgresql16-16.4-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:11187-1 libecpg6-13.4-1.3 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:1783-1 Security update for postgresql12 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:0545-1 Security update for postgresql13 SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2023-2464 PostgreSQL: Mehrere Schwachstellen BSI CERT-Bund (WID) · Sep 28, 2025
- openSUSE-SU-2024:11186-1 postgresql12-12.8-1.3 on GA media SUSE / openSUSE Security Updates · May 7, 2025
- SUSE-SU-2021:0544-1 Security update for postgresql12 SUSE / openSUSE Security Updates · May 2, 2025
- ELSA-2021-2372 Important: postgresql:12 security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Jun 11, 2021