{"id":"CVE-2020-27347","state":"PUBLISHED","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.","publishedAt":"2020-11-06T02:20:13.352Z","updatedAt":"2024-09-17T00:20:28.710Z","severity":{"score":8.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","source":"canonical"},"assigner":"canonical","products":["tmux tmux","Ubuntu tmux"],"affected":[{"vendor":"tmux","product":"tmux","versions":[{"version":"unspecified","status":"affected","lessThan":"3.1c","versionType":"custom"}]},{"vendor":"Ubuntu","product":"tmux","versions":[{"version":"3.1b","status":"affected","lessThan":"3.1b-1ubuntu0.1","versionType":"custom"},{"version":"3.0a","status":"affected","lessThan":"3.0a-2ubuntu0.2","versionType":"custom"}]}],"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"],"weaknesses":["CWE-121"],"ingestedAt":"2026-10-29T19:47:11.046Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2020/27xxx/CVE-2020-27347.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2020-27347","state":"PUBLISHED","datePublished":"2020-11-06T02:20:13.352Z","dateUpdated":"2024-09-17T00:20:28.710Z","assignerShortName":"canonical","assignerOrgId":"cc1ad9ee-3454-478d-9317-d3e869d708bc","dateReserved":"2020-10-20T00:00:00.000Z"},"containers":{"cna":{"title":"tmux stack buffer overflow in function input_csi_dispatch_sgr_colon","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"tmux","product":"tmux","versions":[{"version":"unspecified","status":"affected","lessThan":"3.1c","versionType":"custom"}]},{"vendor":"Ubuntu","product":"tmux","versions":[{"version":"3.1b","status":"affected","lessThan":"3.1b-1ubuntu0.1","versionType":"custom"},{"version":"3.0a","status":"affected","lessThan":"3.0a-2ubuntu0.2","versionType":"custom"}]}],"references":[{"url":"https://github.com/tmux/tmux/commit/a868bacb46e3c900530bed47a1c6f85b0fbe701c","tags":["x_refsource_MISC"]},{"url":"https://www.openwall.com/lists/oss-security/2020/11/05/3","tags":["x_refsource_MISC"]},{"url":"https://security.gentoo.org/glsa/202011-10","name":"GLSA-202011-10","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"https://raw.githubusercontent.com/tmux/tmux/3.1c/CHANGES","tags":["x_refsource_CONFIRM"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-121","description":"CWE-121 Stack-based Buffer Overflow","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"canonical","dateUpdated":"2020-11-17T18:32:44.000Z","orgId":"cc1ad9ee-3454-478d-9317-d3e869d708bc"},"credits":[{"lang":"en","value":"Sergey Nizovtsev"}],"datePublic":"2020-11-04T00:00:00.000Z","source":{"advisory":"https://usn.ubuntu.com/usn/usn-4618-1","discovery":"EXTERNAL"},"x_generator":{"engine":"Vulnogram 0.0.9"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security@ubuntu.com","DATE_PUBLIC":"2020-11-04T00:00:00.000Z","ID":"CVE-2020-27347","STATE":"PUBLIC","TITLE":"tmux stack buffer overflow in function input_csi_dispatch_sgr_colon"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"tmux","version":{"version_data":[{"version_affected":"<","version_value":"3.1c"}]}}]},"vendor_name":"tmux"},{"product":{"product_data":[{"product_name":"tmux","version":{"version_data":[{"version_affected":"<","version_name":"3.1b","version_value":"3.1b-1ubuntu0.1"},{"version_affected":"<","version_name":"3.0a","version_value":"3.0a-2ubuntu0.2"}]}}]},"vendor_name":"Ubuntu"}]}},"credit":[{"lang":"eng","value":"Sergey Nizovtsev"}],"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"generator":{"engine":"Vulnogram 0.0.9"},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-121 Stack-based Buffer Overflow"}]}]},"references":{"reference_data":[{"name":"https://github.com/tmux/tmux/commit/a868bacb46e3c900530bed47a1c6f85b0fbe701c","refsource":"MISC","url":"https://github.com/tmux/tmux/commit/a868bacb46e3c900530bed47a1c6f85b0fbe701c"},{"name":"https://www.openwall.com/lists/oss-security/2020/11/05/3","refsource":"MISC","url":"https://www.openwall.com/lists/oss-security/2020/11/05/3"},{"name":"GLSA-202011-10","refsource":"GENTOO","url":"https://security.gentoo.org/glsa/202011-10"},{"name":"https://raw.githubusercontent.com/tmux/tmux/3.1c/CHANGES","refsource":"CONFIRM","url":"https://raw.githubusercontent.com/tmux/tmux/3.1c/CHANGES"}]},"source":{"advisory":"https://usn.ubuntu.com/usn/usn-4618-1","discovery":"EXTERNAL"}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/tmux/tmux/commit/a868bacb46e3c900530bed47a1c6f85b0fbe701c","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://www.openwall.com/lists/oss-security/2020/11/05/3","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://security.gentoo.org/glsa/202011-10","name":"GLSA-202011-10","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"]},{"url":"https://raw.githubusercontent.com/tmux/tmux/3.1c/CHANGES","tags":["x_refsource_CONFIRM","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T16:11:36.587Z"}}]}}}