ZDI-26-785: FreeBSD Kernel Shared Memory Time-Of-Check Time-Of-Use Local Privilege Escalation Vulnerability
ZDI disclosed FreeBSD kernel shared-memory TOCTOU bug CVE-2026-58094 enabling local privilege escalation.
The Zero Day Initiative published ZDI-26-785, a time-of-check time-of-use flaw in FreeBSD kernel shared memory tracked as CVE-2026-58094. A local attacker who can already execute low-privileged code can escalate privileges on affected systems. ZDI assigned a CVSS score of 7.8. The advisory does not report active exploitation.
- ZDI-26-785 is a shared-memory time-of-check time-of-use bug.
- CVE-2026-58094 allows local privilege escalation and is rated CVSS 7.8.
- Exploitation requires the attacker to already run low-privileged code.
- CVEs
- CVE-2026-58094
- Vendors
- FreeBSD
- Products
- FreeBSD Kernel
- Organizations
- Zero Day Initiative
Vulnerabilities mentioned
All| CVE | Vulnerability | CVSS | EPSS | Signals | Published |
|---|---|---|---|---|---|
| CVE-2026-58094 | The FIOSSHMLPGCNF ioctl(2) operation configures the page size for a largepage shared memory object | 7.8 | <1% |
From the original article
This vulnerability allows local attackers to escalate privileges on affected installations of FreeBSD Kernel. An attacker must first obtain the ability to execute low-privileged code on the target system in order to exploit this vulnerability. The ZDI has assigned a CVSS rating of 7.
zerodayinitiative.com
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.