Read the docs
TI-2021-12005 Aliases CVE-2021-32027GHSA-8rj6-p58w-wpr2

Integer overflow in postgresql

Priority MEDIUM 42CWE-190Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Partial Red Hat: 14 fixed, 2 without a fix

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-190 and the CVSS impact.

Summary

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.

Why it matters now

EPSS 0.0199 80th percentileScored 2026-11-07
Fix Partial Red Hat: 13 advisoriesRed Hat: 14 fixed, 2 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—postgresqlpostgresql 13.3, postgresql 12.7, postgresql 11.12, postgresql 10.17, postgresql 9.6.22—No fix listedCNA
  • postgresql Vendor— Affected postgresql 13.3, postgresql 12.7, postgresql 11.12, postgresql 10.17, postgresql 9.6.22 Fixed in — No fix listed CNA

CPE configurations NVD · 5

CPEVersionsRoleVendor
cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*9.6.0 to before 9.6.22; 10.0 to before 10.17; 11.0 to before 11.12; 12.0 to before 12.7; 13.0 to before 13.3VulnerablePostgreSQL
cpe:2.3:a:redhat:jboss_enterprise_application_platform:7.0.0:*:*:*:*:*:*:*7.0.0VulnerableRed Hat
cpe:2.3:a:redhat:software_collections:-:*:*:*:*:*:*:*not specified by NVDVulnerableRed Hat
cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*7.0VulnerableRed Hat
cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*8.0VulnerableRed Hat
  • cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* Versions 9.6.0 to before 9.6.22; 10.0 to before 10.17; 11.0 to before 11.12; 12.0 to before 12.7; 13.0 to before 13.3 Vulnerable ·PostgreSQL
  • cpe:2.3:a:redhat:jboss_enterprise_application_platform:7.0.0:*:*:*:*:*:*:* Versions 7.0.0 Vulnerable ·Red Hat
  • cpe:2.3:a:redhat:software_collections:-:*:*:*:*:*:*:* Versions not specified by NVD Vulnerable ·Red Hat
  • cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Red Hat
  • cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* Versions 8.0 Vulnerable ·Red Hat

Remediation

Red Hat 13 advisories

  • RHSA-2021:2397 Released 2021-06-14 · Red Hat rating Important
    postgresql security update
    • Red Hat Enterprise Linux Client (v. 7) postgresql-9.2.24-7.el7_9, postgresql-libs-9.2.24-7.el7_9
    • Red Hat Enterprise Linux Client Optional (v. 7) postgresql-9.2.24-7.el7_9, postgresql-contrib-9.2.24-7.el7_9, postgresql-devel-9.2.24-7.el7_9 +8
    • Red Hat Enterprise Linux ComputeNode Optional (v. 7) postgresql-9.2.24-7.el7_9, postgresql-contrib-9.2.24-7.el7_9, postgresql-devel-9.2.24-7.el7_9 +8
    • Red Hat Enterprise Linux Server (v. 7) postgresql-9.2.24-7.el7_9, postgresql-9.2.24-7.el7_9.ppc, postgresql-contrib-9.2.24-7.el7_9 +10
    • Red Hat Enterprise Linux Server Optional (v. 7) postgresql-static-9.2.24-7.el7_9, postgresql-static-9.2.24-7.el7_9.ppc, postgresql-upgrade-9.2.24-7.el7_9
    • Red Hat Enterprise Linux Workstation (v. 7) postgresql-9.2.24-7.el7_9, postgresql-contrib-9.2.24-7.el7_9, postgresql-devel-9.2.24-7.el7_9 +6
    • Red Hat Enterprise Linux Workstation Optional (v. 7) postgresql-docs-9.2.24-7.el7_9, postgresql-static-9.2.24-7.el7_9, postgresql-upgrade-9.2.24-7.el7_9
  • RHSA-2021:2396 Released 2021-06-14 · Red Hat rating Important
    rh-postgresql13-postgresql security update
    • Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-postgresql13-postgresql-13.3-1.el7, rh-postgresql13-postgresql-contrib-13.3-1.el7, rh-postgresql13-postgresql-contrib-syspaths-13.3-1.el7 +12
    • Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.7) rh-postgresql13-postgresql-13.3-1.el7, rh-postgresql13-postgresql-contrib-13.3-1.el7, rh-postgresql13-postgresql-contrib-syspaths-13.3-1.el7 +12
    • Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-postgresql13-postgresql-13.3-1.el7, rh-postgresql13-postgresql-contrib-13.3-1.el7, rh-postgresql13-postgresql-contrib-syspaths-13.3-1.el7 +12
  • RHSA-2021:2394 Released 2021-06-14 · Red Hat rating Important
    rh-postgresql12-postgresql security update
    • Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-postgresql12-postgresql-12.7-1.el7, rh-postgresql12-postgresql-contrib-12.7-1.el7, rh-postgresql12-postgresql-contrib-syspaths-12.7-1.el7 +11
    • Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.7) rh-postgresql12-postgresql-12.7-1.el7, rh-postgresql12-postgresql-contrib-12.7-1.el7, rh-postgresql12-postgresql-contrib-syspaths-12.7-1.el7 +11
    • Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-postgresql12-postgresql-12.7-1.el7, rh-postgresql12-postgresql-contrib-12.7-1.el7, rh-postgresql12-postgresql-contrib-syspaths-12.7-1.el7 +11
