CVE
CVE-2026-16238
CVE-2026-16238HIGH 8.8EPSS 36%
CNA description
Type confusion in PostgreSQL pg_restore_attribute_stats() allows an object creator to execute arbitrary code as the operating system user running the database, via conflation of range and multirange values. Within major version 18, minor versions before PostgreSQL 18.6 are affected. Versions before PostgreSQL 18 are unaffected.
Affected versions
All PostgreSQL vulnerabilities →
- ≥ 18.0, < 18.5Fixed in 18.5
- ≥ 17.0, < 17.11Fixed in 17.11
- ≥ 16.0, < 16.15Fixed in 16.15
- ≥ 15.0, < 15.19Fixed in 15.19
- ≥ 14.0, < 14.24Fixed in 14.24
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Advisories and patches
- www.postgresql.org/support/security/CVE-2026-16238/ · Vendor Advisory
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.