Description
A vulnerability was found in PostgreSQL versions 11.x up to excluding 11.3, 10.x up to excluding 10.8, 9.6.x up to, excluding 9.6.13, 9.5.x up to, excluding 9.5.17. PostgreSQL maintains column statistics for tables. Certain statistics, such as histograms and lists of most common values, contain values taken from the column. PostgreSQL does not evaluate row security policies before consulting those statistics during query planning; an attacker can exploit this to read the most common values of certain columns. Affected columns are those for which the attacker has SELECT privilege and for which, in an ordinary query, row-level security prunes the set of rows visible to the attacker.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| PostgreSQL Project | postgresql | 11.x up to, excluding 11.3, 10.x up to, excluding 10.8, 9.6.x up to, excluding 9.6.13, 9.5.x up to, excluding 9.5.17 | — |
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 9 | postgresql-9.6 | 9.6.13-0+deb9u1 | DSA-4439-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | postgresql-10 | 10.8-0ubuntu0.18.04.1 | USN-3972-1 |
| Ubuntu 16.04 LTS | postgresql-9.5 | 9.5.17-0ubuntu0.16.04.1 | USN-3972-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 8 | postgresql +10 | 9.6.20-1.module+el8.3.0+8938+7f0e88b6 | RHSA-2020:5619, RHSA-2020:3669 |
| RHEL 8 | postgresql-upgrade +1 | 10.14-1.module+el8.2.0+7801+be0fed80 | RHSA-2020:3669 |
| RHEL 3 | rh-postgresql10-postgresql +13 | 10.12-2.el7 | RHSA-2020:0980 |
| RHEL 3 | rh-postgresql96-postgresql +13 | 9.6.19-1.el7 | RHSA-2020:4295 |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 8.2 EUS | postgresql +10 | 9.6.20-1.module+el8.2.0+8939+9a3b4b64 | RHSA-2021:0164 |
| RHEL 8.1 EUS | postgresql +10 | 9.6.20-1.module+el8.1.0+9156+8ff1384f | RHSA-2021:0167, RHSA-2021:0166 |
| RHEL 8.1 EUS | postgresql-upgrade +1 | 10.15-1.module+el8.1.0+9154+cd474635 | RHSA-2021:0166 |
| RHEL 8.0 E4S | postgresql +10 | 9.6.20-1.module+el8.0.0+9157+356b8def | RHSA-2020:5664, RHSA-2020:5661 |
| RHEL 8.0 E4S | postgresql-upgrade +1 | 10.15-1.module+el8.0.0+9155+4a85661a | RHSA-2020:5664 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP1 | postgresql10 | 10.9-8.3.1 | SUSE-SU-2019:2012-1 |
| SLES 15 | postgresql10 | 10.9-4.13.2 | SUSE-SU-2019:1810-1 |
| SLES 12 SP4 | postgresql10 +1 | 10.8-1.9.1 | SUSE-SU-2019:1511-1 |
| SLES 12 SP3 | postgresql10 +1 | 10.8-1.9.1 | SUSE-SU-2019:1511-1 |
| SLES 12 SP3 | postgresql96 +1 | 9.6.13-3.25.1 | SUSE-SU-2019:1687-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 12 SP4 | postgresql10 +1 | 10.8-1.9.1 | SUSE-SU-2019:1511-1 |
| SLES for SAP 12 SP3 | postgresql10 +1 | 10.8-1.9.1 | SUSE-SU-2019:1511-1 |
| SLES for SAP 12 SP3 | postgresql96 +1 | 9.6.13-3.25.1 | SUSE-SU-2019:1687-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | postgresql10 | 10.18-1.3 | openSUSE-SU-2024:11184-1 |
| openSUSE Tumbleweed | postgresql11 | 11.13-1.3 | openSUSE-SU-2024:11185-1 |
| openSUSE Leap 15.1 | postgresql | 12.0.1-lp151.6.9.1 | openSUSE-SU-2020:1227-1 |
| openSUSE Leap 15.1 | postgresql10 | 10.9-lp151.2.3.1 | openSUSE-SU-2020:1227-1, openSUSE-SU-2019:1773-1 |
| openSUSE Leap 15.1 | postgresql12 | 12.3-lp151.2.1 | openSUSE-SU-2020:1227-1 |
| openSUSE Leap 15.1 | postgresql96 | 9.6.19-lp151.3.3.1 | openSUSE-SU-2020:1227-1 |
| openSUSE Leap 15.0 | postgresql10 | 10.9-lp151.2.3.1 | openSUSE-SU-2019:1773-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.20 | postgresql14 +1 | 11.3-r0 | — |
| Alpine v3.19 | postgresql14 +1 | 11.3-r0 | — |
| Alpine v3.18 | postgresql14 +1 | 11.3-r0 | — |
| Alpine v3.17 | postgresql14 +1 | 11.3-r0 | — |
| Alpine v3.16 | postgresql14 | 11.3-r0 | — |
Show 10 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.15 | postgresql14 | 11.3-r0 | — |
| Alpine v3.14 | postgresql | 11.3-r0 | — |
| Alpine v3.13 | postgresql | 11.3-r0 | — |
| Alpine v3.12 | postgresql | 11.3-r0 | — |
| Alpine v3.11 | postgresql | 11.3-r0 | — |
| Alpine v3.10 | postgresql | 11.3-r0 | — |
| Alpine v3.9 | postgresql | 11.3-r0 | — |
| Alpine v3.8 | postgresql | 10.8-r0 | — |
| Alpine v3.7 | postgresql | 10.8-r0 | — |
| Alpine v3.6 | postgresql | 9.6.13-r0 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 8 | postgresql +12 | 10.14-1.module+el8.2.0+7785+0ea9f177 | ELSA-2020-3669 |
| Oracle Linux 7 | rh-postgresql10-postgresql +13 | 10.15-1.el7 | ELSA-2021-9290 |
Advisories 22
- RHSA-2021:0167 Red Hat Security Advisory: postgresql:9.6 security update Red Hat Security Advisories (RHSA) · Aug 5, 2026
- RHSA-2021:0166 Red Hat Security Advisory: postgresql:10 security update Red Hat Security Advisories (RHSA) · Aug 5, 2026
- RHSA-2021:0164 Red Hat Security Advisory: postgresql:9.6 security update Red Hat Security Advisories (RHSA) · Aug 5, 2026
- RHSA-2020:5664 Red Hat Security Advisory: postgresql:10 security update Red Hat Security Advisories (RHSA) · Aug 5, 2026
- RHSA-2020:5661 Red Hat Security Advisory: postgresql:9.6 security update Red Hat Security Advisories (RHSA) · Aug 5, 2026
- RHSA-2020:5619 Red Hat Security Advisory: postgresql:9.6 security update Red Hat Security Advisories (RHSA) · Aug 5, 2026
- RHSA-2020:4295 Red Hat Security Advisory: rh-postgresql96-postgresql security update Red Hat Security Advisories (RHSA) · Aug 5, 2026
- RHSA-2020:3669 Red Hat Security Advisory: postgresql:10 security and bug fix update Red Hat Security Advisories (RHSA) · Aug 5, 2026
- RHSA-2020:0980 Red Hat Security Advisory: rh-postgresql10-postgresql security update Red Hat Security Advisories (RHSA) · Aug 5, 2026
- USN-3972-1 postgresql-10, postgresql-11, postgresql-9.5 vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- DSA-4439-1 postgresql-9.6 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:11185-1 postgresql11-11.13-1.3 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2019:1773-1 Security update for postgresql10 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2019:2012-1 Security update for postgresql10 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:11184-1 postgresql10-10.18-1.3 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2019:1687-1 Security update for postgresql96 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2019:1511-1 Security update for postgresql10 SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2025-1970 PostgreSQL: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 27, 2025
- openSUSE-SU-2020:1227-1 Security update for postgresql96, postgresql10 and postgresql12 SUSE / openSUSE Security Updates · May 7, 2025
- SUSE-SU-2019:1810-1 Security update for postgresql10 SUSE / openSUSE Security Updates · May 2, 2025
- ELSA-2021-9290 Important: rh-postgresql10-postgresql security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Jun 11, 2021
- ELSA-2020-3669 Moderate: postgresql:10 security and bug fix update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Sep 9, 2020
References
- https://www.postgresql.org/about/news/1939/
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-10130
- GLSA-202003-03 vendor-advisory
- openSUSE-SU-2020:1227 vendor-advisory