# CVE-2026-57589: sys/kern/sysvsem.c in OpenBSD through 7.9 has a use-after-free allowing local privilege escalation to root.

- Severity: High 7.4 (CVSS:3.1, scored by mitre) `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.12%, higher than 1% of CVEs (2026-12-01)
- Published: 2026-06-25T00:33:04.749Z
- Modified: 2026-07-10T16:39:52.480Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: mitre

## Description

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().

(As written by CVE List.)

## Affected

- OpenBSD OpenBSD: up to 7.9

## Every score

- mitre: CVSS:3.1 7.4 High `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/openbsd/src/commit/1957873d2063db11dab780eca75b5e629d1e838d> (patch)
- <https://openai.com/index/patch-the-planet/> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-57589](https://www.cve.org/CVERecord?id=CVE-2026-57589), CVE Terms of Use, modified 2026-06-26
- NVD: [CVE-2026-57589](https://nvd.nist.gov/vuln/detail/CVE-2026-57589), Public domain, modified 2026-07-10

---

Page: https://cve.day/CVE-2026-57589 · Whole record: https://cve.day/CVE-2026-57589.json · Rebuilt by cve.day 2026-11-25T22:59:25.784Z
