Skip to main content

Screen

7 CVEs product

Monthly

CVE-2026-71411 Nov 26, 13:22 MEDIUM PATCH This Month

Local privilege escalation in GNU Screen's hardcopy file handler lets an unprivileged local user write to arbitrary root-owned system files when the screen binary is installed setuid-root, because the write-permission check is performed with the real UID while the file is subsequently opened with the effective (root) UID. All GNU Screen releases prior to 5.0.2 are affected (CPE cpe:2.3:a:gnu:screen); the vendor assesses the issue at CVSS 5.5, while our independent assessment rates it higher (CVSS 3.1 AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H) given the scope change and root-level write impact. Exploitation is local-only and probabilistic, requiring the attacker to win a TOCTOU race by atomically replacing the target path with a symlink, and it is only reachable on hosts where screen is actually shipped setuid-root; no public exploit code or CISA KEV entry was identified at time of analysis, and remediation is available in version 5.0.2.

Privilege Escalation Screen Gnu
NVD
CVSS 4.0
5.5
EPSS
0.2%
CVE-2026-71410 Nov 26, 13:22 LOW PATCH Monitor

Use-after-free in GNU Screen's UTF-8 combining-character handling can corrupt the heap and, per the reporter, be leveraged toward arbitrary code execution. Only the GNU Screen v5 branch prior to 5.0.2 is affected; the flaw sits in utf8_handle_comb() in encoding.c, where an allocation failure frees the global combchars pointer without resetting it to NULL, and a later combining Unicode character arriving at the terminal dereferences the stale pointer. Exploitation requires the attacker to control the terminal content stream the victim feeds into the session - for example a rogue SSH server - and the allocation-failure precondition (reflected as AT:P in the CVE record) is not reliably forced by the attacker; no public exploit code has been identified at time of analysis, and the vendor has released a fix in 5.0.2.

RCE Use After Free Memory Corruption Screen Gnu
NVD
CVSS 4.0
2.1
EPSS
0.2%
CVE-2026-71409 Nov 26, 13:22 MEDIUM PATCH This Month

Local buffer overflow in GNU Screen before 5.0.2 can crash the terminal multiplexer when a user starts screen in an environment where the HOME and STY variables are attacker-controlled and sufficiently long. The flaw is an unchecked sprintf() in SendCmdMessage() in attacher.c that appends STY to the global SocketPath buffer. The vendor fixed it in 5.0.2; no public exploit was identified at time of analysis, the realistic impact is a crash, and arbitrary code execution is unverified.

RCE Buffer Overflow Screen Gnu
NVD
CVSS 4.0
4.6
EPSS
0.3%
CVE-2023-24626 Apr 08, 05:15 MEDIUM POC PATCH This Month

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,. Rated medium severity (CVSS 6.5), this vulnerability is low attack complexity. Public exploit code available.

Denial Of Service Screen Gnu
NVD Exploit-DB
CVSS 3.1
6.5
EPSS
0.5%
CVE-2021-26937 Feb 09, 20:15 CRITICAL POC Act Now

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. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available and no vendor patch available.

Denial Of Service Debian Debian Linux Fedora Screen +2
NVD
CVSS 3.1
9.8
EPSS
9.1%
CVE-2020-9366 Feb 24, 17:15 CRITICAL PATCH Act Now

A buffer overflow was found in the way GNU Screen before 4.8.0 treated the special escape OSC 49. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable, no authentication required, low attack complexity. This Out-of-bounds Write vulnerability could allow attackers to write data beyond allocated buffer boundaries leading to code execution or crashes.

Buffer Overflow Memory Corruption Screen Gnu
NVD
CVSS 3.1
9.8
EPSS
2.7%
CVE-2017-5618 Mar 20, 16:59 HIGH POC PATCH This Week

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. Rated high severity (CVSS 7.8), this vulnerability is low attack complexity. Public exploit code available.

Authentication Bypass Screen Gnu
NVD
CVSS 3.0
7.8
EPSS
3.0%
EPSS 0% CVSS 5.5
MEDIUM PATCH This Month

Local privilege escalation in GNU Screen's hardcopy file handler lets an unprivileged local user write to arbitrary root-owned system files when the screen binary is installed setuid-root, because the write-permission check is performed with the real UID while the file is subsequently opened with the effective (root) UID. All GNU Screen releases prior to 5.0.2 are affected (CPE cpe:2.3:a:gnu:screen); the vendor assesses the issue at CVSS 5.5, while our independent assessment rates it higher (CVSS 3.1 AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H) given the scope change and root-level write impact. Exploitation is local-only and probabilistic, requiring the attacker to win a TOCTOU race by atomically replacing the target path with a symlink, and it is only reachable on hosts where screen is actually shipped setuid-root; no public exploit code or CISA KEV entry was identified at time of analysis, and remediation is available in version 5.0.2.

Privilege Escalation Screen Gnu
NVD
EPSS 0% CVSS 2.1
LOW PATCH Monitor

Use-after-free in GNU Screen's UTF-8 combining-character handling can corrupt the heap and, per the reporter, be leveraged toward arbitrary code execution. Only the GNU Screen v5 branch prior to 5.0.2 is affected; the flaw sits in utf8_handle_comb() in encoding.c, where an allocation failure frees the global combchars pointer without resetting it to NULL, and a later combining Unicode character arriving at the terminal dereferences the stale pointer. Exploitation requires the attacker to control the terminal content stream the victim feeds into the session - for example a rogue SSH server - and the allocation-failure precondition (reflected as AT:P in the CVE record) is not reliably forced by the attacker; no public exploit code has been identified at time of analysis, and the vendor has released a fix in 5.0.2.

RCE Use After Free Memory Corruption +2
NVD
EPSS 0% CVSS 4.6
MEDIUM PATCH This Month

Local buffer overflow in GNU Screen before 5.0.2 can crash the terminal multiplexer when a user starts screen in an environment where the HOME and STY variables are attacker-controlled and sufficiently long. The flaw is an unchecked sprintf() in SendCmdMessage() in attacher.c that appends STY to the global SocketPath buffer. The vendor fixed it in 5.0.2; no public exploit was identified at time of analysis, the realistic impact is a crash, and arbitrary code execution is unverified.

RCE Buffer Overflow Screen +1
NVD
EPSS 1% CVSS 6.5
MEDIUM POC PATCH This Month

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,. Rated medium severity (CVSS 6.5), this vulnerability is low attack complexity. Public exploit code available.

Denial Of Service Screen Gnu
NVD Exploit-DB
EPSS 9% CVSS 9.8
CRITICAL POC Act Now

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. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available and no vendor patch available.

Denial Of Service Debian Debian Linux +4
NVD
EPSS 3% CVSS 9.8
CRITICAL PATCH Act Now

A buffer overflow was found in the way GNU Screen before 4.8.0 treated the special escape OSC 49. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable, no authentication required, low attack complexity. This Out-of-bounds Write vulnerability could allow attackers to write data beyond allocated buffer boundaries leading to code execution or crashes.

Buffer Overflow Memory Corruption Screen +1
NVD
EPSS 3% CVSS 7.8
HIGH POC PATCH This Week

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. Rated high severity (CVSS 7.8), this vulnerability is low attack complexity. Public exploit code available.

Authentication Bypass Screen Gnu
NVD

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy