Search vulnerabilities

Results 15

Export CSV
CVE-2026-71411

Time-of-check Time-of-use (TOCTOU) Race Condition leading to privilege escalation in GNU screen

GNU 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.

CVSS 4.0 · 5.5 Medium EPSS n/a KEV · Not listed
Vendors
Gnu
Products
CVE-2026-71410

Use-After-Free in GNU Screen

GNU 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.

CVSS 4.0 · 2.1 Low EPSS n/a KEV · Not listed
Vendors
Gnu
Products
CVE-2026-71409

Global Buffer Overflow in GNU screen

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.

CVSS 4.0 · 4.6 Medium EPSS n/a KEV · Not listed
Vendors
Gnu
Products
CVE-2006-4573

screen buffer overflow

Multiple 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.

CVSS 2.0 · 2.6 Low EPSS 2.3% KEV · Not listed
Vendors
Gnu
Products
CVE-2009-1214

screen: Unsafe usage of temporary file

GNU 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.

CVSS 2.0 · 4.9 Medium EPSS < 1% KEV · Not listed
Vendors
Gnu
Products
CVE-2007-3048

GNU 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 issue

CVSS 2.0 · 7.2 High EPSS < 1% KEV · Not listed
Vendors
Gnu
Products
CVE-2003-0972

security flaw

Integer 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.

CVSS 2.0 · 10.0 Critical EPSS 3.6% KEV · Not listed
Vendors
Gnu
Products
CVE-2002-1602

Buffer overflow in the Braille module for GNU screen 3.9.11, when HAVE_BRAILLE is defined, allows local users to execute arbitrary code.

CVSS 2.0 · 4.6 Medium EPSS 1.3% KEV · Not listed
Vendors
Gnu
Products
CVE-2025-46802

Temporary chown() of users' TTY to mode 0666 allows PTY hijacking in screen

For a short time they PTY is set to mode 666, allowing any user on the system to connect to the screen session.

CVSS 4.0 · 5.3 Medium EPSS < 1% KEV · Not listed
Vendors
Gnu
Products
CVE-2025-46803

Screen creates by default world-writable PTYs

The default mode of pseudo terminals (PTYs) allocated by Screen was changed from 0620 to 0622, thereby allowing anyone to write to any Screen PTYs in the system.

CVSS 4.0 · 5.1 Medium EPSS < 1% KEV · Not listed
Vendors
Gnu
Products
CVE-2025-46804

Screen 5.0.0 and older versions allow file existence tests when installed setuid-root

A minor information leak when running Screen with setuid-root privileges allows unprivileged users to deduce information about a path that would otherwise not be available. Affected are older Screen versions, as well as version 5.0.0.

CVSS 4.0 · 2 Low EPSS < 1% KEV · Not listed
Vendors
Gnu
Products
CVE-2023-24626

screen: allows sending SIGHUP to arbitrary PIDs

socket.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.

CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
Vendors
Gnu
Products
CVE-2021-26937

screen: crash when processing combining chars

encoding.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.

CVSS 3.1 · 9.8 Critical EPSS 9.3% KEV · Not listed
Vendors
Debian Fedoraproject Gnu and 1 more
Products
CVE-2017-5618

screen: Privilege escalation via unsafe logfile handling

GNU screen before 4.5.1 allows local users to modify arbitrary files and consequently gain root privileges by leveraging improper checking of logfile permissions.

CVSS 3.0 · 7.8 High EPSS 1.1% KEV · Not listed
Vendors
Gnu
Products
CVE-2020-9366

screen: Out of bounds access when setting w_xtermosc after OSC 49

A 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.

CVSS 3.1 · 9.8 Critical EPSS 2.7% KEV · Not listed
Vendors
Gnu
Products