Description
A flaw was found in PostgreSQL that allows authenticated database users to execute arbitrary code through missing overflow checks during SQL array value modification. This issue exists due to an integer overflow during array modification where a remote user can trigger the overflow by providing specially crafted data. This enables the execution of arbitrary code on the target system, allowing users to write arbitrary bytes to memory and extensively read the server's 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 desktop; 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 big endian; redhat: enterprise linux for power little endian
References10
- www.postgresql.org/support/security/CVE-2023-5869/ Vendor Advisory
- www.postgresql.org/support/security/CVE-2023-5869/ Vendor 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
-
8.8
HIGH
Score source: NVD
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - EPSS — exploit probability
- 4% percentile: 91 · as of 5 November 2026
- CWE
- CWE-190
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.