Skip to main content
Mallory
← Back to News
widely-deployed-product-advisoryvendor-distribution-compromiseidentity-authentication-vulnerabilityopen-source-dependency-vulnerability

PuTTY ECDSA flaw and XZ Utils backdoor expose SSH authentication risks

Patch & Detection Intelligence · 2 sources · Updated 5mo ago · First seen Apr 14, 2026

PuTTY ECDSA flaw and XZ Utils backdoor expose SSH authentication risks

A severe flaw in PuTTY and several applications that reuse its code can expose private keys used with the NIST P-521 ECDSA algorithm. The weakness causes the software to generate insufficiently random nonces, allowing an attacker to recover a victim’s private key after collecting roughly 60 signatures from the vulnerable implementation. The issue affects PuTTY as well as tools including FileZilla, WinSCP, and TortoiseGit; users of TortoiseSVN were advised to replace Plink with the latest PuTTY version until an official fix becomes available. Organizations were urged to update immediately and treat any affected P-521 key pairs as potentially compromised because recovered keys could be reused for SSH authentication or other trusted public-key access.

Separately, a critical compromise in XZ Utils introduced malicious code into versions 5.6.0 and 5.6.1, creating a supply-chain backdoor that could enable unauthorized access on affected Linux systems, with SSH identified as a primary exposure path. Defenders were advised to downgrade to version 5.4.6 immediately, consider disabling SSH if rollback was not possible, and verify system integrity because patching alone may not be enough if the backdoor was already exploited. The alerts noted that some Linux distributions had shipped the tainted versions while others were not observed to be vulnerable or had already issued updates.

Why it matters

Impact assessment

The story combines two high-impact SSH trust risks: client-side private key compromise in PuTTY-derived software and a supply-chain backdoor in XZ Utils on Linux systems. Affected populations include enterprises, developers, administrators, service providers, and individual users relying on SSH, Git-over-SSH, or public-key authentication across Windows and Linux environments.

The PuTTY issue can lead to credential compromise and unauthorized access wherever exposed NIST P-521 ECDSA public keys are trusted, creating operational, security, and reputational risk through account takeover and lateral access. The XZ Utils compromise is more severe at the host level because it can enable unauthorized access via a backdoor on affected Linux distributions, with potential for full system compromise; exposure was limited to specific versions and distributions rather than the entire Linux ecosystem.

Supporting facts

PuTTY ECDSA flaw
  • Affected products: PuTTY, FileZilla, WinSCP, TortoiseGit, and TortoiseSVN components using PuTTY code.
  • Affected users: anyone who used the listed software with private keys based on NIST P-521 ECDSA.
  • Scope: broader than a single product because downstream applications reused vulnerable PuTTY code; the affected software list may not be exhaustive.
  • Business impact: stolen private keys can be reused for SSH logins and other trusted public-key access, including Git platforms and systems with matching authorized keys.
  • Exposure conditions: exploitation requires collection of enough weak signatures, so this is not indiscriminate internet-wide exploitation from passive SSH packet capture alone.
XZ Utils backdoor
  • Affected systems: Linux distributions that shipped XZ Utils 5.6.0 or 5.6.1.
  • Impact: unauthorized access and host backdoor risk, especially where SSH is exposed or relied upon operationally.
  • Scope: targeted to tainted package versions and affected distro builds, not all Linux systems.
  • Known affected distro channels mentioned: Debian testing/unstable/experimental, Fedora Rawhide, Fedora 40 beta, openSUSE Tumbleweed, openSUSE MicroOS, Kali Linux systems updated between 2024-03-26 and 2024-03-29, and some Arch Linux images/packages/VMs.
  • Not observed vulnerable per the notice: Ubuntu, Linux Mint, Gentoo, Amazon Linux, Alpine Linux.
Patch this, or something else?See real exploitation activity before you spend the cycle.
Triage this advisory
Event timeline

How this story unfolded

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

4 events · Mar 29, 2024 – Apr 16, 2024
  1. Apr 16, 20243y ago

    Vendors release fixes for PuTTY-derived applications

    Fixed versions became available for PuTTY, FileZilla, WinSCP, and TortoiseGit following disclosure of the ECDSA flaw, while TortoiseSVN users were advised to replace Plink with the latest PuTTY version until an official fix is released.

  2. Apr 16, 20243y ago

    PuTTY ECDSA P-521 private key exposure flaw disclosed

    A serious vulnerability was disclosed in PuTTY's implementation of the NIST P-521 ECDSA algorithm, where weak nonce generation could allow an attacker to recover a private key after collecting about 60 signatures from the vulnerable implementation.

  3. Mar 29, 20243y ago

    Affected Linux distributions begin mitigation for XZ Utils compromise

    Guidance was issued to immediately downgrade XZ Utils to version 5.4.6 or disable SSH if rollback was not possible, with some Linux distributions already releasing updates while users were warned to verify system integrity in case exploitation had occurred.

  4. Mar 29, 20243y ago

    Malicious backdoor discovered in XZ Utils 5.6.0 and 5.6.1

    A critical supply-chain compromise was identified in XZ Utils versions 5.6.0 and 5.6.1, where malicious code introduced a backdoor that could enable unauthorized access, particularly via SSH on affected Linux systems.

Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →

Affected products

1 linked
Putty
Do you run this?See real exploitation activity behind this advisory so you can triage it against everything else in the queue.
Prioritize This Patch
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.