CVE-2026-71409: 
Linux Red Hat Analyse et atténuation de la vulnérabilité

Aperçu

CVE-2026-71409 is a global buffer overflow vulnerability in GNU screen's SendCmdMessage() function within attacher.c, caused by an unchecked sprintf() call that appends the STY environment variable to the global SocketPath buffer. The vulnerability affects all GNU screen versions prior to 5.0.2 and was disclosed on November 26, 2026, assigned by CERT-PL. Successful exploitation may result in an application crash or arbitrary code execution. It carries a CVSS v3.1 base score of 7.8 (High) and a CVSS v4.0 base score of 4.6 (Medium) (GitHub Advisory, Red Hat Bugzilla).

Détails techniques

The root cause is classified as CWE-120 (Buffer Copy without Checking Size of Input — Classic Buffer Overflow). The vulnerability is triggered when GNU screen is launched in an environment where the HOME and/or STY environment variables contain attacker-controlled values of sufficient length; the unchecked sprintf() call in SendCmdMessage() writes these values into the fixed-size global SocketPath buffer without bounds validation, causing a heap/global buffer overflow. The attack vector is local, requiring the attacker to control environment variables at the time screen is invoked (e.g., via shell invocation, container configuration, or a setuid context). Two upstream commits address the issue in the screen-v5 branch (GitHub Advisory, CERT-PL).

Impact

Successful exploitation can result in an application crash (denial of service) or, in more severe cases, arbitrary code execution in the context of the GNU screen process. Given that GNU screen is sometimes installed with elevated privileges (setuid), exploitation could potentially lead to privilege escalation on affected systems. Confidentiality, integrity, and availability are all at risk under CVSS v3.1 scoring, with high impact across all three dimensions (GitHub Advisory, Red Hat Bugzilla).

Exploitabilité

As of the disclosure date, there is no public proof-of-concept exploit and no evidence of in-the-wild exploitation (GitHub Advisory). The EPSS score is 0.0, reflecting a currently low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. No threat actor attribution has been reported (CERT-PL).

Étapes d’exploitation

  1. Identify target: Locate a system running GNU screen versions prior to 5.0.2, particularly in environments where screen is invoked with setuid privileges or where an attacker can influence the process environment.
  2. Craft malicious environment variables: Prepare excessively long values for the HOME and/or STY environment variables designed to overflow the global SocketPath buffer in SendCmdMessage() within attacher.c.
  3. Invoke GNU screen: Execute screen in the crafted environment, for example: HOME=$(python3 -c 'print("A"*4096)') STY=$(python3 -c 'print("B"*4096)') screen.
  4. Trigger overflow: The unchecked sprintf() call appends the STY value to SocketPath without bounds checking, overflowing the buffer and overwriting adjacent memory.
  5. Achieve objective: Depending on memory layout and exploit refinement, the result is either an application crash (DoS) or, with a crafted payload, arbitrary code execution in the context of the screen process (CERT-PL, GitHub Advisory).

Indicateurs de compromis

  • Process: Unexpected crashes or core dumps of the screen process; screen spawning unusual child processes.
  • Logs: System logs (e.g., /var/log/syslog, /var/log/messages) showing segmentation faults or abnormal termination of screen processes; audit logs recording screen invocations with unusually long environment variable values.
  • File System: Presence of core dump files (e.g., core, core.<pid>) in directories writable by the user invoking screen.
  • Environment: Shell history or process accounting records showing screen invoked with HOME or STY environment variables set to abnormally long strings (CERT-PL).

Atténuation et solutions de contournement

Upgrade GNU screen to version 5.0.2 or later, which contains the upstream fix addressing the unchecked sprintf() call (GitHub Advisory, CERT-PL). As a workaround where upgrading is not immediately possible, restrict the ability of untrusted users to set environment variables in contexts where GNU screen is invoked, and apply the principle of least privilege to limit who can execute screen. If screen is installed setuid, consider removing the setuid bit until a patched version can be deployed.

Réactions de la communauté

The vulnerability was reported by CERT-PL, which published a dedicated advisory at the time of disclosure. Red Hat opened a Bugzilla tracking entry (Bug 2584984) and is assessing impact on affected products (Red Hat Bugzilla). Community discussion was noted on infosec.exchange and malware.news shortly after disclosure, though overall reaction has been measured given the lack of a public PoC and the local-only attack vector (GitHub Advisory).

Ressources supplémentaires

État de correction de la distribution Linux

Corrigez la disponibilité entre les grandes distributions Linux et leurs versions.

RHEL / CentOS

Inconnu

Source: Ce rapport a été généré à l’aide de l’IA

Connexe Linux Red Hat Vulnérabilités :

CVE ID

Gravité

Partition

Technologies

Nom du composant

Exploit CISA KEV

A corrigé

Date de publication

CVE-2026-137653MEDIUM6.5
  • Linux Red Hat logoLinux Red Hat
  • spice-server
NonNonNov 26, 2026
CVE-2026-135107MEDIUM6.5
  • Samba logoSamba
  • ctdb-tests
NonNonNov 26, 2026
CVE-2026-71411MEDIUM5.5
  • Linux Red Hat logoLinux Red Hat
  • screen
NonNonNov 26, 2026
CVE-2026-71409MEDIUM4.6
  • Linux Red Hat logoLinux Red Hat
  • screen
NonNonNov 26, 2026
CVE-2026-71410LOW2.1
  • Linux Red Hat logoLinux Red Hat
  • screen
NonNonNov 26, 2026

Évaluation gratuite des vulnérabilités

Évaluez votre posture de sécurité cloud

Évaluez vos pratiques de sécurité cloud dans 9 domaines de sécurité afin d’évaluer votre niveau de risque et d’identifier les lacunes dans vos défenses.

Évaluation de la demande

Ressources Wiz supplémentaires

Obtenez une démo personnalisée

Prêt(e) à voir Wiz en action ?

"La meilleure expérience utilisateur que j’ai jamais vue, offre une visibilité totale sur les workloads cloud."
David EstlickRSSI
"Wiz fournit une interface unique pour voir ce qui se passe dans nos environnements cloud."
Adam FletcherChef du service de sécurité
"Nous savons que si Wiz identifie quelque chose comme critique, c’est qu’il l’est réellement."
Greg PoniatowskiResponsable de la gestion des menaces et des vulnérabilités