{"id":"JLSEC-2026-1589","details":"Type confusion in PostgreSQL \"portal\"`/cursor` lifecycle allows a user to execute arbitrary code as the operating system user running the database, via re-creation of a cursor or other portal with different types.  Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected.","modified":"2026-12-01T14:45:04.433902663Z","published":"2026-12-01T14:32:39.787Z","upstream":["CVE-2026-16239"],"database_specific":{"license":"CC-BY-4.0","sources":[{"published":"2026-08-13T13:17:46.520Z","url":"https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-16239","html_url":"https://nvd.nist.gov/vuln/detail/CVE-2026-16239","database_specific":{"status":"Modified"},"affected":{"postgresql:postgresql":["\u003e= 14.0, \u003c 14.24","\u003e= 15.0, \u003c 15.19","\u003e= 16.0, \u003c 16.15","\u003e= 17.0, \u003c 17.11","\u003e= 18.0, \u003c 18.5"]},"id":"CVE-2026-16239","imported":"2026-11-21T04:27:54.395Z","modified":"2026-08-29T23:17:19.520Z"}]},"references":[{"type":"WEB","url":"https://www.postgresql.org/support/security/CVE-2026-16239/"}],"affected":[{"package":{"name":"LibPQ_jll","ecosystem":"Julia","purl":"pkg:julia/LibPQ_jll?uuid=08be9ffa-1c94-5ee5-a977-46a84ec9b350"},"ranges":[{"type":"SEMVER","events":[{"introduced":"16.0.0+0"},{"last_affected":"16.14.0+0"}]}],"database_specific":{"source":"https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2026/JLSEC-2026-1589.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"CNA"}]}