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

- Severity: High 8.8 (CVSS:3.1, scored by canonical) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.66%, higher than 52% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-11-06T02:20:13.352Z
- Modified: 2026-06-17T03:09:09.370Z
- Weaknesses: CWE-121, CWE-787
- Assigned by: canonical

## 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.

(As written by CVE List.)

## Affected

- tmux tmux: from unspecified before 3.1c
- Ubuntu tmux: from 3.1b before 3.1b-1ubuntu0.1; from 3.0a before 3.0a-2ubuntu0.2
- tmux_project tmux: from 2.9 up to 3.1b

## Every score

- canonical: CVSS:3.1 8.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 4.6 Medium `AV:L/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://www.openwall.com/lists/oss-security/2020/11/05/3> (exploit, mailing-list, third-party-advisory)
- <https://github.com/tmux/tmux/commit/a868bacb46e3c900530bed47a1c6f85b0fbe701c> (patch, third-party-advisory)
- <https://security.gentoo.org/glsa/202011-10> (third-party-advisory, vendor-advisory)
- <https://raw.githubusercontent.com/tmux/tmux/3.1c/CHANGES> (release-notes, third-party-advisory)

## Sources

- CVE List: [CVE-2020-27347](https://www.cve.org/CVERecord?id=CVE-2020-27347), CVE Terms of Use, modified 2024-09-17
- NVD: [CVE-2020-27347](https://nvd.nist.gov/vuln/detail/CVE-2020-27347), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-27347 · Whole record: https://cve.day/CVE-2020-27347.json · Rebuilt by cve.day 2026-11-25T22:57:55.613Z
