CVE-2026-5398

CVE-2026-5398: Kernel use-after-free bug in the TIOCNOTTY handler

Vendor Freebsd
Product FreeBSD
Weakness CWE-416
Published April 22, 2026
Last update April 23, 2026

CVSS base score

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

April 22, 2026 CVE published
April 23, 2026 Record updated