A type confusion vulnerability in PostgreSQL's plpgsql record-field assignment allows an object creator to execute arbitrary code as the operating system user running the database. This occurs via a reentrant domain CHECK that changes a RECORD variable's row type while a value is being cast. Versions before PostgreSQL 14.25, 15.20, 16.16, 17.12, and 18.7 are affected.