All vulnerabilities

Servers and applications

CVE-2026-16238

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.

Severity
High 8.8
Published
13 Aug 2026
Last changed
29 Aug 2026
Added to UpHeron
16 Oct 2026
Fixed in
14.24, 15.19, 16.15, 17.11, 18.5
Sources
NVD

Affected software

SoftwareAffected versions
PostgreSQLServers and applications · cpe:a:postgresql:postgresql
  • From 14.0 before 14.24
  • From 15.0 before 15.19
  • From 16.0 before 16.15
  • From 17.0 before 17.11
  • From 18.0 before 18.5

References

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