CVE-2026-71409
Severity not reportedGNU screen is vulnerable to a global buffer overflow in the SendCmdMessage() function within attacher.c.
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.
Affected products
Not reported by the source (unknown — not "none").
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
No vendor advisory or patch reference tagged by NVD. Check the references below.
References
- https://cert.pl/en/posts/2026/11/CVE-2026-71409 cvd@cert.pl
- https://cgit.git.savannah.gnu.org/cgit/screen.git/commit/?h=screen-v5&id=15a1481ad85309835... cvd@cert.pl
- https://cgit.git.savannah.gnu.org/cgit/screen.git/commit/?h=screen-v5&id=21aef43ea720b5c81... cvd@cert.pl
- https://savannah.gnu.org/git/?group=screen cvd@cert.pl

