CVE-2026-71409
Global Buffer Overflow in GNU screen
CVSS Score
0.0
EPSS Score
0.0%
EPSS Percentile
0th
GNU screen is vulnerable to a global buffer overflow in the SendCmdMessage() function within attacher.c. Due to the use of an unchecked sprintf() call when appending the STY environment variable to the global SocketPath buffer. The vulnerability occurs when GNU screen is executed in an environment where the HOME and STY environment variables contain attacker-controlled values that are sufficiently long. Successful exploitation may result in an application crash or potentially arbitrary code execution. This issue was fixed in version 5.0.2.
| CWE | CWE-120 |
| Vendor | gnu |
| Product | screen |
| Published | Nov 26, 2026 |
Stay Ahead of the Next One
Get instant alerts for gnu screen
Be the first to know when new unknown vulnerabilities affecting gnu screen are published — delivered to Slack, Telegram or Discord.
Get Free Alerts →
Free · No credit card · 60 sec setup
Affected Versions
GNU / Screen
0 < 5.0.2
References
cert.pl: https://cert.pl/en/posts/2026/11/CVE-2026-71409 savannah.gnu.org: https://savannah.gnu.org/git/?group=screen cgit.git.savannah.gnu.org: https://cgit.git.savannah.gnu.org/cgit/screen.git/commit/?h=screen-v5&id=21aef43ea720b5c810b913830e3add075e517dbb cgit.git.savannah.gnu.org: https://cgit.git.savannah.gnu.org/cgit/screen.git/commit/?h=screen-v5&id=15a1481ad85309835c466a49f99a55537a78d596
Credits
Michał Majchrowicz (AFINE Team) Marcin Wyczechowski (AFINE Team)