CVE-2023-5869

published 10 Dec 2023 · updated 4 Nov 2026

Postgresql: buffer overrun from integer overflow in array modification

8.8HighCVSS 8.8EPSS 4%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 4%. Fixed in 12.17, 11.22, 14.10 and 2 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Red HatAdvanced Cluster Security
Red HatEnterprise Linux
Red HatRHACS-3.74-RHEL-8
Red HatRHACS-4.1-RHEL-8
Red HatSoftware Collections
postgresqlpostgresql>=12.0 <12.17, =16.0, >=11.0 <11.22, >=14.0 <14.10, >=13.0 <13.13, >=15.0 <15.512.17, 11.22, 14.10, 13.13, 15.5
redhatenterprise_linux_for_ibm_z_systems_eus=9.0_s390x, =9.2_s390x, =8.6_s390x, =8.8_s390x
redhatenterprise_linux_for_power_big_endian=7.0_ppc64
redhatenterprise_linux_for_power_little_endian=7.0_ppc64le, =8.0_ppc64le
redhatenterprise_linux_for_power_little_endian_eus=8.6_ppc64le, =8.8_ppc64le, =9.0_ppc64le, =9.2_ppc64le
redhatenterprise_linux_for_scientific_computing=7.0
redhatenterprise_linux_server=7.0
redhatenterprise_linux_server_aus=8.2, =8.6, =9.2, =8.4
redhatenterprise_linux_server_tus=8.2, =8.4, =8.6
redhatenterprise_linux_workstation=7.0
redhatcodeready_linux_builder_eus=9.2
redhatcodeready_linux_builder_eus_for_power_little_endian_eus=9.0_ppc64le, =9.2_ppc64le
redhatcodeready_linux_builder_for_arm64_eus=8.6_aarch64, =9.0_aarch64, =9.2_aarch64
redhatcodeready_linux_builder_for_ibm_z_systems_eus=9.0_s390x, =9.2_s390x
redhatcodeready_linux_builder_for_power_little_endian_eus=9.0_ppc64le, =9.2_ppc64le
redhatsoftware_collections=1.0
redhatenterprise_linux=8.0, =9.0
redhatenterprise_linux_desktop=7.0
redhatenterprise_linux_eus=8.6, =8.8, =9.0, =9.2
redhatenterprise_linux_for_arm_64=8.0, =8.8_aarch64
redhatenterprise_linux_for_ibm_z_systems=7.0_s390x, =8.0_s390x

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Red Hat, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2023-5869 severity on Zeptric[![CVE-2023-5869](https://zeptric.io/badge/cve/CVE-2023-5869.svg)](https://zeptric.io/cve/CVE-2023-5869)