CVE-2026-5398
Last modified
CVE-2026-5398 is a high-severity vulnerability rated 8.4/10 on the CVSS scale. 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.. EPSS estimates a 0.17% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Freebsd | Freebsd | 13.5 |
| Freebsd | Freebsd | 14.3 |
| Freebsd | Freebsd | 14.4 |
| Freebsd | Freebsd | 15.0 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-5398?
How severe is CVE-2026-5398?
How do I fix CVE-2026-5398?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-53962Discourse is an open-source discussion platform. Prior to 20…5.4
- CVE-2026-53963Discourse is an open-source discussion platform. Prior to 20…9
- CVE-2026-5397It has been identified that a vulnerability (CWE-427) exists…7.8
- CVE-2026-53975OpenChamber 1.11.7 contains an unauthenticated remote code e…9.8
- CVE-2026-53976OpenChamber 1.11.7 contains a path traversal vulnerability i…9.3
- CVE-2026-53977OpenChamber 1.11.7 contains an authentication bypass vulnera…8.7
- CVE-2026-53981Cap-go prior to 12.128.2 contains an account takeover vulner…7.6
- CVE-2026-53982Cap-go Console < 12.28.2 contains a denial-of-service vulner…7.1
- CVE-2026-53983Ground Station prior to 0.6.0 contains an unauthenticated bl…9.2
- CVE-2026-53984Ground Station prior to 0.6.0 contains an unauthenticated da…9.1
- CVE-2026-53985Ground Station prior to 0.6.0 contains an unauthenticated de…8.7
- CVE-2026-53987The Tag plugin for GLPI 11 before 2.14.4 stores the tag name…7.3
Are you affected by CVE-2026-5398?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
