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.
This issue was fixed in version 5.0.2.
Metrics
Affected Vendors & Products
Advisories
No advisories yet.
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Thu, 26 Nov 2026 13:30:00 +0000
| 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
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: CERT-PL
Published:
Updated: 2026-11-26T13:22:22.849Z
Reserved: 2026-08-06T12:43:52.381Z
Link: CVE-2026-71409
No data.
No data.
No data.
OpenCVE Enrichment
No data.
Weaknesses