Use-after-free in PostgreSQL - CVE-2026-116332
Published: November 12, 2026
Vulnerability details
The vulnerability allows a remote user to execute arbitrary code as the operating system user running the database.
The vulnerability exists due to use-after-free in PostgreSQL portal setup when user-defined code closes the portal currently being prepared during planning or executor startup. A remote user can create an object that runs such user-defined code to execute arbitrary code as the operating system user running the database.