Vulnerabilities

CVE-2026-58093

High 7.0 CVSS 3.1

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.

Description as published by the source, in English.

Key facts

Published
2026-08-26
Last modified
2026-09-24
Assigned by
secteam@freebsd.org
CVSS vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Scored by
134c704f-9b21-4f2e-91b3-4a467353bcc0
Fix available
Not registered in the sources

Affected products

Vendor Product Versions Status
Freebsd Freebsd 14.4 Affected
Freebsd Freebsd 15.0 Affected
Freebsd Freebsd 15.1 Affected

Weakness type

  • CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization

    The product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating …

  • CWE-416: Use After Free

    The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within…

References

Related at Berigo

Articles

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities