# CVE-2026-71409: Global Buffer Overflow in GNU screen

- Priority: **Routine**
- Reason: Not severe (CVSS 4.6, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-26 · Modified: 2026-12-01
- Aliases: DEBIAN-CVE-2026-71409, UBUNTU-CVE-2026-71409
- Record: https://cvemate.com/vulnerability/CVE-2026-71409 · JSON: https://cvemate.com/vulnerability/CVE-2026-71409/json

## Description

```text
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.
```

## Signals

- CVSS: 4.6 medium (v4.0, CVE.org) 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
- EPSS: 0.326%, percentile 27.663%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian screen (Debian): All versions (No fix recorded) \| \< 5.0.2-1
- ubuntu screen (Ubuntu): All versions (No fix recorded)
- gnu screen: \< 5.0.2

## References

- <https://cert.pl/en/posts/2026/11/CVE-2026-71409>
- <https://savannah.gnu.org/git/?group=screen>
- <https://cgit.git.savannah.gnu.org/cgit/screen.git/commit/?h=screen-v5&id=21aef43ea720b5c810b913830e3add075e517dbb>
- <https://cgit.git.savannah.gnu.org/cgit/screen.git/commit/?h=screen-v5&id=15a1481ad85309835c466a49f99a55537a78d596>
- <https://security-tracker.debian.org/tracker/CVE-2026-71409>
- <https://ubuntu.com/security/CVE-2026-71409>
- <https://www.cve.org/CVERecord?id=CVE-2026-71409>

---

Data as of 2026-12-05T03:00:09.751Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
