VULNERABILITY INTELLIGENCE
CVE-2026-5398
CVSS score8.4 HIGH
EPSS probability0.21%
CISA KEVNot currently listed
Published2026-04-22
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Description
The implementation of TIOCNOTTY failed to clear a back-pointer from the structure representing the controlling terminal to the calling process' session. If the invoking process then exits, the terminal structure may end up containing a pointer to freed memory. A malicious process can abuse the dangling pointer to grant itself root privileges.
Weakness classification
- secteam@freebsd.org: CWE-416
Primary references
- secteam@freebsd.org — Vendor Advisory