製品・ソフトウェアに関する情報
FreeBSDにおける解放済みメモリの使用に関する脆弱性
Title FreeBSDにおける解放済みメモリの使用に関する脆弱性
Summary

TIOCNOTTYの実装は、制御端末を表す構造体から呼び出しプロセスのセッションへの逆ポインタをクリアすることに失敗しました。もし呼び出しプロセスが終了すると、端末構造体が解放されたメモリへのポインタを含む可能性があります。悪意のあるプロセスは、このダングリングポインタを悪用して自身にroot権限を付与できます。

Possible impacts 当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 また、当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 さらに、当該ソフトウェアが完全に停止する可能性があります。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 
Solution

正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

Publication Date April 22, 2026, midnight
Registration Date May 7, 2026, 12:04 p.m.
Last Update May 7, 2026, 12:04 p.m.
CVSS3.0 : 重要
Score 8.4
Vector CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected System
FreeBSD
FreeBSD 13.5
FreeBSD 14.3
FreeBSD 14.4
FreeBSD 15.0
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
1 [2026年05月07日]
  掲載
May 7, 2026, 12:04 p.m.

NVD Vulnerability Information
CVE-2026-5398
Summary

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.

Publication Date April 22, 2026, 12:16 p.m.
Registration Date April 25, 2026, 4:04 a.m.
Last Update April 23, 2026, 6:23 a.m.
Related information, measures and tools
Common Vulnerabilities List