PuTTY Flaw Exposed NIST P-521 Private Keys Through Biased ECDSA Nonces
Vulnerability Disclosure · 8 sources · Updated 5mo ago · First seen Jun 20, 2024

A critical flaw in PuTTY tracked as CVE-2024-31497 allowed recovery of NIST P-521 ECDSA private keys because the client generated biased nonces during signature creation. Public advisories and downstream vendor notices said the issue affected PuTTY-based signing operations and could let attackers derive a private key from a sufficient number of signatures, putting SSH authentication and related trust relationships at risk where vulnerable keys were used.
The vulnerability was disclosed through oss-security and subsequently addressed by multiple Linux vendors, including Red Hat, SUSE, and Debian LTS, while Citrix warned administrators to apply manual mitigations for affected environments. The broad guidance across advisories was to upgrade PuTTY to a fixed release, stop using impacted P-521 keys for signing, and rotate any potentially exposed private keys and dependent authorized keys or certificates to prevent continued compromise.
Why it matters
Impact assessment
PuTTY users who generated or used NIST P-521 ECDSA signatures are affected, including administrators, developers, and enterprises relying on PuTTY for SSH authentication or related signing workflows. The impact is severe because exposed private keys can undermine SSH trust, enable unauthorized access where those keys are accepted, and force broad credential and trust-chain rotation.
The exposure is configuration-specific rather than universal: it applies to PuTTY-based signing operations involving NIST P-521 keys, not all PuTTY usage. Public reporting describes a cryptographic weakness that can allow private-key recovery from a sufficient number of signatures, but the provided references do not establish confirmed in-the-wild exploitation.
Supporting facts
- Affected product: PuTTY
- Vulnerability: CVE-2024-31497
- Affected cryptographic context: NIST P-521 ECDSA private keys used for signing
- Business risk: compromise of SSH authentication, invalidation of trusted authorized keys/certificates, operational disruption from emergency key rotation
- Downstream vendor response noted from Red Hat, SUSE, Debian LTS, and Citrix
- Scope: targeted to environments using vulnerable PuTTY signing with P-521 keys


