Type Confusion Vulnerability in PostgreSQL Affects Multiple Versions
CVE-2026-120151

8.8HIGH

Key Information:

Vendor

PostgreSQL

Vendor
CVE Published:
12 November 2026

What is CVE-2026-120151?

A type confusion vulnerability in PostgreSQL arises during plpgsql record-field assignment, permitting an object creator to execute arbitrary code under the privileges of the operating system user executing the database. This issue occurs through a reentrant domain CHECK that improperly modifies a RECORD variable's row type while a value is being cast. Such behavior could enable an attacker to exploit the database's execution context, potentially compromising its security and integrity.

Affected Version(s)

PostgreSQL 18 < 18.7

PostgreSQL 17 < 17.12

PostgreSQL 16 < 16.16

References

CVSS V3.1

Score:
8.8
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
Low
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

The PostgreSQL project thanks Claude and Ada Logics for reporting this problem.
.