CVE-2026-116307
PostgreSQL plperl prepared-query use-after-free executes arbitrary code
8.8
Description
Use after free in PostgreSQL plperl allows an object creator to execute arbitrary code as the operating system user running the database, via re-entering plperl and freeing a prepared query while an outer invocation is executing it. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.
Affected products and versions
| Product / package | Ecosystem / vendor | Versions | Fixed in | Source |
|---|---|---|---|---|
| postgresql | n/a | 18 → <18.7; 17 → <17.12; 16 → <16.16; 15 → <15.20; 0 → <14.25 | 14.25 | CVE.org |