CVE-2026-58093
JSON

7.0high

Kernel use-after-free via tty ioctls

Severity
7.0high CVSS:3.1 by CISA-ADP
Exploit likelihood
0.08% (higher than 0% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
FreeBSD FreeBSDfrom 15.1-RELEASE before p3, from 15.0-RELEASE before p13, from 14.4-RELEASE before p9, 14.4, 15.0, 15.1CVE List, NVD

Classification

CWE-362CWE-416

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-58093 changed 2026-08-27CVE Terms of Use
NVDCVE-2026-58093 changed 2026-09-24Public domain