CVEvulnerability

CVE-2026-58093

7.0 HIGH Published 2026-08-26 Modified 2026-09-24 Official page ↗
Status
Analyzed
Published
2026-08-26
Last modified
2026-09-24
Assigner
[email protected]
CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
7.0 HIGH — CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-362, CWE-416

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 configurations

• freebsd freebsd 14.4 • freebsd freebsd 15.0 • freebsd freebsd 15.1

Related

Weakness · CWE (2)

  • CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization weakness
  • CWE-416 Use After Free weakness

References