CVE-2026-58093
High
Description
The TIOCSCTTY ioctl handler drops the tty lock in order to acquire the process tree lock. After reacquiring the tty lock, the handler did not revalidate the state of the terminal, and could proceed to link a terminal that was concurrently being destroyed to the calling process' session. An unprivileged local user can exploit this race condition to escalate privileges.
SeverityHigh
CVSS7.0
Exploit probability—
Product
Freebsd
PublishedAug 26, 2026
First seenAug 26, 2026
Weakness typeCWE-362Race conditionCWE-416Use after free
How to fix
Vendor advisories
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| freebsd freebsd | 14.4, 15.0, 15.1 | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.