CVEfocus › CVE database › CVE-2020-27347

CVE-2020-27347tmux stack buffer overflow in function input_csi_dispatch_sgr_colon

CVSS 8.8 HighEPSS 0.7% (higher than 46% of CVEs)Published 2020-11-06Updated 2024-09-17Assigner: canonical

In tmux before version 3.1c the function input_csi_dispatch_sgr_colon() in file input.c contained a stack-based buffer-overflow that can be exploited by terminal output.

CWE-121

What to do

Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

19Fixed
5Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 20.04tmuxFixed3.0a-2ubuntu0.2UBUNTU-CVE-2020-27347
Ubuntu 18.04tmuxNot affected
vulnerable_code_not_present
Ubuntu 16.04tmuxNot affected
vulnerable_code_not_present
Debian 14tmuxFixed3.1c-1DEBIAN-CVE-2020-27347
Debian 13tmuxFixed3.1c-1DEBIAN-CVE-2020-27347
Debian 12tmuxFixed3.1c-1DEBIAN-CVE-2020-27347
Red Hat Enterprise Linux 9tmuxNot affected
Red Hat Enterprise Linux 8tmuxNot affected
Red Hat Enterprise Linux 7tmuxNot affected
Alpine Linux 3.24tmuxFixed3.1c-r0ALPINE-CVE-2020-27347
Alpine Linux 3.23tmuxFixed3.1c-r0ALPINE-CVE-2020-27347
Alpine Linux 3.22tmuxFixed3.1c-r0ALPINE-CVE-2020-27347
Alpine Linux 3.21tmuxFixed3.1c-r0ALPINE-CVE-2020-27347
Alpine Linux 3.20tmuxFixed3.1c-r0ALPINE-CVE-2020-27347
Alpine Linux 3.19tmuxFixed3.1c-r0ALPINE-CVE-2020-27347
Alpine Linux 3.18tmuxFixed3.1c-r0ALPINE-CVE-2020-27347
Alpine Linux 3.17tmuxFixed3.1c-r0ALPINE-CVE-2020-27347
Alpine Linux 3.16tmuxFixed3.1c-r0ALPINE-CVE-2020-27347
Alpine Linux 3.15tmuxFixed3.1c-r0ALPINE-CVE-2020-27347
Alpine Linux 3.14tmuxFixed3.1c-r0ALPINE-CVE-2020-27347
Alpine Linux 3.13tmuxFixed3.1c-r0ALPINE-CVE-2020-27347
Alpine Linux 3.12tmuxFixed3.1c-r0ALPINE-CVE-2020-27347
Alpine Linux 3.11tmuxFixed3.0a-r2ALPINE-CVE-2020-27347
Alpine Linux 3.10tmuxFixed2.9a-r2ALPINE-CVE-2020-27347

What the vendor says

As published in the CVE record by canonical, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.