CVE-2026-5398

Kernel use-after-free bug in the TIOCNOTTY handler

HIGH
8.4
CVSS Score
Published: April 22, 2026 at 02:23 AM UTC
Updated: June 17, 2026 at 10:58 AM UTC
1 product affected across 1 vendorFreeBSD

Using FreeBSD by FreeBSD?

Get instant alerts when new vulnerabilities affect FreeBSD - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH8.4
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

Affected range stops below p11, so it looks safe — our inference, not a vendor statement
Affected range stops below p12, so it looks safe — our inference, not a vendor statement
Affected range stops below p2, so it looks safe — our inference, not a vendor statement
Affected range stops below p6, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (1)

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

8.4HIGHCISA-ADP
Attack Vector
LOCAL
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-416

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card