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-5868

medium

A memory disclosure vulnerability was found in PostgreSQL that allows remote users to access sensitive information by exploiting certain aggregate function cal…

Vendor / product: Postgresql — postgresql

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.

CVSS
4.3
4.3 (CVSS v3.1)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Severity source: NVD CVSS v3.1 (nvd@nist.gov)
Timeline (UTC)
Published: 2023-12-10 18:15
Modified: 2026-11-05 12:17
NVD status: Modified
Last synced 1 week ago
Verified against the source API 2026-11-05 12:46 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_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 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_little_endian 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_server_aus 8.2, 8.4, 8.6, 9.2
redhat / enterprise_linux_server_tus 8.2, 8.4, 8.6

Weakness classification (CWE)

CWE-686 NVD-CWE-noinfo

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-5868/
Vendor advisory: https://www.postgresql.org/support/security/CVE-2023-5868/
Patch / mitigation: https://www.postgresql.org/support/security/CVE-2023-5868/
Patch / mitigation: https://www.postgresql.org/support/security/CVE-2023-5868/

References

Data sources

NVD CVE API 2.0 — fetched 2026-11-05 12:46 UTC · record ↗

Learn the basics

Understanding CVEs and CVSS Scores

Related CVEs