CVE-2026-58093: FreeBSD TIOCSCTTY Use-After-Free Local Privilege Escalation
- Vendor
- Freebsd
A use-after-free race condition in the FreeBSD kernel's TIOCSCTTY ioctl handler allows local privilege escalation. The handler releases the tty lock to acquire the process-tree lock but fails to revalidate terminal state after reacquiring the tty lock. Consequently, it can link a terminal undergoing concurrent destruction to the calling process's session. The vulnerability affects supported FreeBSD releases, including the 14.x and 15.x branches.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
An unprivileged local user can exploit the race condition to escalate privileges, potentially compromising system confidentiality, integrity, and availability. The vulnerability has a CVSS v3 base score of 7.0 with vector CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H.
Mitigation
If you can’t patch tonight, do this now.
No workaround is available. Limit local access to affected systems to trusted users until the security update can be applied.
Remediation
Patch, then assume compromise.
Upgrade to FreeBSD 15.1-RELEASE-p3, 15.0-RELEASE-p13, 14.4-RELEASE-p9, or a later corrected release, or use a supported stable or release/security branch containing the fix, then reboot. Applicable package-based installations can use pkg upgrade -r FreeBSD-base; binary RELEASE installations can use freebsd-update. Alternatively, apply the vendor patch, rebuild and install the corrected kernel, and reboot.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Frequently asked questions
- Is CVE-2026-58093 exploited in the wild?
- As of Oct 31, 2026, Mallory has no reports of CVE-2026-58093 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-58093?
- As of Oct 31, 2026, Mallory has found no public exploit for CVE-2026-58093.
- Is there a patch for CVE-2026-58093?
- Upgrade to FreeBSD 15.1-RELEASE-p3, 15.0-RELEASE-p13, 14.4-RELEASE-p9, or a later corrected release, or use a supported stable or release/security branch containing the fix, then reboot. Applicable package-based installations can use pkg upgrade -r FreeBSD-base; binary RELEASE installations can use freebsd-update.
- What products are affected by CVE-2026-58093?
- Freebsd.
- How severe is CVE-2026-58093?
- CVE-2026-58093 has a CVSS v3.1 score of 7.0 (High) and an EPSS score of 0.10% (1st percentile) as of Oct 31, 2026.
Recent activity
7 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.