Skip to content
CVE PROGRAM SOURCE RECORD8.8 High

CVE-2026-120151

PostgreSQL plpgsql record-field type confusion executes arbitrary code

Description

Type confusion in PostgreSQL plpgsql record-field assignment allows an object creator to execute arbitrary code as the operating system user running the database, via a reentrant domain CHECK that changes a RECORD variable's row type while a value is being cast. 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