CVE-2026-57589: sys/kern/sysv_sem.c in OpenBSD through 7.9 has a use-after-free allowing local privilege escalation to root
CVE-2026-57589 is a high-severity flaw (CVSS 7.4) affecting openbsd. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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().
Why this priority
- High severity
A fixed release or distro patch exists.
Risk facts
| CVSS score | 7.4 (High) |
| Attack vector | Local |
| Attack complexity | High |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.2% (top 94%) |
| CISA exploited list | No |
| Weakness | CWE-416 |
| Published | 2026-06-25 |
| Last modified | 2026-07-10 |
Last updated 2026-07-10 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-57589?
openbsd: upgrade to newer than 7.9. Exact commands for each OS are on this page.
Is CVE-2026-57589 being exploited?
CVE-2026-57589 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-57589 affect?
CVE-2026-57589 affects openbsd. Severity is high (CVSS 7.4). 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().
How urgent is CVE-2026-57589?
Priority 27/100. High severity
Related CVEs
- CVE-2026-56099 MEDIUM 5.3 UPGRADE OpenBSD before commit 6a23123 (2026-06-18) contains an out-of-bounds read vulnerability in the mpls_do_error f
- CVE-2026-55706 MEDIUM 5.8 UPGRADE sppp_pap_input in sys/net/if_spppsubr.c in OpenBSD before 076e2b1 allows authentication bypass via certain zer