CVE-2026-71409
published medium CVSS 4.0 · 4.6Global Buffer Overflow in GNU screen
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| GNU | — | Screen0 to < 5.0.2 · Other versions: unaffected | Affected | Not stated | CERT-PL |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 4.6 / 10
- Severity
- medium
- Provider
- CERT-PL · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| GNU | Screen | 0 to < 5.0.2 (affected · semver)Default: unaffected | CERT-PL · cna |
Weaknesses
1- CWE-120 CWE-120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
References
4- https://cert.pl/en/posts/2026/11/CVE-2026-71409
- https://cgit.git.savannah.gnu.org/cgit/screen.git/commit/?h=screen-v5&id=15a1481ad85309835c466a49f99a55537a78d596
- https://cgit.git.savannah.gnu.org/cgit/screen.git/commit/?h=screen-v5&id=21aef43ea720b5c810b913830e3add075e517dbb
- https://savannah.gnu.org/git/?group=screen
Provider assertions
2CERT-PL · cna
Global Buffer Overflow in GNU screen
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- b790ff47ee8b75ccf5d02744d66ae0e1d5d9ddbdb69ded9719a9be40be5d3b9f
- Ingested
- 01 Dec 2026, 17:23:13 UTC
- Source record
- Official CVE record