Local privilege escalation via tty revalidation race
Published Aug 26, 2026 · Updated Aug 27, 2026
Use-after-free in the FreeBSD tty subsystem allows local users to escalate privileges through a race in terminal ioctl handling. TIOCSCTTY drops the tty lock for the process tree lock, then links the terminal to a session without revalidating it after relocking, even if another thread is destroying it. An unprivileged local account must win the race; successful exploitation elevates privileges through the kernel.
Summary
What happened
Use-after-free in the FreeBSD tty subsystem allows local users to escalate privileges through a race in terminal ioctl handling. TIOCSCTTY drops the tty lock for the process tree lock, then links the terminal to a session without revalidating it after relocking, even if another thread is destroying it. An unprivileged local account must win the race; successful exploitation elevates privileges through the kernel.
The record
- CVE
- CVE-2026-58093
- Published
- Aug 26, 2026
- Updated
- Aug 27, 2026
- Vendor
- The FreeBSD Project
- Product
- FreeBSD
- Classifications
- CWE-362, CWE-416, T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Aug 26, 2026CVE publishedPublication date reported by the CVE source.
- Aug 27, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=14.4-RELEASE <p9
- Affected versionversion=15.0-RELEASE <p13
- Affected versionversion=15.1-RELEASE <p3
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo