Uncaught exceptions in PostgreSQL plperl allow an object creator to cause use of a stale sigjmp_buf, via a tied Perl object, or a Perl object whose overloaded conversion throws while plperl is handling another error. We have not ruled out arbitrary code execution on some platform. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.
Attacker has permission to "CREATE EXTENSION plperl", or another user previously issued that. Attacker has permission to create objects (temporary objects or non-temporary objects in at least one schema).