CVE-2026-5398CWE-416

Kernel use-after-free bug in the TIOCNOTTY handler

High · published April 22, 2026

CVSS v3.1
8.4
EPSS
0%
Percentile
6.8
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.4 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00176 · 6.8th percentile
Weakness
CWE-416 · Use After Free
Published
2026-04-22T02:23Z
EPSS history
Timeline
  • 22 APR 02:23Z
    Kernel use-after-free bug in the TIOCNOTTY handler
    cvelistv5