OpenBSD has a use-after-free allowing local privilege escalation to root
摘要
CVE-2026-57589 描述 OpenBSD through 7.9 的 sys/kern/sysv sem.c 中存在 use-after-free,允许本地权限提升至 root,具体为 sys semget () 中 tsleep 后的上下文切换 use-after-free。MITRE 评估 CVSS 3.1 基分 7.4 HIGH,向量 AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H,CWE-416 Use After Free。页面列出发布日期 2026/6/24、修改历史、GitHub commit 等参考链接。
荐读理由
根据正文摘录,CVE-2026-57589 记录 OpenBSD 内核中 sys/kern/sysv sem.c 的上下文切换 use-after-free 漏洞,允许本地 root 提权。
原文
**CVE-2026-57589 Detail
This CVE record has been marked for NVD enrichment efforts.
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: NVD
** ** N/A
NVD assessment not yet provided.
CVSS 3.x Severity and Vector Strings:
NIST: NVD
Base Score: N/A
NVD assessment not yet provided.
CNA: MITRE
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
CVSS 2.0 Severity and Vector Strings:
NIST: NVD
Base Score: N/A
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].
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/openbsd/src/commit/1957873d2063db11dab780eca75b5e629d1e838d | MITRE | |
| https://openai.com/index/patch-the-planet/ | MITRE |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-416 | Use After Free | MITRE |
Change History
3 change records found show changes
CVE Modified by CISA-ADP 6/26/2026 1:16:31 AM
{"timestamp":"2026-06-25T12:34:51.474289Z","id":"CVE-2026-57589","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}
{"timestamp":"2026-06-25T00:00:00+00:00","id":"CVE-2026-57589","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}
| Action | Type | Old Value | New Value |
|---|---|---|---|
| Changed | SSVC |
CVE Modified by CISA-ADP 6/25/2026 9:16:49 AM
{"timestamp":"2026-06-25T12:34:51.474289Z","id":"CVE-2026-57589","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}
| Action | Type | Old Value | New Value |
|---|---|---|---|
| Added | SSVC |
New CVE Received from MITRE 6/24/2026 9:16:26 PM
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().
AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CWE-416
https://github.com/openbsd/src/commit/1957873d2063db11dab780eca75b5e629d1e838d
https://openai.com/index/patch-the-planet/
[{"vendor":"OpenBSD","product":"OpenBSD","defaultStatus":"unaffected","versions":[{"version":"0","lessThanOrEqual":"7.9","versionType":"custom","status":"affected"}]}]
| Action | Type | Old Value | New Value |
|---|---|---|---|
| Added | Description | ||
| Added | CVSS V3.1 | ||
| Added | CWE | ||
| Added | Reference | ||
| Added | Reference | ||
| Added | Affected |
Quick Info
CVE Dictionary Entry: CVE-2026-57589 NVD Published Date: 06/24/2026 NVD Last Modified: 06/26/2026 ** Source:** MITRE
这条对你有帮助吗?