CVE-2023-5868

published 10 Dec 2023 · updated 5 Nov 2026

Postgresql: memory disclosure in aggregate function calls

4.3MediumCVSS 4.3EPSS 3%

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

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

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>=14.0 <14.10, >=13.0 <13.13, >=11.0 <11.22, =16.0, >=12.0 <12.17, >=15.0 <15.514.10, 13.13, 11.22, 12.17, 15.5
redhatenterprise_linux_for_power_little_endian=8.0_ppc64le
redhatenterprise_linux_for_power_little_endian_eus=8.6_ppc64le, =8.8_ppc64le, =9.0_ppc64le, =9.2_ppc64le
redhatenterprise_linux_server_aus=8.2, =8.4, =9.2, =8.6
redhatenterprise_linux_server_tus=8.2, =8.4, =8.6
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_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=8.0_s390x
redhatenterprise_linux_for_ibm_z_systems_eus=8.6_s390x, =8.8_s390x, =9.0_s390x, =9.2_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-5868 severity on Zeptric[![CVE-2023-5868](https://zeptric.io/badge/cve/CVE-2023-5868.svg)](https://zeptric.io/cve/CVE-2023-5868)