{"affected":[{"defaultStatus":"unaffected","product":"PostgreSQL","source":"CNA: PostgreSQL","vendor":"n/a","versions":[{"lessThan":"18.7","status":"affected","version":"18","versionType":"rpm"},{"lessThan":"17.12","status":"affected","version":"17","versionType":"rpm"},{"lessThan":"16.16","status":"affected","version":"16","versionType":"rpm"},{"lessThan":"15.20","status":"affected","version":"15","versionType":"rpm"},{"lessThan":"14.25","status":"affected","version":"0","versionType":"rpm"}]}],"cveId":"CVE-2026-116307","cwes":["CWE-416"],"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.","epss":null,"exploits":[],"kev":null,"metrics":[{"score":8.8,"severity":"high","source":"CNA: PostgreSQL","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}],"modifiedAt":1794492903906,"publishedAt":1794492903906,"references":[{"source":"CNA: PostgreSQL","tags":[],"url":"https://www.postgresql.org/support/security/CVE-2026-116307/"}],"remediation":[],"revision":"d248c773191f7337dd21f09a00bd869f4e17a0156156c7ce70f56eb714b9f358","sources":[{"modifiedAt":1794492903906,"name":"CNA: PostgreSQL","retrievedAt":1794496118693,"url":"https://www.cve.org/CVERecord?id=CVE-2026-116307"}],"ssvc":null,"status":"published","title":"PostgreSQL plperl prepared-query use-after-free executes arbitrary code","updatedAt":1794496118693}