Description
A flaw was found in postgresql in versions before 13.3, before 12.7, before 11.12, before 10.17 and before 9.6.22. While modifying certain SQL array values, missing bounds checks let authenticated database users write arbitrary bytes to a wide area of server memory. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | postgresql | postgresql 13.3, postgresql 12.7, postgresql 11.12, postgresql 10.17, postgresql 9.6.22 | — |
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.3-1 | — |
| Debian 10 | postgresql-11 | 11.12-0+deb10u1 | DSA-4915-1 |
| Debian 9 | postgresql-9.6 | 9.6.22-0+deb9u1 | DLA-2662-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | postgresql-12 | 12.7-0ubuntu0.20.04.1 | USN-4972-1 |
| Ubuntu 18.04 LTS | postgresql-10 | 10.17-0ubuntu0.18.04.1 | USN-4972-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 16.04 LTS | postgresql-9.5 | 9.5.25-0ubuntu0.16.04.1+esm1 | USN-5645-1 |
| Ubuntu Pro 14.04 LTS | postgresql-9.3 | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 8 | pgaudit | 1.4.0-6.module+el8.4.0+11288+c193d6d7 | RHSA-2021:2375, RHSA-2021:2372 |
| RHEL 8 | postgres-decoderbufs | 0.10.0-2.module+el8.4.0+8873+b821c30a | RHSA-2021:2375, RHSA-2021:2372 |
| RHEL 8 | postgresql +10 | 9.6.22-1.module+el8.4.0+11244+beebcf7e | RHSA-2021:2375, RHSA-2021:2372, RHSA-2021:2361 |
| RHEL 8 | postgresql-upgrade +1 | 10.17-1.module+el8.4.0+11249+895597ab | RHSA-2021:2375, RHSA-2021:2372, RHSA-2021:2361 |
| RHEL 7 | postgresql +11 | 9.2.24-7.el7_9 | RHSA-2021:2397 |
| RHEL 3 | rh-postgresql10-postgresql +13 | 10.17-1.el7 | RHSA-2021:2395 |
| RHEL 3 | rh-postgresql12-postgresql +13 | 12.7-1.el7 | RHSA-2021:2394 |
| RHEL 3 | rh-postgresql13-postgresql +14 | 13.3-1.el7 | RHSA-2021:2396 |
Show 2 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 +10 | 9.6.22-1.module+el8.2.0+11238+a7309cb6 | RHSA-2021:2391, RHSA-2021:2390, RHSA-2021:2389 |
| RHEL 8.2 EUS | postgresql-upgrade +1 | 10.17-1.module+el8.2.0+11247+01f3c012 | RHSA-2021:2390, RHSA-2021:2389 |
| RHEL 8.1 EUS | postgresql +10 | 9.6.22-1.module+el8.1.0+11236+e0bc3a70 | RHSA-2021:2393, RHSA-2021:2392 |
| RHEL 8.1 EUS | postgresql-upgrade +1 | 10.17-1.module+el8.1.0+11246+8967ca4a | RHSA-2021:2392 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 8 | pgaudit | 1.5.0-1.module_el8.5.0+2607+8c0fd184 | ALSA-2021:2375 |
| AlmaLinux 8 | postgres-decoderbufs | 0.10.0-2.module_el8.5.0+2607+8c0fd184 | ALSA-2021:2375, ALSA-2021:2372 |
| AlmaLinux 8 | postgresql +10 | 9.6.22-1.module_el8.4.0+2479+beebcf7e | ALSA-2021:2360 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 8 | pgaudit | 1.4.0-6.module+el8.4.0+587+d46efd10 | RLSA-2021:2375, RLSA-2021:2372 |
| Rocky Linux 8 | postgres-decoderbufs | 0.10.0-2.module+el8.4.0+424+71d47d9a | RLSA-2021:2375, RLSA-2021:2372 |
| Rocky Linux 8 | postgresql | 9.6.22-1.module+el8.4.0+547+51cac6db | RLSA-2021:2375, RLSA-2021:2372, RLSA-2021:2361 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP3 | postgresql10 | 10.17-8.35.1 | SUSE-SU-2021:1970-1 |
| SLES 15 SP3 | postgresql12 | 12.7-8.20.1 | SUSE-SU-2021:1994-1 |
| SLES 15 SP3 | postgresql13 | 13.3-5.10.1 | SUSE-SU-2021:1785-2, SUSE-SU-2021:1785-1 |
| SLES 15 SP2 | postgresql10 | 10.17-8.35.1 | SUSE-SU-2021:1970-1 |
| SLES 15 SP2 | postgresql12 | 12.7-8.20.1 | SUSE-SU-2021:1994-1 |
| SLES 15 SP2 | postgresql13 | 13.3-5.10.1 | SUSE-SU-2021:1785-1 |
| SLES 15 SP1 | postgresql12 | 12.12-150100.3.33.1 | SUSE-SU-2022:2958-1 |
| SLES 15 | postgresql10 | 10.17-4.35.1 | SUSE-SU-2021:2777-1 |
| SLES 12 SP5 | postgresql10 | 10.17-4.16.4 | SUSE-SU-2021:3481-1, SUSE-SU-2021:1782-1 |
| SLES 12 SP5 | postgresql12 | 12.7-3.15.3 | SUSE-SU-2021:1783-1 |
| SLES 12 SP5 | postgresql13 | 13.3-3.9.3 | SUSE-SU-2021:1784-1 |
Show 16 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP4 | postgresql10 | 10.18-4.19.6 | SUSE-SU-2021:3481-1 |
| SLES 12 SP3 | postgresql10 | 10.18-4.19.6 | SUSE-SU-2021:3481-1 |
| SLES 12 SP2 | postgresql10 | 10.18-4.19.6 | SUSE-SU-2021:3481-1 |
| SLES for SAP 15 SP1 | postgresql12 | 12.12-150100.3.33.1 | SUSE-SU-2022:2958-1 |
| SLES for SAP 15 | postgresql10 | 10.17-4.35.1 | SUSE-SU-2021:2777-1 |
| SLES for SAP 12 SP5 | postgresql10 | 10.17-4.16.4 | SUSE-SU-2021:3481-1, SUSE-SU-2021:1782-1 |
| SLES for SAP 12 SP5 | postgresql12 | 12.7-3.15.3 | SUSE-SU-2021:1783-1 |
| SLES for SAP 12 SP5 | postgresql13 | 13.3-3.9.3 | SUSE-SU-2021:1784-1 |
| SLES for SAP 12 SP4 | postgresql10 | 10.18-4.19.6 | SUSE-SU-2021:3481-1 |
| SLES for SAP 12 SP3 | postgresql10 | 10.18-4.19.6 | SUSE-SU-2021:3481-1 |
| SLE HPC 15 SP1 | postgresql12 | 12.12-150100.3.33.1 | SUSE-SU-2022:2958-1 |
| SLE HPC 15 | postgresql10 | 10.17-4.35.1 | SUSE-SU-2021:2777-1 |
| SUSE OpenStack Cloud Crowbar 9 | postgresql10 | 10.18-4.19.6 | SUSE-SU-2021:3481-1 |
| SUSE OpenStack Cloud Crowbar 8 | postgresql10 | 10.18-4.19.6 | SUSE-SU-2021:3481-1 |
| SUSE OpenStack Cloud 9 | postgresql10 | 10.18-4.19.6 | SUSE-SU-2021:3481-1 |
| SUSE OpenStack Cloud 8 | postgresql10 | 10.18-4.19.6 | SUSE-SU-2021:3481-1 |
| SUSE HPE Helion OpenStack 8 | postgresql10 | 10.18-4.19.6 | SUSE-SU-2021:3481-1 |
| SUSE Enterprise Storage 6 | postgresql12 | 12.12-150100.3.33.1 | SUSE-SU-2022:2958-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 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.3 | postgresql10 | 10.17-8.35.1 | openSUSE-SU-2021:1970-1 |
| openSUSE Leap 15.3 | postgresql12 | 12.7-8.20.1 | openSUSE-SU-2021:1994-1 |
| openSUSE Leap 15.3 | postgresql13 | 13.3-5.10.1 | openSUSE-SU-2021:1785-1 |
| openSUSE Leap 15.2 | postgresql10 | 10.17-lp152.2.21.1 | openSUSE-SU-2021:0894-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.20 | postgresql14 +1 | 13.3-r0 | — |
| Alpine v3.19 | postgresql13 +2 | 13.3-r0 | — |
| Alpine v3.18 | postgresql13 +2 | 13.3-r0 | — |
| Alpine v3.17 | postgresql13 +2 | 13.3-r0 | — |
| Alpine v3.16 | postgresql13 +1 | 13.3-r0 | — |
Show 6 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.15 | postgresql13 +1 | 13.3-r0 | — |
| Alpine v3.14 | postgresql | 13.3-r0 | — |
| Alpine v3.13 | postgresql | 13.3-r0 | — |
| Alpine v3.12 | postgresql | 12.7-r0 | — |
| Alpine v3.11 | postgresql | 12.7-r0 | — |
| Alpine v3.10 | postgresql | 11.12-r0 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2 | postgresql +11 | 9.2.24-8.amzn2 | ALAS2-2022-1843 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 8 | pgaudit | 1.4.0-6.module+el8.4.0+20191+2f8d0e59 | ELSA-2021-2375, ELSA-2021-2372 |
| Oracle Linux 8 | postgres-decoderbufs | 0.10.0-2.module+el8.4.0+20016+06fd4df3 | ELSA-2021-2375, ELSA-2021-2372 |
| Oracle Linux 8 | postgresql +10 | 9.6.22-1.module+el8.4.0+20189+e6efae45 | ELSA-2021-2375, ELSA-2021-2372, ELSA-2021-2361 |
| Oracle Linux 8 | postgresql-upgrade +1 | 10.17-1.module+el8.4.0+20190+84323769 | ELSA-2021-2375, ELSA-2021-2372, ELSA-2021-2361 |
| Oracle Linux 7 | postgresql +11 | 9.2.24-7.el7_9 | ELSA-2021-2397 |
| Oracle Linux 7 | rh-postgresql10-postgresql +13 | 10.17-1.el7 | ELSA-2021-9428 |
Advisories 50
- ALSA-2021:2375 Important: postgresql:13 security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2021:2360 Important: postgresql:9.6 security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2021:2372 Important: postgresql:12 security update AlmaLinux Security Advisories · Oct 29, 2026
- WID-SEC-2025-0227 IBM QRadar SIEM: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 11, 2026
- RHSA-2021:2396 Red Hat Security Advisory: rh-postgresql13-postgresql security update Red Hat Security Advisories (RHSA) · Aug 5, 2026
- RHSA-2021:2397 Red Hat Security Advisory: postgresql security update Red Hat Security Advisories (RHSA) · Aug 5, 2026
- RHSA-2021:2394 Red Hat Security Advisory: rh-postgresql12-postgresql security update Red Hat Security Advisories (RHSA) · Aug 5, 2026
- RHSA-2021:2395 Red Hat Security Advisory: rh-postgresql10-postgresql security update Red Hat Security Advisories (RHSA) · Aug 5, 2026
- RHSA-2021:2393 Red Hat Security Advisory: postgresql:9.6 security update Red Hat Security Advisories (RHSA) · Aug 5, 2026
- RHSA-2021:2391 Red Hat Security Advisory: postgresql:9.6 security update Red Hat Security Advisories (RHSA) · Aug 5, 2026
- RHSA-2021:2392 Red Hat Security Advisory: postgresql:10 security update Red Hat Security Advisories (RHSA) · Aug 5, 2026
- RHSA-2021:2390 Red Hat Security Advisory: postgresql:10 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
- RHSA-2021:2375 Red Hat Security Advisory: postgresql:13 security update Red Hat Security Advisories (RHSA) · Aug 5, 2026
- RHSA-2021:2361 Red Hat Security Advisory: postgresql:10 security update Red Hat Security Advisories (RHSA) · Aug 5, 2026
- RHSA-2021:2360 Red Hat Security Advisory: postgresql:9.6 security update Red Hat Security Advisories (RHSA) · Aug 5, 2026
- USN-5645-1 postgresql-9.5 vulnerabilities Ubuntu Security Notices (USN) · Jun 25, 2026
- USN-4972-1 postgresql-10, postgresql-12, postgresql-13 vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
- openSUSE-SU-2025:15580-1 postgresql17-17.6-2.1 on GA media SUSE / openSUSE Security Updates · Mar 23, 2026
- DSA-4915-1 postgresql-11 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-2662-1 postgresql-9.6 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- RLSA-2021:2360 Important: postgresql:9.6 security update Rocky Linux Security Advisories · Feb 5, 2026
- RLSA-2021:2375 Important: postgresql:13 security update Rocky Linux Security Advisories · Feb 5, 2026
- RLSA-2021:2361 Important: postgresql:10 security update Rocky Linux Security Advisories · Feb 4, 2026
- RLSA-2021:2372 Important: postgresql:12 security update Rocky Linux Security Advisories · Feb 4, 2026
- SUSE-SU-2021:2777-1 Security update for postgresql10 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:3481-1 Security update for postgresql10 SUSE / openSUSE Security Updates · 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
- openSUSE-SU-2021:1785-1 Security update for postgresql13 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2021:1994-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:1994-1 Security update for postgresql12 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:1782-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-2021:1784-1 Security update for postgresql13 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
- SUSE-SU-2022:2958-1 Security update for postgresql12 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:1785-2 Security update for postgresql13 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:1785-1 Security update for postgresql13 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2021:1970-1 Security update for postgresql10 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
- WID-SEC-2022-1241 PostgreSQL: Mehrere Schwachstellen BSI CERT-Bund (WID) · Sep 28, 2025
- openSUSE-SU-2021:0894-1 Security update for postgresql10 SUSE / openSUSE Security Updates · May 7, 2025
- openSUSE-SU-2024:11186-1 postgresql12-12.8-1.3 on GA media SUSE / openSUSE Security Updates · May 7, 2025
- SUSE-SU-2021:1970-1 Security update for postgresql10 SUSE / openSUSE Security Updates · May 2, 2025
- ALAS2-2022-1843 Important: postgresql security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · May 23, 2024
- ICSA-22-298-04 Hitachi Energy MicroSCADA X DMS600 CISA ICS & IT advisories · Oct 25, 2022