2084AI Security Observatory

CVE

CVE-2026-2004

CVE-2026-2004HIGH 8.8EPSS 72%

CNA description

Missing validation of type of input in PostgreSQL intarray extension selectivity estimator function allows an object creator to execute arbitrary code as the operating system user running the database. Versions before PostgreSQL 18.2, 17.8, 16.12, 15.16, and 14.21 are affected.

Affected versions

All PostgreSQL vulnerabilities →

  • ≥ 18.0, < 18.2Fixed in 18.2
  • ≥ 17.0, < 17.8Fixed in 17.8
  • ≥ 16.0, < 16.12Fixed in 16.12
  • ≥ 15.0, < 15.16Fixed in 15.16
  • ≥ 14.0, < 14.21Fixed in 14.21

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.