Show 10 more Red Hat advisories
  • RHSA-2021:2390 Released 2021-06-14 · Red Hat rating Important
    postgresql:10 security update
    • Red Hat Enterprise Linux AppStream EUS (v. 8.2) postgresql-10.17-1.module+el8.2.0+11247+01f3c012.aarch64::postgresql:10, postgresql-10.17-1.module+el8.2.0+11247+01f3c012.ppc64le::postgresql:10, postgresql-10.17-1.module+el8.2.0+11247+01f3c012.s390x::postgresql:10 +47
  • RHSA-2021:2389 Released 2021-06-14 · Red Hat rating Important
    postgresql:12 security update
    • Red Hat Enterprise Linux AppStream EUS (v. 8.2) pgaudit-1.4.0-4.module+el8.2.0+9043+1dbb5661.aarch64::postgresql:12, pgaudit-1.4.0-4.module+el8.2.0+9043+1dbb5661.ppc64le::postgresql:12, pgaudit-1.4.0-4.module+el8.2.0+9043+1dbb5661.s390x::postgresql:12 +47
  • RHSA-2021:2395 Released 2021-06-14 · Red Hat rating Important
    rh-postgresql10-postgresql security update
    • Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-postgresql10-postgresql-10.17-1.el7, rh-postgresql10-postgresql-contrib-10.17-1.el7, rh-postgresql10-postgresql-contrib-syspaths-10.17-1.el7 +11
    • Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.7) rh-postgresql10-postgresql-10.17-1.el7, rh-postgresql10-postgresql-contrib-10.17-1.el7, rh-postgresql10-postgresql-contrib-syspaths-10.17-1.el7 +11
    • Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-postgresql10-postgresql-10.17-1.el7, rh-postgresql10-postgresql-contrib-10.17-1.el7, rh-postgresql10-postgresql-contrib-syspaths-10.17-1.el7 +11
  • RHSA-2021:2391 Released 2021-06-14 · Red Hat rating Important
    postgresql:9.6 security update
    • Red Hat Enterprise Linux AppStream EUS (v. 8.2) postgresql-9.6.22-1.module+el8.2.0+11238+a7309cb6.aarch64::postgresql:9.6, postgresql-9.6.22-1.module+el8.2.0+11238+a7309cb6.ppc64le::postgresql:9.6, postgresql-9.6.22-1.module+el8.2.0+11238+a7309cb6.s390x::postgresql:9.6 +42
  • RHSA-2021:2393 Released 2021-06-14 · Red Hat rating Important
    postgresql:9.6 security update
    • Red Hat Enterprise Linux AppStream EUS (v. 8.1) postgresql-9.6.22-1.module+el8.1.0+11236+e0bc3a70.aarch64::postgresql:9.6, postgresql-9.6.22-1.module+el8.1.0+11236+e0bc3a70.ppc64le::postgresql:9.6, postgresql-9.6.22-1.module+el8.1.0+11236+e0bc3a70.s390x::postgresql:9.6 +42
  • RHSA-2021:2392 Released 2021-06-14 · Red Hat rating Important
    postgresql:10 security update
    • Red Hat Enterprise Linux AppStream EUS (v. 8.1) postgresql-10.17-1.module+el8.1.0+11246+8967ca4a.aarch64::postgresql:10, postgresql-10.17-1.module+el8.1.0+11246+8967ca4a.ppc64le::postgresql:10, postgresql-10.17-1.module+el8.1.0+11246+8967ca4a.s390x::postgresql:10 +47
  • RHSA-2021:2375 Released 2021-06-10 · Red Hat rating Important
    postgresql:13 security update
    • Red Hat Enterprise Linux AppStream (v. 8) pgaudit-1.5.0-1.module+el8.4.0+8873+b821c30a.aarch64::postgresql:13, pgaudit-1.5.0-1.module+el8.4.0+8873+b821c30a.ppc64le::postgresql:13, pgaudit-1.5.0-1.module+el8.4.0+8873+b821c30a.s390x::postgresql:13 +47
  • RHSA-2021:2372 Released 2021-06-10 · Red Hat rating Important
    postgresql:12 security update
    • Red Hat Enterprise Linux AppStream (v. 8) pgaudit-1.4.0-6.module+el8.4.0+11288+c193d6d7.aarch64::postgresql:12, pgaudit-1.4.0-6.module+el8.4.0+11288+c193d6d7.ppc64le::postgresql:12, pgaudit-1.4.0-6.module+el8.4.0+11288+c193d6d7.s390x::postgresql:12 +47
  • RHSA-2021:2361 Released 2021-06-09 · Red Hat rating Important
    postgresql:10 security update
    • Red Hat Enterprise Linux AppStream (v. 8) postgresql-10.17-1.module+el8.4.0+11249+895597ab.aarch64::postgresql:10, postgresql-10.17-1.module+el8.4.0+11249+895597ab.ppc64le::postgresql:10, postgresql-10.17-1.module+el8.4.0+11249+895597ab.s390x::postgresql:10 +47
  • RHSA-2021:2360 Released 2021-06-09 · Red Hat rating Important
    postgresql:9.6 security update
    • Red Hat Enterprise Linux AppStream (v. 8) postgresql-9.6.22-1.module+el8.4.0+11244+beebcf7e.aarch64::postgresql:9.6, postgresql-9.6.22-1.module+el8.4.0+11244+beebcf7e.ppc64le::postgresql:9.6, postgresql-9.6.22-1.module+el8.4.0+11244+beebcf7e.s390x::postgresql:9.6 +42

