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.
problem types: CWE-121 Stack-based Buffer Overflow
affected:
{
product: tmux
vendor: tmux
versions:
lessThan: 3.1c, status: affected, version: unspecified, versionType: custom
}
{
product: tmux
vendor: Ubuntu
versions:
lessThan: 3.1b-1ubuntu0.1, status: affected, version: 3.1b, versionType: custom
lessThan: 3.0a-2ubuntu0.2, status: affected, version: 3.0a, versionType: custom
}
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
]