Security 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 86th percentile
Risk Priority 42 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). Risk Priority is our own derived reading, not an NVD score.

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, exploitation aligns with the MITRE ATT&CK technique LSASS Memory (T1003.001); ranked in the top 14% 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

MITRE ATT&CK Enterprise Techniques

T1003.001 LSASS Memory Credential Access
Adversaries may attempt to access credential material stored in the process memory of the Local Security Authority Subsystem Service (LSASS).
T1003.008 /etc/passwd and /etc/shadow Credential Access
Adversaries may attempt to dump the contents of <code>/etc/passwd</code> and <code>/etc/shadow</code> to enable offline password cracking.
T1007 System Service Discovery Discovery
Adversaries may try to gather information about registered local system services.
T1008 Fallback Channels Command And Control
Adversaries may use fallback or alternate communication channels if the primary channel is compromised or inaccessible in order to maintain reliable command and control and to avoid data transfer thresholds.
T1010 Application Window Discovery Discovery
Adversaries may attempt to get a listing of open application windows.
T1011 Exfiltration Over Other Network Medium Exfiltration
Adversaries may attempt to exfiltrate data over a different network medium than the command and control channel.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2023-5870Same product: Postgresql Postgresql
CVE-2023-5869Same product: Postgresql Postgresql
CVE-2024-32632Shared CWE-686
CVE-2026-33783Shared CWE-686
CVE-2023-5633Same product: Redhat Codeready Linux Builder Eus
CVE-2024-1488Same product: Redhat Codeready Linux Builder Eus
CVE-2025-1756Same 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

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 partial match
blocks

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.

blocks

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

blocks

A.8.26 requires identifying and specifying security requirements (including input validation and resilience against injections) during development or acquisition; it does not itself enforce correct argument typing or stop the resulting call from being exploitable.

prevents

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

finds

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

References