CVE Database
/

CVE-2026-5398

Back to search

CVE-2026-5398

Published: Apr 22, 2026

Modified: Apr 23, 2026

PUBLISHED

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.

VendorProductVersions

FreeBSD

FreeBSD

affected
15.0-RELEASE - < p6
affected
14.4-RELEASE - < p2
affected
14.3-RELEASE - < p11
affected
13.5-RELEASE - < p12

Weaknesses (CWE)

Security Training

Train your team to recognize and prevent security threats with our comprehensive security awareness program.

Start Training

Vulnerability Scanning

Discover vulnerabilities in your applications and infrastructure before attackers do.

Scan Now