{"id":"CVE-2026-5398","url":"https://www.cyber-defence.io/tools/cve/CVE-2026-5398","generatedAt":"2026-10-28T02:18:53.164Z","title":"A malicious process can abuse the dangling pointer to grant itself root privileges.","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.\n\nA malicious process can abuse the dangling pointer to grant itself root privileges.","published":"2026-04-22T03:16:01.000Z","lastModified":"2026-06-17T10:58:58.000Z","status":"Analyzed","sourceIdentifier":"secteam@freebsd.org","cvss":{"version":"3.1","score":8.4,"severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"cwe":["CWE-416"],"affected":["freebsd/freebsd"],"epss":{"score":0.00208,"percentile":0.10801,"date":"2026-10-26","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"high","text":"High impact if exploited, but EPSS currently rates exploitation as unlikely (0.21%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit."},"changes":[],"references":[{"url":"https://security.freebsd.org/advisories/FreeBSD-SA-26:10.tty.asc","tags":["Vendor Advisory"],"source":"secteam@freebsd.org"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-5398","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}