Use After Free in OpenBSD
CVE-2026-57589
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().
Vulnerability class: Use-After-Free
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.4 (High). Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.002, 6.4th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- OpenBSD — versions 0
Weakness classification (CWE)
References
- github.com/openbsd/src/commit/1957873d2063db11dab780eca75b5e629d1e838d (Patch)
- openai.com/index/patch-the-planet/ (Third Party Advisory)