CVE-2026-5398
published high CVSS 3.1 · 8.4Kernel use-after-free bug in the TIOCNOTTY handler
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| FreeBSD | — | FreeBSD15.0-RELEASE to < p6 · 14.4-RELEASE to < p2 · 14.3-RELEASE to < p11 · 13.5-RELEASE to < p12 · Other versions: unknown | Affected | Not stated | freebsd |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.4 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| FreeBSD | FreeBSD | 15.0-RELEASE to < p6 (affected · release)14.4-RELEASE to < p2 (affected · release)14.3-RELEASE to < p11 (affected · release)13.5-RELEASE to < p12 (affected · release)Default: unknown | freebsd · cna |
Weaknesses
1- CWE-416 CWE-416: Use After Free
References
1Provider assertions
2freebsd · cna
Kernel use-after-free bug in the TIOCNOTTY handler
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 620b6133f002241e3dc380e314878287cd51704f6b612bfca07e12e60708961b
- Ingested
- 23 Sep 2026, 09:23:13 UTC
- Source record
- Official CVE record