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

CVE-2026-58093 affects 25 listed versions of FreeBSD in the Dawnsentry catalogue.

7.0CVSS high
None knownexploitation
under 1%EPSS (next 30 days)
26 August 2026published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

FreeBSD

25 of 250 listed versions are affected. Fixed in 15.1-RELEASE-p3, 15.0-RELEASE-p13, 14.4-RELEASE-p9. The newest release, 15.1-p7, is not affected.

15.1-p2 15.1-p1 15.1 15.0-p12 15.0-p11 15.0-p10 15.0-p9 15.0-p8 15.0-p7 15.0-p6 15.0-p5 15.0-p4 15.0-p3 15.0-p2 15.0-p1 15.0 14.4-p8 14.4-p7 14.4-p6 14.4-p5 14.4-p4 14.4-p3 14.4-p2 14.4-p1 14.4

What it is

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.

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H (Freebsd)

Published by Freebsd on 26 August 2026. Last changed 24 September 2026.

Sources

Check one version you run: look CVE-2026-58093 up, or pick a product and version in the quick lookup.

Updated 1 December 2026.