OpenBSD through 7.9 has a use-after-free allowing local privilege escalation to root (CVE-2026-57589)

Lobsters Hottest News

Summary

A use-after-free vulnerability in OpenBSD through version 7.9 allows local attackers to escalate privileges to root. The flaw exists in sysv_sem.c and is identified as CVE-2026-57589.

<p><a href="https://lobste.rs/s/7hmu0w/openbsd_through_7_9_has_use_after_free">Comments</a></p>
Original Article
View Cached Full Text

Cached at: 07/08/26, 02:23 AM

# NVD - cve-2026-57589 Source: [https://nvd.nist.gov/vuln/detail/cve-2026-57589](https://nvd.nist.gov/vuln/detail/cve-2026-57589) ### 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\(\)\. ### Metrics *NVD enrichment efforts reference publicly available information to associate vector strings\. CVSS information contributed by other sources is also displayed\.* **CVSS 4\.0 Severity and Vector Strings:** ![NIST CVSS score](https://nvd.nist.gov/site-media/images/NVD_NVD_Stack_Plain.svg) **NIST:**NVD NVD assessment not yet provided\. ### References to Advisories, Solutions, and Tools By selecting these links, you will be leaving NIST webspace\. We have provided these links to other web sites because they may have information that would be of interest to you\. No inferences should be drawn on account of other sites being referenced, or not, from this page\. There may be other web sites that are more appropriate for your purpose\. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites\. Further, NIST does not endorse any commercial products that may be mentioned on these sites\. Please address comments about this page to[\[email protected\]](https://nvd.nist.gov/cdn-cgi/l/email-protection#0c627a684c62657f78226b637a)\. URLSource\(s\)Tag\(s\)[https://github\.com/openbsd/src/commit/1957873d2063db11dab780eca75b5e629d1e838d](https://github.com/openbsd/src/commit/1957873d2063db11dab780eca75b5e629d1e838d)MITRE[https://openai\.com/index/patch\-the\-planet/](https://openai.com/index/patch-the-planet/)MITRE ### Weakness Enumeration CWE\-IDCWE NameSource[CWE\-416](http://cwe.mitre.org/data/definitions/416.html)Use After FreeMITRE ### Change History 3 change records found[show changes](https://nvd.nist.gov/vuln/detail/cve-2026-57589#VulnChangeHistorySection)

Similar Articles

CVE-2026-45257: LPE in FreeBSD via kTLS-RX

Lobsters Hottest

A critical local privilege escalation vulnerability in FreeBSD (CVE-2026-45257) allows an unprivileged user to write arbitrary data into the page cache of any readable file, bypassing file permissions and flags, leading to full root compromise. The bug affects default installations of FreeBSD 13.0 and later via unsafe composition of sendfile, KTLS, and in-kernel AES-GCM decryption.

Bad Epoll (CVE-2026-46242)

Lobsters Hottest

Bad Epoll (CVE-2026-46242) is a race-condition use-after-free vulnerability in the Linux kernel's epoll subsystem that allows unprivileged users to escalate to root on both Linux and Android devices. It was reported by Jaeyoung Chung and was missed by Anthropic's Mythos AI.