Gnu Screen vulnerabilities

12 vulnerabilities

Known vulnerabilities in Gnu Screen, newest first, with CVSS severity, EPSS, KEV listings, ransomware use and the affected versions.

RoutineCVE-2026-71411gnu · screen +2 moreTime-of-check Time-of-use (TOCTOU) Race Condition leading to privilege escalation in GNU screenGNU Screen is vulnerable to a Time-of-Check/Time-of-Use (TOCTOU) race condition in the hardcopy file handler. Due to checking write permissions using the real user ID and subsequently opening the file using the effective user ID, a local unprivileged attacker can atomically replace the target path with a symbolic link pointing to an arbitrary system file. Successfully exploiting this race condition allows the attacker to write to arbitrary files with root privileges, leading to local privilege escalation This issue was fixed in version 5.0.2.CVSS5.5MediumEPSS0.21%RoutineCVE-2026-71410gnu · screen +2 moreUse-After-Free in GNU ScreenGNU Screen is vulnerable to a Use-After-Free in the utf8_handle_comb() function in encoding.c. Due to improper error handling during memory allocation failure, the global combchars pointer is freed but not reset to NULL. When a subsequent combining Unicode character arrives at the terminal, the function dereferences the freed pointer. An attacker who controls terminal content sent to the screen session, such as via a rogue SSH server or crafted escape sequences, can exploit this vulnerability to perform heap grooming and achieve arbitrary code execution. This issue was fixed in version 5.0.2.CVSS2.1LowEPSS0.24%RoutineCVE-2026-71409gnu · screen +2 moreGlobal Buffer Overflow in GNU screenGNU 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.CVSS4.6MediumEPSS0.33%RoutineCVE-2023-24626gnu · screen +5 moregnu screensocket.c in GNU Screen through 4.9.0, when installed setuid or setgid (the default on platforms such as Arch Linux and FreeBSD), allows local users to send a privileged SIGHUP signal to any PID, causing a denial of service or disruption of the target process.CVSS6.5MediumEPSS0.54%PrioritiseCVE-2021-26937debian · debian_linux +41 moredebian debian_linuxencoding.c in GNU Screen through 4.8.0 allows remote attackers to cause a denial of service (invalid write access and application crash) or possibly have unspecified other impact via a crafted UTF-8 character sequence.CVSS9.8CriticalEPSS9.26%PrioritiseCVE-2020-9366gnu · screen +2 moregnu screenA buffer overflow was found in the way GNU Screen before 4.8.0 treated the special escape OSC 49. Specially crafted output, or a special program, could corrupt memory and crash Screen or possibly have unspecified other impact.CVSS9.8CriticalEPSS2.71%PrioritiseCVE-2017-5618gnu · screen +3 moregnu screenGNU screen before 4.5.1 allows local users to modify arbitrary files and consequently gain root privileges by leveraging improper checking of logfile permissions.CVSS7.8HighEPSS1.09%RoutineCVE-2009-1214gnu · screen +1 moregnu screenGNU screen 4.0.3 creates the /tmp/screen-exchange temporary file with world-readable permissions, which might allow local users to obtain sensitive session information.CVSS4.9MediumEPSS0.34%PrioritiseCVE-2007-3048gnu · screengnu screenGNU screen 4.0.3 allows local users to unlock the screen via a CTRL-C sequence at the password prompt. NOTE: multiple third parties report inability to reproduce this issueCVSS7.2HighEPSS0.71%RoutineCVE-2006-4573gnu · screen +1 moregnu screenMultiple unspecified vulnerabilities in the "utf8 combining characters handling" (utf8_handle_comb function in encoding.c) in screen before 4.0.3 allows user-assisted attackers to cause a denial of service (crash or hang) via certain UTF8 sequences.CVSS2.6LowEPSS2.33%PrioritiseCVE-2002-1602gnu · screengnu screenBuffer overflow in the Braille module for GNU screen 3.9.11, when HAVE_BRAILLE is defined, allows local users to execute arbitrary code.CVSS4.6MediumEPSS1.26%RoutineCVE-2003-0972gnu · screen +1 moregnu screenInteger signedness error in ansi.c for GNU screen 4.0.1 and earlier, and 3.9.15 and earlier, allows local users to execute arbitrary code via a large number of ";" (semicolon) characters in escape sequences, which leads to a buffer overflow.CVSS10.0CriticalEPSS3.55%