Buffer Overflow Affecting screen package, versions *


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.33% (19th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-SCREEN-23024713
  • published28 Nov 2026
  • disclosed26 Nov 2026

Introduced: 26 Nov 2026

NewCVE-2026-71409  (opens in a new tab)
CWE-120  (opens in a new tab)

How to fix?

There is no fixed version for Echo:latest screen.

NVD Description

Note: Versions mentioned in the description apply only to the upstream screen package and not the screen package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

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.