# CVE-2020-27347: tmux stack buffer overflow in function input\_csi\_dispatch\_sgr\_colon

- Priority: **Prioritise**
- Reason: Public exploit (reference, Date unknown)
- Next step: Check applicability: affected before 3.0a-2ubuntu0.2, 3.1b-1ubuntu0.1, 3.1c (CNA); fix release not confirmed
- Status: published
- Published: 2020-11-06 · Modified: 2024-09-17
- Aliases: ALPINE-CVE-2020-27347, UBUNTU-CVE-2020-27347, USN-4618-1, DEBIAN-CVE-2020-27347
- Record: https://cvemate.com/vulnerability/CVE-2020-27347 · JSON: https://cvemate.com/vulnerability/CVE-2020-27347/json

## Description

```text
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.
```

## Signals

- CVSS: 8.8 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
- EPSS: 0.66%, percentile 52.992%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- alpine tmux (Alpine Linux): ≥ 2.9, \< 2.9a-r2 \| ≥ 2.9, \< 3.0a-r2 \| ≥ 2.9, \< 3.1c-r0
- debian tmux (Debian): \< 3.1c-1
- ubuntu tmux (Ubuntu): \< 3.0a-2ubuntu0.2
- tmux\_project tmux: ≥ 2.9, ≤ 3.1b
- tmux tmux: ≥ unspecified, \< 3.1c
- ubuntu tmux: ≥ 3.1b, \< 3.1b-1ubuntu0.1 \| ≥ 3.0a, \< 3.0a-2ubuntu0.2

## References

- <https://github.com/tmux/tmux/commit/a868bacb46e3c900530bed47a1c6f85b0fbe701c>
- <https://www.openwall.com/lists/oss-security/2020/11/05/3>
- <https://security.gentoo.org/glsa/202011-10>
- <https://raw.githubusercontent.com/tmux/tmux/3.1c/CHANGES>
- <https://security.alpinelinux.org/vuln/CVE-2020-27347>
- <https://ubuntu.com/security/CVE-2020-27347>
- <https://ubuntu.com/security/notices/USN-4618-1>
- <https://www.cve.org/CVERecord?id=CVE-2020-27347>
- <https://security-tracker.debian.org/tracker/CVE-2020-27347>

---

Data as of 2026-12-05T02:55:13.954Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
