Memory Management Flaw in PostgreSQL Affects Multiple Versions
CVE-2026-120150
8.8HIGH
What is CVE-2026-120150?
A significant vulnerability in PostgreSQL allows an object creator to execute arbitrary code by triggering a use after free scenario in domain checks. This occurs when repeated checks of a domain over a composite type lead to the reuse of a dangling memory-context pointer. Systems running affected versions may risk execution of uncontrolled code with the privileges of the database's operating system user. Users are urged to upgrade their installations to secure versions to mitigate this risk.
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.