ZeroDay Brief
CVE-2026-58093

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.

CVSS
7.0High
Chance of exploitation (EPSS)
—
Published
Aug 26, 2026
In the news
1 story
Vendor advisory More from this vendor

What to do

A serious memory corruption flaw in Freebsd that needs access to the machine itself. No attacks are reported yet; it can go in your normal patch cycle.

Action: Apply the vendor's update or follow its advisory.

Fixed in: p3, p9, p13

Affected versions
Freebsd
14.4-RELEASE to before p9; 15.0-RELEASE to before p13; 15.1-RELEASE to before p3

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.

CWE-362CWE-416

Affected products

Get alerts for these →

Timeline 2

Latest change: ZDI-26-838: FreeBSD Kernel TTY Race Condition Local Privilege Escalation Vulnerability (Oct 29, 2026)

News, advisories, exploit code, scanner detection and exploitation, newest first.

Wed, Aug 26, 2026

  1. CVECVE-2026-58093 published (CVSS 7.0)CVE Program · 06:16 UTC

References 1

You are leaving ZeroDay Brief

This link goes to exploit code on a third-party site. We find these links automatically and do not test, review or vouch for them. They may contain malware or fake exploits.

We are not responsible for anything that happens if you open the page or run its code. Never run exploit code on systems you care about.

↑ ↓ moveEnter openEsc closeTry “CVE-2026”, “fortinet” or “ivanti”