CVE-2026-5398

High

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.

SeverityHigh
CVSS8.4
Exploit probability—
ProductFreebsd
PublishedApr 22, 2026
First seenApr 22, 2026

How to fix

Affected products

ProductAffected versionsFixed in
freebsd freebsd13.5, 14.3, 14.4, 15.0—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.