CVE-2026-71409
GNU screen is vulnerable to a global buffer overflow in the …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- cert.pl/en/posts/2026/11/CVE-2026-71409
- cgit.git.savannah.gnu.org/cgit/screen.git/commit/?h=screen-v5&id=15a1481ad85309835c466a49f
- cgit.git.savannah.gnu.org/cgit/screen.git/commit/?h=screen-v5&id=21aef43ea720b5c810b913830
- savannah.gnu.org/git/?group=screen
- nvd.nist.gov/vuln/detail/CVE-2026-71409
- cve.org/CVERecord?id=CVE-2026-71409
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.