Integer overflow in PostgreSQL

CVE-2023-5869

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.

Vulnerability class: Integer Overflow

Published · last modified .

CVSS v3 metric

CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

EPSS exploit prediction

EPSS: 0.043 (91.2th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 91st percentile — 91.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2023-5869: held from 0.043 to 0.043.

EPSS over last 30 days · oldest: 0.043 · newest: 0.043 · change: 0.000

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2023-5869?
CVE-2023-5869 is a high-severity vulnerability in PostgreSQL, classified under Integer Overflow or Wraparound. CVSS score: 8.8/10. Published 2023-12-10.
How severe is CVE-2023-5869?
High severity. CVSS v3 base score is 8.8 out of 10.
Is CVE-2023-5869 known to be exploited?
4 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.