# CVE-2021-32028: A flaw was found in postgresql.

- Severity: Medium 6.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.56%, higher than 75% of CVEs (2026-12-01)
- Published: 2021-10-11T00:00:00.000Z
- Modified: 2026-09-08T08:47:53.133Z
- Also known as: BIT-POSTGRESQL-2021-32028
- Weaknesses: CWE-200
- Assigned by: redhat

## Description

A flaw was found in postgresql. Using an INSERT ... ON CONFLICT ... DO UPDATE command on a purpose-crafted table, an authenticated database user could read arbitrary bytes of server memory. The highest threat from this vulnerability is to data confidentiality.

(As written by CVE List.)

## Affected

- postgresql: postgresql 13.3, postgresql 12.7, postgresql 11.12, postgresql 10.17, postgresql 9.6.22
- postgresql postgresql: from 9.6.0 before 9.6.22; from 10.0 before 10.17; from 11.0 before 11.12; from 12.0 before 12.7; from 13.0 before 13.3
- postgresql (Bitnami): from 9.6.0 before 9.6.22; from 10.0.0 before 10.17.0; from 11.0.0 before 11.12.0; from 12.0.0 before 12.7.0; from 13.0.0 before 13.3.0

## Every score

- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 4.0 Medium `AV:N/AC:L/Au:S/C:P/I:N/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=1956877> (advisory, issue-tracking, patch, third-party-advisory)
- <https://www.postgresql.org/support/security/CVE-2021-32028> (advisory, vendor-advisory)
- <https://security.netapp.com/advisory/ntap-20211112-0003/> (advisory, third-party-advisory)
- <https://security.gentoo.org/glsa/202211-04> (advisory, third-party-advisory, vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-32028> (web)

## Sources

- CVE List: [CVE-2021-32028](https://www.cve.org/CVERecord?id=CVE-2021-32028), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-32028](https://nvd.nist.gov/vuln/detail/CVE-2021-32028), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-POSTGRESQL-2021-32028](https://osv.dev/vulnerability/BIT-POSTGRESQL-2021-32028), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2021-32028 · Whole record: https://cve.day/CVE-2021-32028.json · Rebuilt by cve.day 2026-11-25T22:58:04.418Z
