CVE-2026-71409

Global Buffer Overflow in GNU screen

Published Nov 26, 2026 CVSS 4.0 · 4.6 Medium EPSS n/a KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
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.
Title Global Buffer Overflow in GNU screen
First Time appeared Gnu
Gnu screen
Weaknesses CWE-120
CPEs cpe:2.3:a:gnu:screen:*:*:*:*:*:*:*:*
Vendors & Products Gnu
Gnu screen
References
Metrics cvssV4_0

{'score': 4.6, 'vector': '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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
CERT-PL
Published
Updated
Nov 26, 2026, 1:22 PM
Reserved
Aug 6, 2026, 12:43 PM
Status
Received
Published
Nov 26, 2026, 2:17 PM
Modified
Nov 26, 2026, 2:17 PM