CVE Explorer
CVE-2026-5398
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"defaultStatus":"unknown","modules":["tty"],"product":"FreeBSD","vendor":"FreeBSD","versions":[{"lessThan":"p6","status":"affected","version":"15.0-RELEASE","versionType":"release"},{"lessThan":"p2","status":"affected","version":"14.4-RELEASE","versionType":"release"},{"lessThan":"p11","status":"affected","version":"14.3-RELEASE","versionType":"release"},{"lessThan":"p12","status":"affected","version":"13.5-RELEASE","versionType":"release"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:553d9683d5d0485d6fb30bc820ab5451c5f68403b8d71be51628956fc4592ad0 · sha256:a72c1acd83aa8653… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":8.4,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:553d9683d5d0485d6fb30bc820ab5451c5f68403b8d71be51628956fc4592ad0 · sha256:a72c1acd83aa8653… · /containers/adp/0/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-416","description":"CWE-416: Use After Free","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:553d9683d5d0485d6fb30bc820ab5451c5f68403b8d71be51628956fc4592ad0 · sha256:a72c1acd83aa8653… · /containers/cna/problemTypes/0/descriptions/0
Source references
1 source assertion{"tags":["vendor-advisory"],"url":"https://security.freebsd.org/advisories/FreeBSD-SA-26:10.tty.asc"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:553d9683d5d0485d6fb30bc820ab5451c5f68403b8d71be51628956fc4592ad0 · sha256:a72c1acd83aa8653… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.