---
cve: "CVE-2026-5398"
severity: "HIGH"
cvss: 8.4
epss: "17%"
vendor: "FreeBSD"
kev: false
exploited: false
published: "2026-04-22 03:16:01"
tags: [cve, security, high]
source: tsecurity.de CVE-Dossier
exported: "2026-09-10T05:45:47+02:00"
---

# CVE-2026-5398

> 8.4 HIGH

## Beschreibung

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.

## CVSS-Vektor

```
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
```

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Lokal | good |
| AC Komplexität | Gering | bad |
| PR Privilegien | Keine | bad |
| UI Interaktion | Keine | bad |
| S Scope | Unverändert | good |
| C Vertraulichkeit | Hoch | bad |
| I Integrität | Hoch | bad |
| A Verfügbarkeit | Hoch | bad |

## Referenzen

- <https://security.freebsd.org/advisories/FreeBSD-SA-26:10.tty.asc>

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/cve?cve=CVE-2026-5398) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI BITS_
