What’s Vulnerable › Vulnerabilities
CVE-2026-5398: Kernel use-after-free bug in the TIOCNOTTY handler
- Severity: high (CVSS 8.4 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-04-22 · updated 2026-06-17
- Weakness: CWE-416
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.
Affected products
- FreeBSD: 13.5, 13.5-beta3, 13.5-p1, 13.5-p10, 13.5-p11, 13.5-p2 (+27)
References
Get alerted when CVE-2026-5398 or the next vulnerability affects your stack