CVE-2026-58093

ZDI-26-784 · ZDI-26-838 · ZDI-CAN-31968 · ZDI-CAN-32022 · published 26 Aug 2026 · updated 29 Oct 2026

Kernel use-after-free via tty ioctls

7.0HighCVSS 7.0EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in p9, p13 and p3.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
FreeBSD>=14.4-RELEASE <p9, >=15.0-RELEASE <p13, >=15.1-RELEASE <p3p9, p13, p3

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-58093 severity on Zeptric[![CVE-2026-58093](https://zeptric.io/badge/cve/CVE-2026-58093.svg)](https://zeptric.io/cve/CVE-2026-58093)