{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-5398","id":"CVE-2026-5398","title":"Kernel use-after-free bug in the TIOCNOTTY handler","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.","descriptionLong":"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-22T02:23:56.767Z","updated":"2026-11-11T23:10:00.263Z","reserved":"2026-04-02T01:48:17.131Z","status":"Analyzed","rejected":false,"assigner":"freebsd","metric":{"version":"3.1","score":8.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"CISA-ADP"},"metrics":[{"version":"3.1","score":8.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"CISA-ADP"}],"rating":"high","products":["FreeBSD"],"affectedProducts":[{"vendor":"FreeBSD","product":"FreeBSD","defaultStatus":"unknown","versions":[{"status":"affected","versionType":"release","version":"15.0-RELEASE","lessThan":"p6"},{"status":"affected","versionType":"release","version":"14.4-RELEASE","lessThan":"p2"},{"status":"affected","versionType":"release","version":"14.3-RELEASE","lessThan":"p11"},{"status":"affected","versionType":"release","version":"13.5-RELEASE","lessThan":"p12"}],"platforms":[]}],"packages":[],"cwes":["CWE-416"],"aliases":[],"references":[{"url":"https://security.freebsd.org/advisories/FreeBSD-SA-26:10.tty.asc","tags":["vendor-advisory","Vendor Advisory"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00212,"epssPercentile":0.11548,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-5398","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-5398","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-5398","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-5398","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}