CVE-2026-71409
Global Buffer Overflow in GNU screen
- Severity
- medium CVSS 4.6 (v4.0)
- Affects
- Screen · GNU
- Weakness
- CWE-120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
- Published
- 26 November 2026 by CERT-PL
- First seen on our lists
- 27 November 2026
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.
Our coverage
We have not written about this one. Know why it matters? Send a tip.
On the lists
- screen: security issues < 5.0.2 (#594109)