Vendor assessments

Red Hat

Red Hat rating: Important. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 6AffectedNo fix planned: Out of support scope
Red Hat JBoss Enterprise Application Platform 6AffectedNo fix planned: Out of support scope
Red Hat Ansible Tower 3.8 for RHEL 7Fixed—
Red Hat Enterprise Linux AppStream (v. 8)Fixed RHSA-2021:2360, RHSA-2021:2361, RHSA-2021:2372, RHSA-2021:2375
Red Hat Enterprise Linux AppStream EUS (v. 8.1)Fixed RHSA-2021:2392, RHSA-2021:2393
Red Hat Enterprise Linux AppStream EUS (v. 8.2)Fixed RHSA-2021:2389, RHSA-2021:2390, RHSA-2021:2391
Red Hat Enterprise Linux Client (v. 7)Fixed RHSA-2021:2397
Red Hat Enterprise Linux Client Optional (v. 7)Fixed RHSA-2021:2397
Red Hat Enterprise Linux ComputeNode Optional (v. 7)Fixed RHSA-2021:2397
Red Hat Enterprise Linux Server (v. 7)Fixed RHSA-2021:2397
Red Hat Enterprise Linux Server Optional (v. 7)Fixed RHSA-2021:2397
Red Hat Enterprise Linux Workstation (v. 7)Fixed RHSA-2021:2397
Red Hat Enterprise Linux Workstation Optional (v. 7)Fixed RHSA-2021:2397
Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7)Fixed RHSA-2021:2394, RHSA-2021:2395, RHSA-2021:2396
Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.7)Fixed RHSA-2021:2394, RHSA-2021:2395, RHSA-2021:2396
Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7)Fixed RHSA-2021:2394, RHSA-2021:2395, RHSA-2021:2396
Not affected: 7 products
  • Red Hat Decision Manager 7
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9
  • Red Hat Fuse 7
  • Red Hat JBoss Enterprise Application Platform 7
  • Red Hat Process Automation 7
  • Red Hat build of Quarkus

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-32027
  2. 2026-10-03 Alias added: GHSA-8rj6-p58w-wpr2

References

Sources