Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Freebsd | Freebsd | 13.5 |
Related Weaknesses (CWE)
References
FAQ
What is CVE-2026-5398?
CVE-2026-5398 is a vulnerability with a CVSS score of 8.4 (HIGH). 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 termin...
How severe is CVE-2026-5398?
CVE-2026-5398 has been rated HIGH with a CVSS base score of 8.4/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-5398?
Check the references section above for vendor advisories and patch information. Affected products include: Freebsd Freebsd.