Cyber Resilience

CVE-2023-5868

Postgresql 11.0 – 11.22

Published
10 December 2023
Modified
23 June 2026
Patch / advisory
CVSS Score v3.1 4.3
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
EPSS Score 0.028 85th percentile
Risk Priority 42 floored blend · peak EPSS

Summary

CVE-2023-5868 is a medium-severity Function Call With Incorrect Argument Type (CWE-686) vulnerability in Postgresql Postgresql. Its CVSS base score is 4.3 (Medium).

Operationally, ranked in the top 15% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)

Related Threats

CVEs Like This One

CVE-2023-5870Same product: Postgresql Postgresql
CVE-2023-5869Same product: Postgresql Postgresql
CVE-2025-1756Same product: Redhat Codeready Linux Builder Eus
CVE-2024-1488Same product: Redhat Codeready Linux Builder Eus
CVE-2023-5633Same product: Redhat Codeready Linux Builder Eus
CVE-2023-3758Same product: Redhat Codeready Linux Builder Eus
CVE-2025-2784Same product: Redhat Codeready Linux Builder For Arm64 Eus
CVE-2024-9676Same product: Redhat Enterprise Linux
CVE-2023-3972Same product: Redhat Enterprise Linux
CVE-2023-6535Same product: Redhat Codeready Linux Builder Eus

Affected Assets

postgresql
postgresql
16.0 · 11.0 — 11.22 · 12.0 — 12.17 · 13.0 — 13.13
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
+6 more product configuration(s) — see NVD for full list

Mitigating Controls

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 mostly match
prevents

Secure SDLC practices (static analysis, code review, typed APIs, testing) directly prevent incorrect-argument calls while this single weakness addresses only a narrow slice of the control's broader intent.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

finds

Security testing in development can detect type-related defects through unit, integration, and static-analysis testing.

prevents

Secure development life cycle includes coding standards and reviews that can catch type-mismatch errors.

prevents

Application security requirements can mandate strong typing and interface contracts that prevent incorrect argument types.

degrades

Secure system architecture and engineering principles promote type-safe designs and interface definitions.

prevents

Secure coding directly addresses type safety, static analysis, and compiler warnings for argument mismatches.

References