Use-after-free in PostgreSQL - CVE-2026-116307
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 plperl when executing prepared queries during reentrant calls. A remote user can use object-creation privileges to re-enter plperl and free a prepared query while an outer invocation is executing it to execute arbitrary code as the operating system user running the database.