{"id":"CVE-2026-58093","title":"The TIOCSCTTY ioctl handler drops the tty lock in order to acquire the process tree lock","summary":"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 concurrent…","severity":"high","cvss":7,"cvssVector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","cwe":["CWE-362","CWE-416"],"vendor":"freebsd","product":"freebsd","affected":["freebsd = 14.4","freebsd = 15.0","freebsd = 15.1"],"published":"2026-08-26","updated":"2026-09-24","sourceUpdated":"2026-09-24T13:25:33.060","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-58093","references":[{"url":"https://security.freebsd.org/advisories/FreeBSD-SA-26:62.tty.asc","label":"secteam@freebsd.org"}],"tags":["nvd"],"epss":0.0009,"epssPercentile":0.00521,"ingestedAt":"2026-09-24T13:43:25.662Z","slug":"CVE-2026-58093","body":"## Overview\n\nThe 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.\n\nAn unprivileged local user can exploit this race condition to escalate privileges.\n\n## Affected\n\n- `freebsd = 14.4`\n- `freebsd = 15.0`\n- `freebsd = 15.1`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"twilight","depthScore":39,"depthScoreParts":{"impact":38.5,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}