{"id":"CVE-2026-57589","published":"2026-06-25T00:33:04Z","modified":"2026-06-26T03:55:33Z","title":"sys/kern/sysv_sem.c in OpenBSD through 7.9 has a use-after-free allowing local privilege escalation to root","vendor":"OpenBSD","product":"OpenBSD","tier":"tail","description":{"text":"sys/kern/sysv_sem.c in OpenBSD through 7.9 has a use-after-free allowing local privilege escalation to root. This is a context switch use-after-free after tsleep in sys_semget().","provenance":"source","from":"CVE.org"},"cvss":{"score":7.4,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00169,"percentile":0.06455,"provenance":"source"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"references":[{"url":"https://github.com/openbsd/src/commit/1957873d2063db11dab780eca75b5e629d1e838d","tags":[]},{"url":"https://openai.com/index/patch-the-planet/","tags":[]}],"priority":{"score":6.5,"factors":[{"name":"EPSS percentile","points":1.29},{"name":"CVSS severity","points":5.18}]},"vendorSlug":"openbsd","affectedVersions":[{"vendor":"OpenBSD","product":"OpenBSD","versions":["<= 7.9"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-06-25T00:00:00+00:00","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-39156","exploited":false,"provenance":"source"}}