PostgreSQL type confusion in pg_restore_attribute_stats() executes arbitrary code
At a glance
Severity
HIGH 8.8
EPSS
EPSS 0.41 % · percentile 36 (2026-10-27)
State
PUBLISHED
Published
Updated
Assigner
PostgreSQL
NVD status
Modified
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.