{"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-116332","cwes":["CWE-416"],"description":"Use after free in PostgreSQL portal setup allows an object creator to execute arbitrary code as the operating system user running the database, via running user-defined code during planning or executor startup that closes the portal currently being prepared.  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"},{"score":8.8,"severity":"high","source":"NVD: f86ef6dc-4d3a-42ad-8f28-e6d5547a5007","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}],"modifiedAt":1794547087233,"publishedAt":1794492918550,"references":[{"source":"CNA: PostgreSQL","tags":[],"url":"https://www.postgresql.org/support/security/CVE-2026-116332/"},{"source":"f86ef6dc-4d3a-42ad-8f28-e6d5547a5007","tags":[],"url":"https://www.postgresql.org/support/security/CVE-2026-116332/"}],"remediation":[],"revision":"704003347a920e91be58929bf083f521d7f96f8a76e9d906b9a70fa0f1a8a3aa","sources":[{"modifiedAt":1794546174542,"name":"CNA: PostgreSQL","retrievedAt":1794550123043,"url":"https://www.cve.org/CVERecord?id=CVE-2026-116332"},{"modifiedAt":1794547087233,"name":"NVD","retrievedAt":1794550650635,"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-116332"}],"ssvc":{"assessedAt":1794441600000,"automatable":"no","exploitation":"none","source":"ADP: CISA-ADP","technicalImpact":"total"},"status":"published","title":"PostgreSQL portal setup use-after-free executes arbitrary code","updatedAt":1794550650635}