Use-after-free in PostgreSQL - CVE-2026-120147
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 the PostgreSQL dblink extension when type conversion code re-enters dblink and closes a connection whose results an outer dblink call is reading. A remote user can use object-creation capabilities to trigger this reentrant disconnect through type conversion code to execute arbitrary code as the operating system user running the database.