Buffer Overflow Vulnerability in GNU Screen by GNU
CVE-2026-71409
4.6MEDIUM
What is CVE-2026-71409?
GNU Screen is susceptible to a global buffer overflow due to an unchecked sprintf() invocation while appending the STY environment variable to the global SocketPath buffer. This vulnerability arises specifically when GNU Screen is executed with controlled values in the HOME and STY environment variables that are excessively long. Successfully exploiting this flaw may lead to an application crash or potential arbitrary code execution, thereby compromising system integrity and security.
Affected Version(s)
Screen 0 < 5.0.2
References
CVSS V4
Score:
4.6
Severity:
MEDIUM
Confidentiality:
None
Integrity:
None
Availability:
Low
Attack Vector:
Local
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
Unknown
Timeline
Vulnerability published
Vulnerability Reserved
Credit
Michał Majchrowicz (AFINE Team)
Marcin Wyczechowski (AFINE Team)