Independent & educational platform Not a government body. No link or affiliation with any government organisation. Made for learning only. Test only systems you own or are authorised to test. Become a Partner or Sponsor → Full disclaimer

CVE-2023-5869

high

A flaw was found in PostgreSQL that allows authenticated database users to execute arbitrary code through missing overflow checks during SQL array value modifi…

Vendor / product: Postgresql — postgresql

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.

CVSS
8.8
8.8 (CVSS v3.1)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Severity source: NVD CVSS v3.1 (nvd@nist.gov)
Timeline (UTC)
Published: 2023-12-10 18:15
Modified: 2026-11-04 21:17
NVD status: Modified
Last synced 6 hours ago
Verified against the source API 2026-11-04 21:37 UTC
Exploitation
Not listed in CISA KEV (as of last catalog sync)
Absence from KEV does not mean a CVE is not exploited. Exploitation status: unknown (no authoritative evidence in our sources).

Affected products

postgresql / postgresql ≥11.0 <11.22, ≥12.0 <12.17, ≥13.0 <13.13, ≥14.0 <14.10, ≥15.0 <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

Weakness classification (CWE)

Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.

Mitigation & advisories

Vendor advisory: https://www.postgresql.org/support/security/CVE-2023-5869/
Vendor advisory: https://www.postgresql.org/support/security/CVE-2023-5869/

References

Data sources

NVD CVE API 2.0 — fetched 2026-11-04 21:37 UTC · record ↗

Learn the basics

Understanding CVEs and CVSS Scores

Related CVEs