CVE-2021-32027
publishedpostgresql: Buffer overrun from integer overflow in array subscripting calculations
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | postgresqlpostgresql 13.3, postgresql 12.7, postgresql 11.12, postgresql 10.17, postgresql 9.6.22 | Affected | Not stated | redhat |
| Amazon Linux | AL2 | Release evaluation | No Fix Planned | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2-2022-1843 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2POSTGRESQL11-2023-003 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2POSTGRESQL12-2023-004 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2POSTGRESQL13-2023-003 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | postgresql | Advisory build | 9.6.22-1.module_el8.4.0+2479+beebcf7e | ALSA-2021:2360 |
| Alpine Linux | v3.10 | postgresql | Fixed | 11.12-r0 | Package fix record |
Show 99 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Oracle Linux | 7 | postgresqlaarch64 | Advisory build | 0:9.2.24-7.el7_9 | ELSA-2021-2397 |
| Red Hat Enterprise Linux | RHEL-7 | postgresqli686 | Advisory build | 9.2.24-7.el7_9 | RHSA-2021:2397 |
| AlmaLinux | 8 | postgresql | Advisory build | 9.6.22-1.module_el8.4.0+2492+beebcf7e | ALSA-2021:2360 |
| AlmaLinux | 8 | postgresql | Advisory build | 9.6.22-1.module_el8.5.0+58+52470387 | ALSA-2021:2360 |
| Alpine Linux | v3.11 | postgresql | Fixed | 12.7-r0 | Package fix record |
| Alpine Linux | v3.12 | postgresql | Fixed | 12.7-r0 | Package fix record |
| Alpine Linux | v3.13 | postgresql | Fixed | 13.3-r0 | Package fix record |
| Alpine Linux | v3.14 | postgresql | Fixed | 13.3-r0 | Package fix record |
| Oracle Linux | 7 | postgresqlx86_64 | Advisory build | 0:9.2.24-7.el7_9 | ELSA-2021-2397 |
| Oracle Linux | 8 | postgresqlaarch64 · postgresql · 10b | Advisory build | 0:10.17-1.module+el8.4.0+20190+84323769 | ELSA-2021-2361 |
| Oracle Linux | 8 | postgresqlaarch64 · postgresql · 12b | Advisory build | 0:12.7-1.module+el8.4.0+20191+2f8d0e59 | ELSA-2021-2372 |
| Oracle Linux | 8 | postgresqlaarch64 · postgresql · 13b | Advisory build | 0:13.3-1.module+el8.4.0+20192+096f5771 | ELSA-2021-2375 |
| Oracle Linux | 8 | postgresqlaarch64 · postgresql · 9.6b | Advisory build | 0:9.6.22-1.module+el8.4.0+20189+e6efae45 | ELSA-2021-2360 |
| Oracle Linux | 8 | postgresqlx86_64 · postgresql · 10b | Advisory build | 0:10.17-1.module+el8.4.0+20190+84323769 | ELSA-2021-2361 |
| Oracle Linux | 8 | postgresqlx86_64 · postgresql · 12b | Advisory build | 0:12.7-1.module+el8.4.0+20191+2f8d0e59 | ELSA-2021-2372 |
| Oracle Linux | 8 | postgresqlx86_64 · postgresql · 13b | Advisory build | 0:13.3-1.module+el8.4.0+20192+096f5771 | ELSA-2021-2375 |
| Oracle Linux | 8 | postgresqlx86_64 · postgresql · 9.6b | Advisory build | 0:9.6.22-1.module+el8.4.0+20189+e6efae45 | ELSA-2021-2360 |
| Red Hat Enterprise Linux | RHEL-7 | postgresqlppc | Advisory build | 9.2.24-7.el7_9 | RHSA-2021:2397 |
| Red Hat Enterprise Linux | RHEL-7 | postgresqlppc64 | Advisory build | 9.2.24-7.el7_9 | RHSA-2021:2397 |
| Red Hat Enterprise Linux | RHEL-7 | postgresqlppc64le | Advisory build | 9.2.24-7.el7_9 | RHSA-2021:2397 |
| Red Hat Enterprise Linux | RHEL-7 | postgresqls390 | Advisory build | 9.2.24-7.el7_9 | RHSA-2021:2397 |
| Red Hat Enterprise Linux | RHEL-7 | postgresqls390x | Advisory build | 9.2.24-7.el7_9 | RHSA-2021:2397 |
| Red Hat Enterprise Linux | RHEL-7 | postgresqlsrc | Advisory build | 9.2.24-7.el7_9 | RHSA-2021:2397 |
| Red Hat Enterprise Linux | RHEL-7 | postgresqlx86_64 | Advisory build | 9.2.24-7.el7_9 | RHSA-2021:2397 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlaarch64 | Advisory build | 10.17-1.module+el8.1.0+11246+8967ca4a | RHSA-2021:2392 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlaarch64 | Advisory build | 10.17-1.module+el8.2.0+11247+01f3c012 | RHSA-2021:2390 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlaarch64 | Advisory build | 10.17-1.module+el8.4.0+11249+895597ab | RHSA-2021:2361 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlaarch64 | Advisory build | 12.7-1.module+el8.2.0+11251+7a3cc531 | RHSA-2021:2389 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlaarch64 | Advisory build | 12.7-1.module+el8.4.0+11288+c193d6d7 | RHSA-2021:2372 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlaarch64 | Advisory build | 13.3-1.module+el8.4.0+11254+85259292 | RHSA-2021:2375 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlaarch64 | Advisory build | 9.6.22-1.module+el8.1.0+11236+e0bc3a70 | RHSA-2021:2393 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlaarch64 | Advisory build | 9.6.22-1.module+el8.2.0+11238+a7309cb6 | RHSA-2021:2391 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlaarch64 | Advisory build | 9.6.22-1.module+el8.4.0+11244+beebcf7e | RHSA-2021:2360 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlppc64le | Advisory build | 10.17-1.module+el8.1.0+11246+8967ca4a | RHSA-2021:2392 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlppc64le | Advisory build | 10.17-1.module+el8.2.0+11247+01f3c012 | RHSA-2021:2390 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlppc64le | Advisory build | 10.17-1.module+el8.4.0+11249+895597ab | RHSA-2021:2361 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlppc64le | Advisory build | 12.7-1.module+el8.2.0+11251+7a3cc531 | RHSA-2021:2389 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlppc64le | Advisory build | 12.7-1.module+el8.4.0+11288+c193d6d7 | RHSA-2021:2372 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlppc64le | Advisory build | 13.3-1.module+el8.4.0+11254+85259292 | RHSA-2021:2375 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlppc64le | Advisory build | 9.6.22-1.module+el8.1.0+11236+e0bc3a70 | RHSA-2021:2393 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlppc64le | Advisory build | 9.6.22-1.module+el8.2.0+11238+a7309cb6 | RHSA-2021:2391 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlppc64le | Advisory build | 9.6.22-1.module+el8.4.0+11244+beebcf7e | RHSA-2021:2360 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqls390x | Advisory build | 10.17-1.module+el8.1.0+11246+8967ca4a | RHSA-2021:2392 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqls390x | Advisory build | 10.17-1.module+el8.2.0+11247+01f3c012 | RHSA-2021:2390 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqls390x | Advisory build | 10.17-1.module+el8.4.0+11249+895597ab | RHSA-2021:2361 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqls390x | Advisory build | 12.7-1.module+el8.2.0+11251+7a3cc531 | RHSA-2021:2389 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqls390x | Advisory build | 12.7-1.module+el8.4.0+11288+c193d6d7 | RHSA-2021:2372 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqls390x | Advisory build | 13.3-1.module+el8.4.0+11254+85259292 | RHSA-2021:2375 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqls390x | Advisory build | 9.6.22-1.module+el8.1.0+11236+e0bc3a70 | RHSA-2021:2393 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqls390x | Advisory build | 9.6.22-1.module+el8.2.0+11238+a7309cb6 | RHSA-2021:2391 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqls390x | Advisory build | 9.6.22-1.module+el8.4.0+11244+beebcf7e | RHSA-2021:2360 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlsrc | Advisory build | 10.17-1.module+el8.1.0+11246+8967ca4a | RHSA-2021:2392 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlsrc | Advisory build | 10.17-1.module+el8.2.0+11247+01f3c012 | RHSA-2021:2390 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlsrc | Advisory build | 10.17-1.module+el8.4.0+11249+895597ab | RHSA-2021:2361 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlsrc | Advisory build | 12.7-1.module+el8.2.0+11251+7a3cc531 | RHSA-2021:2389 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlsrc | Advisory build | 12.7-1.module+el8.4.0+11288+c193d6d7 | RHSA-2021:2372 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlsrc | Advisory build | 13.3-1.module+el8.4.0+11254+85259292 | RHSA-2021:2375 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlsrc | Advisory build | 9.6.22-1.module+el8.1.0+11236+e0bc3a70 | RHSA-2021:2393 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlsrc | Advisory build | 9.6.22-1.module+el8.2.0+11238+a7309cb6 | RHSA-2021:2391 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlsrc | Advisory build | 9.6.22-1.module+el8.4.0+11244+beebcf7e | RHSA-2021:2360 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlx86_64 | Advisory build | 10.17-1.module+el8.1.0+11246+8967ca4a | RHSA-2021:2392 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlx86_64 | Advisory build | 10.17-1.module+el8.2.0+11247+01f3c012 | RHSA-2021:2390 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlx86_64 | Advisory build | 10.17-1.module+el8.4.0+11249+895597ab | RHSA-2021:2361 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlx86_64 | Advisory build | 12.7-1.module+el8.2.0+11251+7a3cc531 | RHSA-2021:2389 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlx86_64 | Advisory build | 12.7-1.module+el8.4.0+11288+c193d6d7 | RHSA-2021:2372 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlx86_64 | Advisory build | 13.3-1.module+el8.4.0+11254+85259292 | RHSA-2021:2375 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlx86_64 | Advisory build | 9.6.22-1.module+el8.1.0+11236+e0bc3a70 | RHSA-2021:2393 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlx86_64 | Advisory build | 9.6.22-1.module+el8.2.0+11238+a7309cb6 | RHSA-2021:2391 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlx86_64 | Advisory build | 9.6.22-1.module+el8.4.0+11244+beebcf7e | RHSA-2021:2360 |
| AlmaLinux | 8 | pgaudit | Advisory build | 1.5.0-1.module_el8.5.0+2607+8c0fd184 | ALSA-2021:2375 |
| AlmaLinux | 8 | pgaudit | Advisory build | 1.5.0-1.module_el8.6.0+2760+1746ec94 | ALSA-2021:2375 |
| AlmaLinux | 8 | postgres-decoderbufs | Advisory build | 0.10.0-2.module_el8.5.0+2607+8c0fd184 | ALSA-2021:2375 |
| AlmaLinux | 8 | postgres-decoderbufs | Advisory build | 0.10.0-2.module_el8.6.0+2758+4f4474df | ALSA-2021:2372 |
| AlmaLinux | 8 | postgres-decoderbufs | Advisory build | 0.10.0-2.module_el8.6.0+2758+4f4474df | ALSA-2021:2375 |
| AlmaLinux | 8 | postgres-decoderbufs | Advisory build | 0.10.0-2.module_el8.6.0+2760+1746ec94 | ALSA-2021:2372 |
| AlmaLinux | 8 | postgres-decoderbufs | Advisory build | 0.10.0-2.module_el8.6.0+2760+1746ec94 | ALSA-2021:2375 |
| AlmaLinux | 8 | postgresql-contrib | Advisory build | 9.6.22-1.module_el8.4.0+2479+beebcf7e | ALSA-2021:2360 |
| AlmaLinux | 8 | postgresql-contrib | Advisory build | 9.6.22-1.module_el8.4.0+2492+beebcf7e | ALSA-2021:2360 |
| AlmaLinux | 8 | postgresql-contrib | Advisory build | 9.6.22-1.module_el8.5.0+58+52470387 | ALSA-2021:2360 |
| AlmaLinux | 8 | postgresql-docs | Advisory build | 9.6.22-1.module_el8.4.0+2479+beebcf7e | ALSA-2021:2360 |
| AlmaLinux | 8 | postgresql-docs | Advisory build | 9.6.22-1.module_el8.4.0+2492+beebcf7e | ALSA-2021:2360 |
| AlmaLinux | 8 | postgresql-docs | Advisory build | 9.6.22-1.module_el8.5.0+58+52470387 | ALSA-2021:2360 |
| AlmaLinux | 8 | postgresql-plperl | Advisory build | 9.6.22-1.module_el8.4.0+2479+beebcf7e | ALSA-2021:2360 |
| AlmaLinux | 8 | postgresql-plperl | Advisory build | 9.6.22-1.module_el8.4.0+2492+beebcf7e | ALSA-2021:2360 |
| AlmaLinux | 8 | postgresql-plperl | Advisory build | 9.6.22-1.module_el8.5.0+58+52470387 | ALSA-2021:2360 |
| AlmaLinux | 8 | postgresql-plpython3 | Advisory build | 9.6.22-1.module_el8.4.0+2479+beebcf7e | ALSA-2021:2360 |
| AlmaLinux | 8 | postgresql-plpython3 | Advisory build | 9.6.22-1.module_el8.4.0+2492+beebcf7e | ALSA-2021:2360 |
| AlmaLinux | 8 | postgresql-plpython3 | Advisory build | 9.6.22-1.module_el8.5.0+58+52470387 | ALSA-2021:2360 |
| AlmaLinux | 8 | postgresql-pltcl | Advisory build | 9.6.22-1.module_el8.4.0+2479+beebcf7e | ALSA-2021:2360 |
| AlmaLinux | 8 | postgresql-pltcl | Advisory build | 9.6.22-1.module_el8.4.0+2492+beebcf7e | ALSA-2021:2360 |
| AlmaLinux | 8 | postgresql-pltcl | Advisory build | 9.6.22-1.module_el8.5.0+58+52470387 | ALSA-2021:2360 |
| AlmaLinux | 8 | postgresql-server | Advisory build | 9.6.22-1.module_el8.4.0+2479+beebcf7e | ALSA-2021:2360 |
| AlmaLinux | 8 | postgresql-server | Advisory build | 9.6.22-1.module_el8.4.0+2492+beebcf7e | ALSA-2021:2360 |
| AlmaLinux | 8 | postgresql-server | Advisory build | 9.6.22-1.module_el8.5.0+58+52470387 | ALSA-2021:2360 |
| AlmaLinux | 8 | postgresql-server-devel | Advisory build | 9.6.22-1.module_el8.4.0+2479+beebcf7e | ALSA-2021:2360 |
| AlmaLinux | 8 | postgresql-server-devel | Advisory build | 9.6.22-1.module_el8.4.0+2492+beebcf7e | ALSA-2021:2360 |
| AlmaLinux | 8 | postgresql-server-devel | Advisory build | 9.6.22-1.module_el8.5.0+58+52470387 | ALSA-2021:2360 |
| AlmaLinux | 8 | postgresql-static | Advisory build | 9.6.22-1.module_el8.4.0+2479+beebcf7e | ALSA-2021:2360 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | postgresql | postgresql 13.3, postgresql 12.7, postgresql 11.12, postgresql 10.17, postgresql 9.6.22 (affected) | redhat · cna |
Weaknesses
1- CWE-190 CWE-190->CWE-119
References
4- https://bugzilla.redhat.com/show_bug.cgi?id=1956876
- GLSA-202211-04 https://security.gentoo.org/glsa/202211-04
- https://security.netapp.com/advisory/ntap-20210713-0004/
- https://www.postgresql.org/support/security/CVE-2021-32027/
Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- a6972c71a57ff067d551a615a51d0e2b1935209cbe5aec18b358c2658dceb70a
- Ingested
- 23 Sep 2026, 07:54:21 UTC
- Source record
- Official CVE record