CVE-2020-27347

tmux stack buffer overflow in function input_csi_dispatch_sgr_colon

HIGH
7.8
CVSS Score
Published: November 6, 2020 at 02:20 AM UTC
Updated: June 17, 2026 at 03:09 AM UTC
3 products affected across 3 vendorsTmuxTmuxTmux

Using tmux by tmux?

Get instant alerts when new vulnerabilities affect tmux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.7%

Description

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

2.9 ≤ v ≤ 3.1b
v < 3.1c
Affected range stops below 3.1c, so it looks safe — our inference, not a vendor statement
3.0a ≤ v < 3.0a-2ubuntu0.23.1b ≤ v < 3.1b-1ubuntu0.13.0a3.1b
Affected range stops below 3.0a-2ubuntu0.2, so it looks safe — our inference, not a vendor statement
Affected range stops below 3.1b-1ubuntu0.1, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (4)

x_refsource_CONFIRMRelease NotesThird Party Advisory
https://raw.githubusercontent.com/tmux/tmux/3.1c/CHANGES
Vendor Advisoryx_refsource_GENTOOThird Party Advisory
https://security.gentoo.org/glsa/202011-10
x_refsource_MISCExploitMailing ListThird Party Advisory
https://www.openwall.com/lists/oss-security/2020/11/05/3

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-121CWE-787

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card