PostgreSQL up to 16.0 Function Call aggregate information disclosure

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
4.2$0-$5k0.00

Summaryinfo

A vulnerability has been found in PostgreSQL up to 16.0 and classified as problematic. Affected is the function aggregate of the component Function Call Handler. Performing a manipulation results in information disclosure. This vulnerability is reported as CVE-2023-5868. The attack is possible to be carried out remotely. No exploit exists. The affected component should be upgraded.

Detailsinfo

A vulnerability, which was classified as problematic, was found in PostgreSQL up to 16.0 (Database Software). This affects the function aggregate of the component Function Call Handler. The manipulation with an unknown input leads to a information disclosure vulnerability. CWE is classifying the issue as CWE-200. The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. This is going to have an impact on confidentiality. The summary by CVE is:

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.

The weakness was disclosed 11/10/2023. It is possible to read the advisory at bugzilla.redhat.com. This vulnerability is uniquely identified as CVE-2023-5868 since 10/31/2023. Technical details of the vulnerability are known, but there is no available exploit. The attack technique deployed by this issue is T1592 according to MITRE ATT&CK.

The vulnerability scanner Nessus provides a plugin with the ID 216614 (Oracle Linux 9 : postgresql:15 (ELSA-2025-1741)), which helps to determine the existence of the flaw in a target environment.

Upgrading to version 11.22, 12.17, 13.13, 14.10, 15.5 or 16.1 eliminates this vulnerability. The upgrade is hosted for download at postgresql.org.

The vulnerability is also documented in the databases at Tenable (216614) and EUVD (EUVD-2023-58142). Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Productinfo

Type

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 4.3
VulDB Meta Temp Score: 4.2

VulDB Base Score: 4.3
VulDB Temp Score: 4.1
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 4.3
NVD Vector: 🔍

CNA Base Score: 4.3
CNA Vector: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

Exploitinginfo

Class: Information disclosure
CWE: CWE-200 / CWE-284 / CWE-266
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 216614
Nessus Name: Oracle Linux 9 : postgresql:15 (ELSA-2025-1741)

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: PostgreSQL 11.22/12.17/13.13/14.10/15.5/16.1

Timelineinfo

10/31/2023 🔍
11/10/2023 +10 days 🔍
11/10/2023 +0 days 🔍
08/02/2025 +631 days 🔍

Sourcesinfo

Product: postgresql.org

Advisory: bugzilla.redhat.com
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2023-5868 (🔍)
GCVE (CVE): GCVE-0-2023-5868
GCVE (VulDB): GCVE-100-244947
EUVD: 🔍

Entryinfo

Created: 11/10/2023 13:41
Updated: 08/02/2025 19:40
Changes: 11/10/2023 13:41 (42), 09/14/2024 06:45 (36), 02/22/2025 03:54 (2), 08/02/2025 19:40 (1)
Complete: 🔍
Cache ID: 216::103

Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to know what is going to be exploited?

We predict KEV entries!