tmux stack buffer overflow in function input_csi_dispatch_sgr_colon
Priority LOW 39CWE-121Published · Updated
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-121 and the CVSS impact.
Summary
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.
Why it matters now
EPSS 0.00693 53rd percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed tmux (tmux): 3.1ctmux (Ubuntu): 3.1b-1ubuntu0.1, 3.0a-2ubuntu0.2
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| tmux | tmux | before 3.1c | 3.1c | Patch available | CNA |
| Ubuntu | tmux | 3.1b to before 3.1b-1ubuntu0.1; 3.0a to before 3.0a-2ubuntu0.2 | 3.1b-1ubuntu0.1, 3.0a-2ubuntu0.2 | Patch available | CNA |
- tmux Vendortmux Affected before 3.1c Fixed in 3.1c Patch available CNA
- tmux VendorUbuntu Affected 3.1b to before 3.1b-1ubuntu0.1; 3.0a to before 3.0a-2ubuntu0.2 Fixed in 3.1b-1ubuntu0.1, 3.0a-2ubuntu0.2 Patch available CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:tmux_project:tmux:*:*:*:*:*:*:*:* | 2.9 – 3.1b | Vulnerable | Tmux Project |
- cpe:2.3:a:tmux_project:tmux:*:*:*:*:*:*:*:* Versions 2.9 – 3.1b Vulnerable ·Tmux Project
Remediation
- Fix · CNA tmux (tmux) Fixed in 3.1c
- Fix · CNA tmux (Ubuntu) Fixed in 3.1b-1ubuntu0.1, 3.0a-2ubuntu0.2
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
Not affected: 3 products
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
Timeline
- 2026-10-02 Threatist record created from CVE-2020-27347
- 2026-10-03 Alias added: GHSA-xp5q-c655-9565
References
More Ubuntu vulnerabilities
- TI-2021-02452 Incorrect authorization in Ubuntu linux kernel KEVCVSS 3.1HIGH 8.8
- TI-2007-05153 Stack-based buffer overflow in the cons_options function in options.c in dhcpd in OpenBSD… CVSS 2.0HIGH 7.2
- TI-2004-01032 Multiple vulnerabilities in the IGMP functionality for Linux kernel 2.4.22 to 2.4.28, and… CVSS 2.0HIGH 10.0
- TI-2004-00896 Multiple buffer overflows in libXML 2.6.12 and 2.6.13 (libxml2), and possibly other… CVSS 2.0HIGH 10.0
- TI-2004-00800 Buffer overflow in the QFILEPATHINFO request handler in Samba 3.0.x through 3.0.7 may… CVSS 2.0HIGH 10.0
- TI-2004-00962 Buffer overflow in the exif_read_data function in PHP before 4.3.10 and PHP 5.x up to… CVSS 2.0HIGH 10.0
Sources
- CVE-2020-27347 · CVE Program
- CVE-2020-27347 · NVD
- FIRST EPSS
- GHSA-xp5q-c655-9565 · GitHub Advisory Database · CC BY 4.0
- CVE-2020-27347 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences