製品・ソフトウェアに関する情報
レッドハット等の複数ベンダの製品におけるスタックベースのバッファオーバーフローの脆弱性
Title レッドハット等の複数ベンダの製品におけるスタックベースのバッファオーバーフローの脆弱性
Summary

X.Org XサーバーおよびXwaylandにスタックベースのバッファオーバーフローの脆弱性が発見されました。XサーバーとlibXfont2ライブラリの最大フォント名長の不一致により、フォントエイリアス解決時にスタックバッファオーバーフローが発生する可能性があります。サーバーは256バイトのスタックバッファを割り当てますが、libXfont2のエイリアスターゲット名の長さは1024バイトです。257バイトから1023バイトの間のフォントエイリアス名が存在すると、Xサーバーは追加のチェックなしにその名前をサイズ不足のスタックバッファにコピーします。これにより、サーバーがクラッシュしたり、Xサーバーがrootとして実行されている場合に権限昇格を招く可能性があります。

Possible impacts ・当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 ・当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 ・当該ソフトウェアが完全に停止する可能性があります。 
Solution

ベンダ情報を参照して適切な対策を実施してください。

Publication Date June 5, 2026, midnight
Registration Date June 9, 2026, 2:12 p.m.
Last Update June 9, 2026, 2:12 p.m.
CVSS3.0 : 重要
Score 7.8
Vector CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected System
レッドハット
Red Hat Enterprise Linux 10.0
Red Hat Enterprise Linux 7.0
Red Hat Enterprise Linux 8.0
Red Hat Enterprise Linux 9.0
X.Org Foundation
X.Org X Server 21.1.23 未満
xwayland 24.1.12 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
No Changed Details Date of change
1 [2026年06月09日]
  掲載
June 9, 2026, 2:12 p.m.

NVD Vulnerability Information
CVE-2026-50256
Summary

A stack-based buffer overflow flaw was found in the X.Org X server and Xwayland. A mismatch between the X server and the libXfont2 library's maximum font name length can cause a stack buffer overflow during font alias resolution. The server allocates a 256 byte stack buffer but libXfont2's alias target name length is 1024 bytes. A font alias name between 257 and 1023 bytes causes the X server to copy that name into the undersized stack buffer without further checks. This may be used to crash the server, or for privilege escalation if the X server runs as root.

Publication Date June 5, 2026, 9:16 p.m.
Registration Date June 6, 2026, 4:17 a.m.
Last Update June 9, 2026, 1:45 a.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:x.org:x_server:*:*:*:*:*:*:*:* 21.1.23
cpe:2.3:a:x.org:xwayland:*:*:*:*:*:*:*:* 24.1.12
cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:10.0:*:*:*:*:*:*:*
Related information, measures and tools
Common Vulnerabilities List