{"schemaVersion":3,"id":"CVE-2020-27347","aliases":["ALPINE-CVE-2020-27347","UBUNTU-CVE-2020-27347","USN-4618-1","DEBIAN-CVE-2020-27347"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2020-11-06T02:20:13.352Z","modified":"2024-09-17T00:20:28.710Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Alpine","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","exploitability":5.1,"impact":10,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":4.6,"severity":"medium","vector":"AV:L/AC:L/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00693,"percentile":0.52043,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00693},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00693,"percentile":0.52043}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00693,"percentile":0.52043}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_F74250C69A79A07E","name":"Exploit Reference (openwall.com)","source":"reference","url":"https://www.openwall.com/lists/oss-security/2020/11/05/3","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-121","name":"Stack-based Buffer Overflow","description":"A stack-based buffer overflow condition is a condition where the buffer being overwritten is allocated on the stack (i.e., is a local variable or, rarely, a parameter to a function).","type":"weakness","status":"Draft","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/121.html"},{"id":"CWE-787","name":"Out-of-bounds Write","description":"The product writes data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/787.html"}],"affected":[{"vendor":"alpine","product":"tmux","name":"tmux","label":"tmux","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/tmux","purlType":"apk","versions":[{"text":"≥ 2.9, < 2.9a-r2","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.9, < 3.0a-r2","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.9, < 3.1c-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.9, < 2.9a-r2 | ≥ 2.9, < 3.0a-r2 | ≥ 2.9, < 3.1c-r0","eol":null,"hubHref":null},{"vendor":"debian","product":"tmux","name":"tmux","label":"tmux","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/tmux","purlType":"deb","versions":[{"text":"< 3.1c-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.1c-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"tmux","name":"tmux","label":"tmux","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/tmux","purlType":"deb","versions":[{"text":"< 3.0a-2ubuntu0.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.0a-2ubuntu0.2","eol":null,"hubHref":null},{"vendor":"tmux_project","product":"tmux","name":"tmux","label":"tmux","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 2.9, ≤ 3.1b","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.9, ≤ 3.1b","eol":null,"hubHref":"/vendor/tmux_project/tmux"},{"vendor":"tmux","product":"tmux","name":"tmux","label":"tmux","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ unspecified, < 3.1c","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ unspecified, < 3.1c","eol":null,"hubHref":"/vendor/tmux/tmux"},{"vendor":"ubuntu","product":"tmux","name":"tmux","label":"tmux","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 3.1b, < 3.1b-1ubuntu0.1","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.0a, < 3.0a-2ubuntu0.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 3.1b, < 3.1b-1ubuntu0.1 | ≥ 3.0a, < 3.0a-2ubuntu0.2","eol":null,"hubHref":"/vendor/ubuntu/tmux"}],"affectedCount":6,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/tmux/tmux/commit/a868bacb46e3c900530bed47a1c6f85b0fbe701c","label":"github.com/tmux/tmux/commit/a868bacb46e3c900530bed47a1c6f85b0fbe701c","hostname":"github.com","tags":["X Refsource MISC","Patch","Third Party Advisory"]},{"url":"https://www.openwall.com/lists/oss-security/2020/11/05/3","label":"www.openwall.com/lists/oss-security/2020/11/05/3","hostname":"www.openwall.com","tags":["X Refsource MISC","Exploit","Mailing List","Third Party Advisory"]},{"url":"https://security.gentoo.org/glsa/202011-10","label":"security.gentoo.org/glsa/202011-10","hostname":"security.gentoo.org","tags":["Vendor Advisory","X Refsource GENTOO","Third Party Advisory"]},{"url":"https://raw.githubusercontent.com/tmux/tmux/3.1c/CHANGES","label":"raw.githubusercontent.com/tmux/tmux/3.1c/CHANGES","hostname":"raw.githubusercontent.com","tags":["X Refsource CONFIRM","REPORT","Release Notes","Third Party Advisory"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2020-27347","label":"security.alpinelinux.org/vuln/CVE-2020-27347","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2020-27347","label":"ubuntu.com/security/CVE-2020-27347","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-4618-1","label":"ubuntu.com/security/notices/USN-4618-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-27347","label":"www.cve.org/CVERecord?id=CVE-2020-27347","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2020-27347","label":"security-tracker.debian.org/tracker/CVE-2020-27347","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2020:1834-1","OPENSUSE-SU-2024:11466-1"],"duplicates":[],"related":["OPENSUSE-SU-2020:1834-1","OPENSUSE-SU-2024:11466-1"]},"timeline":[{"kind":"published","date":"2020-11-06T02:20:13.352Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-09-17T00:20:28.710Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":45,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T04:47:17.887Z","stale":false,"partial":false}}