2084AI Security Observatory

CVE

CVE-2023-5869

CVE-2023-5869HIGH 8.8EPSS 91%

CNA 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.

Affected versions

All PostgreSQL vulnerabilities →

  • 16.0This version only
  • ≥ 15.0, < 15.5Fixed in 15.5
  • ≥ 14.0, < 14.10Fixed in 14.10
  • ≥ 13.0, < 13.13Fixed in 13.13
  • ≥ 12.0, < 12.17Fixed in 12.17
  • ≥ 11.0, < 11.22Fixed in 11.22

Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.

Advisories and patches

Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.