Stack-based buffer overflow in PuTTY - CVE-2016-2563

 

Stack-based buffer overflow in PuTTY - CVE-2016-2563

Published: April 8, 2016 / Updated: July 29, 2020


Vulnerability identifier: #VU32320
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2016-2563
CWE-ID: CWE-121
Exploitation vector: Remote access
Exploit availability: Public exploit is available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error when processing a crafted SCP-SINK file-size response to an SCP download request. A remote unauthenticated attacker can trigger stack-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

PuTTY
Gentoo Linux
Fedora
putty (Alpine package)
putty

How to mitigate CVE-2016-2563

Update to version 0.67.

PuTTY - update to 0.67
putty (Alpine package) - update to 0.67-r0
putty - addressed in versions 0.63-6.el5, 0.63-6.el6

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins