# CVE-2023-5869: Postgresql: buffer overrun from integer overflow in array modification

- Severity: High 8.8 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- 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): 4.32%, higher than 91% of CVEs (2026-12-02)
- Published: 2023-12-10T17:56:57.131Z
- Modified: 2026-11-26T13:24:15.823Z
- Also known as: BIT-POSTGRESQL-2023-5869
- Weaknesses: CWE-190
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- advanced-cluster-security/rhacs-central-db-rhel8: no versions given (not affected: from 4.2.4-6 before *; from 3.74.8-9 before *; from 4.1.6-6 before *)
- advanced-cluster-security/rhacs-main-rhel8: no versions given (not affected: from 4.2.4-6 before *; from 3.74.8-9 before *; from 4.1.6-6 before *)
- advanced-cluster-security/rhacs-operator-bundle: no versions given (not affected: from 4.2.4-7 before *; from 3.74.8-7 before *; from 4.1.6-6 before *)
- advanced-cluster-security/rhacs-scanner-db-rhel8: no versions given (not affected: from 4.2.4-6 before *; from 3.74.8-9 before *; from 4.1.6-6 before *)
- advanced-cluster-security/rhacs-scanner-db-slim-rhel8: no versions given (not affected: from 4.2.4-7 before *; from 3.74.8-9 before *; from 4.1.6-6 before *)
- postgresql: no versions given (not affected: from 0:9.2.24-9.el7_9 before *; from 0:13.13-1.el9_3 before *; from 0:13.13-1.el9_0 before *; from 0:13.13-1.el9_2 before *)
- postgresql:13: no versions given (not affected: from 8090020231114113712.a75119d5 before *; from 8040020231127154806.522a0ee4 before *; from 8060020231114115246.ad008a3a before *; from 8080020231114105206.63b34585 before *)
- postgresql:12: no versions given (not affected: from 8090020231128173330.a75119d5 before *; from 8020020231128165246.4cda2c84 before *; from 8040020231127153301.522a0ee4 before *; from 8060020231128165328.ad008a3a before *; from 8080020231128165335.63b34585 before *)
- postgresql:10: no versions given (not affected: from 8090020231201202407.a75119d5 before *; from 8010020231130170510.c27ad7f8 before *; from 8020020231201202149.4cda2c84 before *; from 8040020231127142440.522a0ee4 before *; from 8060020231201202249.ad008a3a before *; from 8080020231201202316.63b34585 before *)
- postgresql:15: no versions given (not affected: from 8090020231114113548.a75119d5 before *; from 8080020231113134015.63b34585 before *; from 9030020231120082734.rhel9 before *; from 9020020231115020618.rhel9 before *)
- rh-postgresql12-postgresql: no versions given (not affected: from 0:12.17-1.el7 before *)
- rh-postgresql10-postgresql: no versions given (not affected: from 0:10.23-2.el7 before *)
- rh-postgresql13-postgresql: no versions given (not affected: from 0:13.13-1.el7 before *)
- postgresql:16/postgresql: no versions given
- postgresql postgresql: from 11.0 before 11.22; from 12.0 before 12.17; from 13.0 before 13.13; from 14.0 before 14.10; from 15.0 before 15.5; 16.0
- redhat codeready_linux_builder_eus: 9.2
- redhat codeready_linux_builder_eus_for_power_little_endian_eus: 9.0_ppc64le; 9.2_ppc64le
- redhat codeready_linux_builder_for_arm64_eus: 8.6_aarch64; 9.0_aarch64; 9.2_aarch64
- redhat codeready_linux_builder_for_ibm_z_systems_eus: 9.0_s390x; 9.2_s390x
- redhat codeready_linux_builder_for_power_little_endian_eus: 9.0_ppc64le; 9.2_ppc64le
- redhat software_collections: 1.0
- redhat enterprise_linux: 8.0; 9.0
- redhat enterprise_linux_desktop: 7.0
- redhat enterprise_linux_eus: 8.6; 8.8; 9.0; 9.2
- redhat enterprise_linux_for_arm_64: 8.0; 8.8_aarch64
- redhat enterprise_linux_for_ibm_z_systems: 7.0_s390x; 8.0_s390x
- redhat enterprise_linux_for_ibm_z_systems_eus: 8.6_s390x; 8.8_s390x; 9.0_s390x; 9.2_s390x
- redhat enterprise_linux_for_power_big_endian: 7.0_ppc64
- redhat enterprise_linux_for_power_little_endian: 7.0_ppc64le; 8.0_ppc64le
- redhat enterprise_linux_for_power_little_endian_eus: 8.6_ppc64le; 8.8_ppc64le; 9.0_ppc64le; 9.2_ppc64le
- redhat enterprise_linux_for_scientific_computing: 7.0
- redhat enterprise_linux_server: 7.0
- redhat enterprise_linux_server_aus: 8.2; 8.4; 8.6; 9.2
- redhat enterprise_linux_server_tus: 8.2; 8.4; 8.6
- redhat enterprise_linux_workstation: 7.0
- postgresql (Bitnami): from 11.0.0 before 11.22.0; from 12.0.0 before 12.17.0; from 13.0.0 before 13.13.0; from 14.0.0 before 14.10.0; from 15.0.0 before 15.5.0; from 16.0.0 before 16.0.1

## Every score

- redhat: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Bitnami Vulnerability Database: rating High

## References

- <https://access.redhat.com/errata/RHSA-2023:7545> (advisory, third-party-advisory, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2023:7579> (advisory, third-party-advisory, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2023:7580> (advisory, third-party-advisory, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2023:7581> (advisory, third-party-advisory, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2023:7616> (advisory, third-party-advisory, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2023:7656> (advisory, third-party-advisory, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2023:7666> (advisory, third-party-advisory, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2023:7667> (advisory, third-party-advisory, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2023:7694> (advisory, third-party-advisory, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2023:7695> (advisory, third-party-advisory, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2023:7714> (advisory, third-party-advisory, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2023:7770> (advisory, third-party-advisory, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2023:7771> (advisory, third-party-advisory, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2023:7772> (advisory, third-party-advisory, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2023:7778> (advisory, third-party-advisory, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2023:7783> (advisory, third-party-advisory, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2023:7784> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2023:7785> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2023:7786> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2023:7788> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2023:7789> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2023:7790> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2023:7878> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2023:7883> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2023:7884> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2023:7885> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2024:0304> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2024:0332> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2024:0337> (vendor-advisory, web)
- <https://access.redhat.com/security/cve/CVE-2023-5869> (advisory, third-party-advisory, vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2247169> (issue-tracking, report)
- <https://www.postgresql.org/about/news/postgresql-161-155-1410-1313-1217-and-1122-released-2749/> (article, release-notes)
- <https://www.postgresql.org/support/security/CVE-2023-5869/> (advisory, vendor-advisory)
- <https://security.netapp.com/advisory/ntap-20240119-0003/> (web)
- <https://lists.debian.org/debian-lts-announce/2023/11/msg00007.html> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-5869> (web)

## Sources

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

---

Page: https://cve.day/CVE-2023-5869 · Whole record: https://cve.day/CVE-2023-5869.json · Rebuilt by cve.day 2026-11-26T13:32:22.525Z
