PuTTY Double Free Vulnerability in RSA Key Exchange

Vulnerability

A double free vulnerability has been identified in PuTTY versions 0.72 prior to 0.84, specifically within the RSA key exchange implementation. This vulnerability allows a server to intentionally trigger a double free error by sending a short key during the SSH connection startup, leading to a crash. The issue arises in the error handling process, before host key verification, creating a potential opportunity for a man-in-the-middle attacker to exploit it.

Impact

Exploitation of this vulnerability causes a double free error, leading to a crash of the PuTTY application.

Reproduction

To reproduce this vulnerability, connect to a server that offers only RSA key exchange and deliberately sends a short key during the initial SSH key exchange. This can be done by configuring a test SSH server to present RSA key exchange as the only option and then intercepting the connection to substitute a maliciously short key. The double free error will occur, causing PuTTY to crash.

Remediation

Users can upgrade to PuTTY version 0.84, which addresses this vulnerability.

Added: May 26, 2026, 11:31 PM
Updated: May 26, 2026, 11:31 PM

Vulnerability Rating

Custom Algorithm
spread
7.8
impact
0.6
exploitability
4.8
remediation
7.7
relevance
9.4
threat
1.6
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.