Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-5398— Kernel use-after-free bug in the TIOCNOTTY handler

Quick assessment

Affected
FreeBSD FreeBSD
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

FreeBSD是FreeBSD基金会的一套类Unix操作系统。 FreeBSD存在资源管理错误漏洞,该漏洞源于TIOCNOTTY实现未能清除指向调用进程会话的控制终端结构指针,可能导致恶意进程利用悬空指针提升自身权限。

AI Predicted 7.8 Difficulty: Easy EPSS 0.18% · P7

Possible ATT&CK Techniques 1 AI

T1068 · Exploitation for Privilege Escalation
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-5398

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Kernel use-after-free bug in the TIOCNOTTY handler
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
释放后使用
Source: CVE Program / CVE List V5
Vulnerability Title
FreeBSD 资源管理错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
FreeBSD是FreeBSD基金会的一套类Unix操作系统。 FreeBSD存在资源管理错误漏洞,该漏洞源于TIOCNOTTY实现未能清除指向调用进程会话的控制终端结构指针,可能导致恶意进程利用悬空指针提升自身权限。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
FreeBSD FreeBSD 15.0-RELEASE ~ p6 -

II. Public POCs for CVE-2026-5398

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-5398

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-5398 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-5398

No comments yet


Leave a comment