Description
Integer signedness error in the ssh2_rdpkt function in PuTTY before 0.56 allows remote attackers to execute arbitrary code via a SSH2_MSG_DEBUG packet with a modified stringlen parameter, which leads to a buffer overflow.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | putty | 0.56-1 | — |
| Debian 13 | putty | 0.56-1 | — |
| Debian 12 | putty | 0.56-1 | — |
References
- http://www-1.ibm.com/support/docview.wss?uid=ssg1S1002414
- 13012 third-party-advisory
- 20041027 PuTTY SSH2_MSG_DEBUG Buffer Overflow Vulnerability third-party-advisory
- http://www.chiark.greenend.org.uk/~sgtatham/putty/
- putty-ssh2msgdebug-bo(17886) vdb-entry
- 12987 third-party-advisory
- 11549 vdb-entry
- 20041027 PuTTY SSH client vulnerability mailing-list
- http://www-1.ibm.com/support/docview.wss?uid=ssg1S1002416
- 17214 third-party-advisory
- GLSA-200410-29 vendor-advisory