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

- Severity: Medium 4.6 (CVSS:4.0, scored by CERT-PL) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.33%, higher than 27% of CVEs (2026-12-02)
- Published: 2026-11-26T13:22:22.849Z
- Modified: 2026-12-01T18:17:30.113Z
- Weaknesses: CWE-120
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: CERT-PL

## 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.

(As written by CVE List.)

## Affected

- GNU Screen: before 5.0.2

## References

- <https://cert.pl/en/posts/2026/11/CVE-2026-71409> (third-party-advisory)
- <https://savannah.gnu.org/git/?group=screen> (product)
- <https://cgit.git.savannah.gnu.org/cgit/screen.git/commit/?h=screen-v5&id=21aef43ea720b5c810b913830e3add075e517dbb> (patch)
- <https://cgit.git.savannah.gnu.org/cgit/screen.git/commit/?h=screen-v5&id=15a1481ad85309835c466a49f99a55537a78d596> (patch)

## Sources

- CVE List: [CVE-2026-71409](https://www.cve.org/CVERecord?id=CVE-2026-71409), CVE Terms of Use, modified 2026-12-01
- NVD: [CVE-2026-71409](https://nvd.nist.gov/vuln/detail/CVE-2026-71409), Public domain, modified 2026-12-01

---

Page: https://cve.day/CVE-2026-71409 · Whole record: https://cve.day/CVE-2026-71409.json · Rebuilt by cve.day 2026-12-01T18:32:12.676Z
