Skip to content
CVE PROGRAM SOURCE RECORD8.1 High

CVE-2026-120148

PostgreSQL extended-statistics pseudo-type confusion executes arbitrary code

Description

Type confusion in PostgreSQL extended statistics allows an object creator to execute arbitrary code as the operating system user running the database, via a statistics expression of an anonymous RECORD type whose backend-local type identifier denotes a different row type in another session. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.

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.7affected
  • 17 to < 17.12affected
  • 16 to < 16.16affected
  • 15 to < 15.20affected
  • 0 to < 14.25affected

References