Skip to main content
Mallory
← Back to News
endpoint-software-vulnerabilitywidely-deployed-product-advisorycredential-access-methodopen-source-dependency-vulnerability

PuTTY Flaw Exposed NIST P-521 Private Keys Through Biased ECDSA Nonces

Vulnerability Disclosure · 8 sources · Updated 5mo ago · First seen Jun 20, 2024

PuTTY Flaw Exposed NIST P-521 Private Keys Through Biased ECDSA Nonces

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
Do you run this?See affected versions and whether adversaries are exploiting it.
Check your exposure
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

5 events · Apr 15, 2024 – Jun 20, 2024
  1. Jun 20, 20242y ago

    Debian LTS releases PuTTY security update

    Debian issued DLA-3839-1, providing a security update for PuTTY in Debian LTS in response to CVE-2024-31497. This marked an available downstream patch for affected Debian long-term support users.

  2. May 27, 20243y ago

    SUSE opens tracking for CVE-2024-31497

    SUSE published a bug tracker entry for CVE-2024-31497, describing the issue as exposure of NIST P-521 private keys through biased signature generation in PuTTY. The entry marked downstream vendor tracking and assessment of the vulnerability.

  3. May 9, 20243y ago

    Citrix issues mitigation guidance for affected administrators

    Citrix warned administrators about the PuTTY SSH client flaw and advised manual mitigation steps, indicating operational impact for environments relying on PuTTY-based workflows. This represented a vendor response translating the disclosure into deployment guidance.

  4. Apr 16, 20243y ago

    Security researchers and media publish technical details and impact guidance

    Follow-on reporting explained that the flaw affects PuTTY clients using NIST P-521 ECDSA keys and warned that attackers could recover private keys from signatures generated by vulnerable versions. Coverage emphasized the severity of the issue and the need for users to rotate affected keys and update software.

  5. Apr 15, 20243y ago

    PuTTY vulnerability CVE-2024-31497 is publicly disclosed

    A vulnerability affecting PuTTY's ECDSA signature generation was publicly disclosed, showing that biased nonces could allow recovery of NIST P-521 private keys. The issue was assigned CVE-2024-31497 and discussed on oss-security and downstream vendor trackers.

Do you run this?See whether adversaries are exploiting this yet, and where the affected versions run in your environment.
Check Your Exposure
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.