CVE-2026-5398HIGH 8.4EPSS p6.0%

CVE-2026-5398CVE-2026-5398

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.

Scoring

CVSS 3.18.4 (HIGH)
VectorCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS0.17% probability of exploitation · percentile 6.0% · 2026-06-19T12:03:05Z
Published2026-04-22
Last modified2026-05-01

Underlying weaknesses· 1

CWE-416

References

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

1

TypeTargetConfidenceTier
WeaknessUse After Freecwe-4160%live

Related by meaning· 6

Nearest entities by semantic similarity across the cs-graph corpus.

CVE
CVE-2026-35083
CVE
CVE-2025-25269
CVE
CVE-2026-0038
CVE
CVE-2026-0031
CVE
CVE-2026-32152
CVE
CVE-2026-0029
Sourced from NVD + FIRST.org EPSS. Curated for EU compliance use cases by Adam Lundqvist, Founder at SQUR.