CVE-2023-5869
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.
Description as published by the source, in English.
Key facts
- Published
- 2023-12-10
- Last modified
- 2026-11-26
- Assigned by
- secalert@redhat.com
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H- Scored by
- nvd@nist.gov (NVD Primary)
- Probability of exploitation
-
4.3 %
higher than 90 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Not registered in the sources
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Postgresql | Postgresql | 16.0 | Affected |
| Postgresql | Postgresql | ≥ 11.0, < 11.22 | Affected |
| Postgresql | Postgresql | ≥ 12.0, < 12.17 | Affected |
| Postgresql | Postgresql | ≥ 13.0, < 13.13 | Affected |
| Postgresql | Postgresql | ≥ 14.0, < 14.10 | Affected |
| Postgresql | Postgresql | ≥ 15.0, < 15.5 | Affected |
| Redhat | Codeready Linux Builder Eus | 9.2 | Affected |
| Redhat | Codeready Linux Builder Eus For Power Little Endian Eus | 9.0_ppc64le | Affected |
| Redhat | Codeready Linux Builder Eus For Power Little Endian Eus | 9.2_ppc64le | Affected |
| Redhat | Codeready Linux Builder For Arm64 Eus | 8.6_aarch64 | Affected |
| Redhat | Codeready Linux Builder For Arm64 Eus | 9.0_aarch64 | Affected |
| Redhat | Codeready Linux Builder For Arm64 Eus | 9.2_aarch64 | Affected |
| Redhat | Codeready Linux Builder For Ibm Z Systems Eus | 9.0_s390x | Affected |
| Redhat | Codeready Linux Builder For Ibm Z Systems Eus | 9.2_s390x | Affected |
| Redhat | Codeready Linux Builder For Power Little Endian Eus | 9.0_ppc64le | Affected |
| Redhat | Codeready Linux Builder For Power Little Endian Eus | 9.2_ppc64le | Affected |
| Redhat | Enterprise Linux | 8.0 | Affected |
| Redhat | Enterprise Linux | 9.0 | Affected |
| Redhat | Enterprise Linux Desktop | 7.0 | Affected |
| Redhat | Enterprise Linux Eus | 8.6 | Affected |
| Redhat | Enterprise Linux Eus | 8.8 | Affected |
| Redhat | Enterprise Linux Eus | 9.0 | Affected |
| Redhat | Enterprise Linux Eus | 9.2 | Affected |
| Redhat | Enterprise Linux For Arm 64 | 8.0 | Affected |
| Redhat | Enterprise Linux For Arm 64 | 8.8_aarch64 | Affected |
| Redhat | Enterprise Linux For Ibm Z Systems | 7.0_s390x | Affected |
| Redhat | Enterprise Linux For Ibm Z Systems | 8.0_s390x | Affected |
| Redhat | Enterprise Linux For Ibm Z Systems Eus | 8.6_s390x | Affected |
| Redhat | Enterprise Linux For Ibm Z Systems Eus | 8.8_s390x | Affected |
| Redhat | Enterprise Linux For Ibm Z Systems Eus | 9.0_s390x | Affected |
| Redhat | Enterprise Linux For Ibm Z Systems Eus | 9.2_s390x | Affected |
| Redhat | Enterprise Linux For Power Big Endian | 7.0_ppc64 | Affected |
| Redhat | Enterprise Linux For Power Little Endian | 7.0_ppc64le | Affected |
| Redhat | Enterprise Linux For Power Little Endian | 8.0_ppc64le | Affected |
| Redhat | Enterprise Linux For Power Little Endian Eus | 8.6_ppc64le | Affected |
| Redhat | Enterprise Linux For Power Little Endian Eus | 8.8_ppc64le | Affected |
| Redhat | Enterprise Linux For Power Little Endian Eus | 9.0_ppc64le | Affected |
| Redhat | Enterprise Linux For Power Little Endian Eus | 9.2_ppc64le | Affected |
| Redhat | Enterprise Linux For Scientific Computing | 7.0 | Affected |
| Redhat | Enterprise Linux Server | 7.0 | Affected |
| Redhat | Enterprise Linux Server Aus | 8.2 | Affected |
| Redhat | Enterprise Linux Server Aus | 8.4 | Affected |
| Redhat | Enterprise Linux Server Aus | 8.6 | Affected |
| Redhat | Enterprise Linux Server Aus | 9.2 | Affected |
| Redhat | Enterprise Linux Server Tus | 8.2 | Affected |
| Redhat | Enterprise Linux Server Tus | 8.4 | Affected |
| Redhat | Enterprise Linux Server Tus | 8.6 | Affected |
| Redhat | Enterprise Linux Workstation | 7.0 | Affected |
| Redhat | Software Collections | 1.0 | Affected |
Weakness type
-
CWE-190: Integer Overflow or Wraparound
The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is i…
References
- https://access.redhat.com/errata/RHSA-2023:7545
- https://access.redhat.com/errata/RHSA-2023:7579
- https://access.redhat.com/errata/RHSA-2023:7580
- https://access.redhat.com/errata/RHSA-2023:7581
- https://access.redhat.com/errata/RHSA-2023:7616
- https://access.redhat.com/errata/RHSA-2023:7656
- https://access.redhat.com/errata/RHSA-2023:7666
- https://access.redhat.com/errata/RHSA-2023:7667
- https://access.redhat.com/errata/RHSA-2023:7694
- https://access.redhat.com/errata/RHSA-2023:7695
- https://access.redhat.com/errata/RHSA-2023:7714
- https://access.redhat.com/errata/RHSA-2023:7770
- https://access.redhat.com/errata/RHSA-2023:7771
- https://access.redhat.com/errata/RHSA-2023:7772
- https://access.redhat.com/errata/RHSA-2023:7778
- https://access.redhat.com/errata/RHSA-2023:7783
- https://access.redhat.com/security/cve/CVE-2023-5869
- https://bugzilla.redhat.com/show_bug.cgi?id=2247169
- https://www.postgresql.org/about/news/postgresql-161-155-1410-1313-1217-and-1122-released…
- https://www.postgresql.org/support/security/CVE-2023-5869/
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.