Description
A memory disclosure vulnerability was found in PostgreSQL that allows remote users to access sensitive information by exploiting certain aggregate function calls with 'unknown'-type arguments. Handling 'unknown'-type values from string literals without type designation can disclose bytes, potentially revealing notable and confidential information. This issue exists due to excessive data output in aggregate function calls, enabling remote users to read some portion of system memory.
Affected products
postgresql: postgresql; redhat: codeready linux builder eus; redhat: codeready linux builder eus for power little endian eus; redhat: codeready linux builder for arm64 eus; redhat: codeready linux builder for ibm z systems eus; redhat: codeready linux builder for power little endian eus; redhat: software collections; redhat: enterprise linux; redhat: enterprise linux eus; redhat: enterprise linux for arm 64; redhat: enterprise linux for ibm z systems; redhat: enterprise linux for ibm z systems eus; redhat: enterprise linux for power little endian; redhat: enterprise linux for power little endian eus; redhat: enterprise linux server aus
References10
- www.postgresql.org/support/security/CVE-2023-5868/ MitigationVendor Advisory
- www.postgresql.org/support/security/CVE-2023-5868/ MitigationVendor Advisory
- access.redhat.com/errata/RHSA-2023:7545 Third Party Advisory
- access.redhat.com/errata/RHSA-2023:7579 Third Party Advisory
- access.redhat.com/errata/RHSA-2023:7580 Third Party Advisory
- access.redhat.com/errata/RHSA-2023:7581 Third Party Advisory
- access.redhat.com/errata/RHSA-2023:7616 Third Party Advisory
- access.redhat.com/errata/RHSA-2023:7656 Third Party Advisory
- access.redhat.com/errata/RHSA-2023:7666 Third Party Advisory
- access.redhat.com/errata/RHSA-2023:7667 Third Party Advisory
Metrics
- CVSS 3.1
-
4.3
MEDIUM
Score source: NVD
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N - EPSS — exploit probability
- 3% percentile: 86 · as of 5 November 2026
- CWE
- CWE-686
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.