CVE-2026-16238Published Aug 13, 2026 · Aug 13Updated Aug 29
PostgreSQL type confusion in pg_restore_attribute_stats() executes arbitrary code
PostgreSQL
High8.8
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| PostgreSQL |
| No fix yet |
Original 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.
From the CVE record · PostgreSQL