{"id":"CVE-2026-5398","published":"2026-04-22T02:23:56Z","modified":"2026-04-23T03:56:10Z","title":"Kernel use-after-free bug in the TIOCNOTTY handler","vendor":"FreeBSD","product":"FreeBSD","tier":"tail","description":{"text":"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.\n\nA malicious process can abuse the dangling pointer to grant itself root privileges.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.4,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00212,"percentile":0.11648,"provenance":"source"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"references":[{"url":"https://security.freebsd.org/advisories/FreeBSD-SA-26:10.tty.asc","tags":["vendor-advisory"]}],"priority":{"score":8.2,"factors":[{"name":"EPSS percentile","points":2.33},{"name":"CVSS severity","points":5.88}]},"vendorSlug":"freebsd","affectedVersions":[{"vendor":"FreeBSD","product":"FreeBSD","versions":[">= 15.0-RELEASE, < p6",">= 14.4-RELEASE, < p2",">= 14.3-RELEASE, < p11",">= 13.5-RELEASE, < p12"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-04-22T00:00:00+00:00","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-24589","exploited":false,"provenance":"source"}}