# CVE-2026-58093: Kernel use-after-free via tty ioctls

- Severity: High 7.0 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.08%, higher than 0% of CVEs (2026-12-01)
- Published: 2026-08-26T05:33:30.605Z
- Modified: 2026-09-24T13:25:33.060Z
- Weaknesses: CWE-362, CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: freebsd

## 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.

(As written by CVE List.)

## Affected

- FreeBSD FreeBSD: from 15.1-RELEASE before p3; from 15.0-RELEASE before p13; from 14.4-RELEASE before p9; 14.4; 15.0; 15.1

## References

- <https://security.freebsd.org/advisories/FreeBSD-SA-26:62.tty.asc> (vendor-advisory)

## Sources

- CVE List: [CVE-2026-58093](https://www.cve.org/CVERecord?id=CVE-2026-58093), CVE Terms of Use, modified 2026-08-27
- NVD: [CVE-2026-58093](https://nvd.nist.gov/vuln/detail/CVE-2026-58093), Public domain, modified 2026-09-24

---

Page: https://cve.day/CVE-2026-58093 · Whole record: https://cve.day/CVE-2026-58093.json · Rebuilt by cve.day 2026-11-25T22:59:35.341Z
