CVE-2026-5398
High
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.
SeverityHigh
CVSS8.4
Exploit probability—
Product
Freebsd
PublishedApr 22, 2026
First seenApr 22, 2026
Weakness typeCWE-416Use after free
How to fix
Vendor advisories
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| freebsd freebsd | 13.5, 14.3, 14.4, 15.0 | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.