8.8

CVE-2023-5869: Postgresql: buffer overrun from integer overflow in array modification

Modified
AliasesALPINE-CVE-2023-5869RHSA-2023:7771RHSA-2023:7778
Published 10-12-2023Last modified 26-11-2026

Vulnerability summary

CVE-2023-5869 is a high (CVSS 8.8) Integer Overflow or Wraparound vulnerability in postgresql. EPSS estimates a 4.32% chance of exploitation in the next 30 days, higher than 91.4% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 8.8, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
8.8/10
010
High · v3.1 (CVE.org)
EPSS score
4.32%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 42 · Related 27

Timeline

  1. 10-12-2023
    PublishedVulnerability first disclosed.
  2. 26-11-2026
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

8 scores · 8 sources · 1 version

EPSS trend

Probability

4.32%

Chance of exploitation in the next 30 days

Percentile

91%

Versus all other CVEs

30-day change

No change 0.00 pp

From 4.32% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Redhat63 products
Chainguard5 products
  • postgresql-12< 12.17-r0
  • postgresql-13< 13.13-r0
  • postgresql-14< 14.10-r0
  • postgresql-15< 15.5-r0
  • postgresql-16< 16.1-r0
Ubuntu5 products
  • postgresql-10< 10.23-0ubuntu0.18.04.2+esm1
  • postgresql-12< 12.17-0ubuntu0.20.04.1
  • postgresql-14< 14.10-0ubuntu0.22.04.1
  • postgresql-9.3All versions (No fix recorded)
  • postgresql-9.5< 9.5.25-0ubuntu0.16.04.1+esm6
Wolfi5 products
  • postgresql-12< 12.17-r0
  • postgresql-13< 13.13-r0
  • postgresql-14< 14.10-r0
  • postgresql-15< 15.5-r0
  • postgresql-16< 16.1-r0
Alpine4 products
  • postgresql12< 12.17-r0
  • postgresql14< 14.10-r0
  • postgresql15< 15.5-r0
  • postgresql16< 16.1-r0
Debian1 product
  • postgresql-15< 15.5-0+deb12u1
Postgresql1 product
  • postgresql≥ 11.0, < 11.22 | ≥ 12.0, < 12.17 | ≥ 13.0, < 13.13 | ≥ 14.0, < 14.10 | ≥ 15.0, < 15.5 | 16.0

7 vendors · 84 products

References

53 links
Show all 53 references