All vulnerabilities

Servers and applications

CVE-2026-2004

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.

Severity
High 8.8
Published
12 Feb 2026
Last changed
15 Jul 2026
Added to UpHeron
16 Oct 2026
Fixed in
14.21, 15.16, 16.12, 17.8, 18.2
Sources
NVD

Affected software

SoftwareAffected versions
PostgreSQLServers and applications · cpe:a:postgresql:postgresql
  • From 14.0 before 14.21
  • From 15.0 before 15.16
  • From 16.0 before 16.12
  • From 17.0 before 17.8
  • From 18.0 before 18.2

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-2004
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-2004