Skip to content
CVE PROGRAM SOURCE RECORD8.8 High

CVE-2026-16238

PostgreSQL type confusion in pg_restore_attribute_stats() executes arbitrary code

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

n/a PostgreSQL

Default version status: unaffected

  • 18 to < 18.6affected

References