{"schemaVersion":4,"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":"tmux stack buffer overflow in function input_csi_dispatch_sgr_colon","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.0066,"percentile":0.52992,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":-0.03300000000000004,"baselineDate":"2026-11-04T00: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":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-10-23T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-10-24T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-10-25T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-10-26T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-10-27T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-10-28T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-10-29T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-10-30T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-10-31T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.0066,"percentile":0.52992}],"last30":[{"date":"2026-11-04T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00693,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.0066,"percentile":0.52992}]},"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":"The product writes past the end of a buffer that was allocated on the stack.","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,"bounds":{"kind":"range","start":"2.9","startInclusive":true,"end":"2.9a-r2","endInclusive":false}},{"text":"≥ 2.9, < 3.0a-r2","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"2.9","startInclusive":true,"end":"3.0a-r2","endInclusive":false}},{"text":"≥ 2.9, < 3.1c-r0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"2.9","startInclusive":true,"end":"3.1c-r0","endInclusive":false}}],"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,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"3.1c-1","endInclusive":false}}],"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,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"3.0a-2ubuntu0.2","endInclusive":false}}],"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,"bounds":{"kind":"range","start":"2.9","startInclusive":true,"end":"3.1b","endInclusive":true}}],"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,"bounds":{"kind":"range","start":"unspecified","startInclusive":true,"end":"3.1c","endInclusive":false}}],"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,"bounds":{"kind":"range","start":"3.1b","startInclusive":true,"end":"3.1b-1ubuntu0.1","endInclusive":false}},{"text":"≥ 3.0a, < 3.0a-2ubuntu0.2","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"3.0a","startInclusive":true,"end":"3.0a-2ubuntu0.2","endInclusive":false}}],"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}],"priority":{"label":"prioritise","tag":"public-exploit","reason":"Public exploit (reference, Date unknown)","nextStep":"Check applicability: affected before 3.0a-2ubuntu0.2, 3.1b-1ubuntu0.1, 3.1c (CNA); fix release not confirmed","rank":[0,0,0,1,1,88],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.0066,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2024-09-17T00:20:28.710Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","version":"3.1","headline":true},{"type":"cvss","source":"osv_alpine","date":"2024-09-17T00:20:28.710Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},{"type":"cvss","source":"osv_ubuntu","date":"2024-09-17T00:20:28.710Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},{"type":"cvss","source":"osv_debian","date":"2024-09-17T00:20:28.710Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},{"type":"cvss","source":"nvd","date":"2024-09-17T00:20:28.710Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},{"type":"cvss","source":"nvd","date":"2024-09-17T00:20:28.710Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":4.6,"vector":"AV:L/AC:L/Au:N/C:P/I:P/A:P","version":"2.0"},{"type":"exploit","source":"reference","date":null,"status":"valid","statusDate":null,"statusSource":null,"disputes":[],"maturity":"unknown","verified":false}],"epss":{"value":0.0066,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T06:02:28.822Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T06:02:29.295Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T06:02:29.506Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T06:00:56.363Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T06:02:27.202Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T06:02:26.240Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T06:31:04.363Z","stale":false,"partial":false}}