CVE-2026-71409
Global Buffer Overflow in GNU screen
Medium · 4.6Fix available
- CVSS
- 4.6
- EPSS
- 0.33% (p18)
- Published
- 2026-11-26
- Age
- 2d old
- Modified
- 2026-11-26
- Product
- GNU Screen
- Aliases
- EUVD-2026-136481
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:L/SI:L/SA:L
Description
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.
Fixed in
5.0.2
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | Screen | >=0, <5.0.2 | 5.0.2 |
Sources
- NVD · first seen 2d ago · NVD terms of use
- ENISA EUVD · first seen 2d ago · ENISA
- CVE List · first seen 2d ago · CVE Terms of Use
References
- https://cert.pl/en/posts/2026/11/CVE-2026-71409 third-party-advisory
- https://savannah.gnu.org/git/?group=screen product
- https://cgit.git.savannah.gnu.org/cgit/screen.git/commit/?h=screen-v5&id=21aef43ea720b5c810b913830e3add075e517dbb patch
- https://cgit.git.savannah.gnu.org/cgit/screen.git/commit/?h=screen-v5&id=15a1481ad85309835c466a49f99a55537a78d596 patch
- https://nvd.nist.gov/vuln/detail/CVE-2026-71409 other