OpenBSD System V Semaphore Flaw Enables Local Root Escalation
Attack Tradecraft · 2 sources · Updated 4mo ago · First seen Jun 23, 2025

OpenBSD disclosed a local privilege-escalation vulnerability, tracked as CVE-2026-57589, in its System V semaphore implementation. The bug stems from an integer overflow in the sys_semget() handler that can lead to kernel memory corruption and allow a local user to escalate privileges to root under certain conditions.
A fix was committed to OpenBSD-current, while patches for stable branches were still pending in the reporting cited. The flaw was reportedly identified during the Patch the Planet event focused on AI-assisted vulnerability research, and the same reporting also referenced separate OpenBSD findings affecting IPsec/IPComp, NFS, and the pinsyscall and kbind mechanisms.


