GNU Screenの脆弱性、悪意あるターミナル出力で任意のコードを実行される恐れ
Summary
GNU Screenには、結合文字を処理する関数で解放済みのメモリを参照する脆弱性があり、任意のコードを実行される恐れがあります。影響を受けるのは5.0.2より前の版で、5.0.2で修正されています。不正なSSHサーバーや細工されたエスケープシーケンスで端末に内容を送られると悪用されるおそれがあるため、修正版への更新を急いでください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
GNU Screenには、結合文字を処理する関数で解放済みのメモリを参照する脆弱性があり、任意のコードを実行される恐れがあります。影響を受けるのは5.0.2より前の版で、5.0.2で修正されています。不正なSSHサーバーや細工されたエスケープシーケンスで端末に内容を送られると悪用されるおそれがあるため、修正版への更新を急いでください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| GNUScreen |
< 5.0.2→ 5.0.2 |
5.0.2 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-71410 screen Fix available
- Ubuntu UBUNTU-CVE-2026-71410 screen No fixed version in this record
Original description The description as published by the source.
GNU Screen is vulnerable to a Use-After-Free in the utf8_handle_comb() function in encoding.c. Due to improper error handling during memory allocation failure, the global combchars pointer is freed but not reset to NULL. When a subsequent combining Unicode character arrives at the terminal, the function dereferences the freed pointer. An attacker who controls terminal content sent to the screen session, such as via a rogue SSH server or crafted escape sequences, can exploit this vulnerability to perform heap grooming and achieve arbitrary code execution.
This issue was fixed in version 5.0.2.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- REDHAT Red Hat
- web cvd@cert.pl
- web cvd@cert.pl
- web cvd@cert.pl
- web cvd@cert.pl
- web nvd.nist.gov
- web github.com