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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| tmux | tmux | unspecified – < 3.1c | 3.1c |
| Ubuntu | tmux | 3.1b – < 3.1b-1ubuntu0.1, 3.0a – < 3.0a-2ubuntu0.2 | 3.1b-1ubuntu0.1 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | tmux | 3.1c-1 | — |
| Debian 13 | tmux | 3.1c-1 | — |
| Debian 12 | tmux | 3.1c-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | tmux | 3.0a-2ubuntu0.2 | USN-4618-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SUSE Package Hub 15 SP2 | tmux | 3.1c-bp152.2.3.1 | openSUSE-SU-2020:1834-1 |
| SUSE Package Hub 15 SP1 | tmux | 3.1c-bp152.2.3.1 | openSUSE-SU-2020:1834-1 |
| SUSE Package Hub 12 | tmux | 3.1c-bp152.2.3.1 | openSUSE-SU-2020:1834-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | tmux | 3.2a-1.2 | openSUSE-SU-2024:11466-1 |
| openSUSE Leap 15.2 | tmux | 3.1c-bp152.2.3.1 | openSUSE-SU-2020:1834-1 |
| openSUSE Leap 15.1 | tmux | 3.1c-bp152.2.3.1 | openSUSE-SU-2020:1834-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | tmux | 3.1c-r0 | — |
| Alpine v3.23 | tmux | 3.1c-r0 | — |
| Alpine v3.22 | tmux | 3.1c-r0 | — |
| Alpine v3.21 | tmux | 3.1c-r0 | — |
| Alpine v3.20 | tmux | 3.1c-r0 | — |
Show 10 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | tmux | 3.1c-r0 | — |
| Alpine v3.18 | tmux | 3.1c-r0 | — |
| Alpine v3.17 | tmux | 3.1c-r0 | — |
| Alpine v3.16 | tmux | 3.1c-r0 | — |
| Alpine v3.15 | tmux | 3.1c-r0 | — |
| Alpine v3.14 | tmux | 3.1c-r0 | — |
| Alpine v3.13 | tmux | 3.1c-r0 | — |
| Alpine v3.12 | tmux | 3.1c-r0 | — |
| Alpine v3.11 | tmux | 3.0a-r2 | — |
| Alpine v3.10 | tmux | 2.9a-r2 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 1 repository
-
lucadibello/tmux-fuzzing ★ 1 · May 16, 2025
Enhanced fuzzing for tmux using OSS-Fuzz. Includes custom `cmd-fuzzer` and `argument-fuzzer` harnesses for improved code coverage and a PoC for `CVE-2020-27347`
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 3
- USN-4618-1 tmux vulnerability Ubuntu Security Notices (USN) · Feb 10, 2026
- openSUSE-SU-2024:11466-1 tmux-3.2a-1.2 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2020:1834-1 Security update for tmux SUSE / openSUSE Security Updates · May 7, 2025