Skip to main content
Public proof of conceptFix available

CVE-2024-31497

A public proof of concept exists; no exploitation attested.

  • Published2024-04-15
  • Fixed in0.81
  • WeaknessCWE-338

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

In PuTTY 0.68 through 0.80 before 0.81, biased ECDSA nonce generation allows an attacker to recover a user's NIST P-521 secret key via a quick attack in approximately 60 signatures. This is especially important in a scenario where an adversary is able to read messages signed by PuTTY or Pageant. The required set of signed messages may be publicly readable because they are stored in a public Git service that supports use of SSH for commit signing, and the signatures were made by Pageant through an agent-forwarding mechanism. In other words, an adversary may already have enough signature information to compromise a victim's private key, even if there is no further use of vulnerable PuTTY versions. After a key compromise, an adversary may be able to conduct supply-chain attacks on software maintained in Git. A second, independent scenario is that the adversary is an operator of an SSH server to which the victim authenticates (for remote login or file copy), even though this server is not fully trusted by the victim, and the victim uses the same private key for SSH connections to other services operated by other entities. Here, the rogue server operator (who would otherwise have no way to determine the victim's private key) can derive the victim's private key, and then use it for unauthorized access to those other services. If the other services include Git services, then again it may be possible to conduct supply-chain attacks on software maintained in Git. This also affects, for example, FileZilla before 3.67.0, WinSCP before 6.3.3, TortoiseGit before 2.15.0.1, and TortoiseSVN through 1.14.6.

Timeline

dates in UTC
  1. 2024-04-1520:15CVE publishedNVD
  2. 2026-10-2319:23First public proof of conceptPoC-in-GitHub

Versions per branch

NVD · CISA-ADP
Putty
BranchAffectedFixed in
0.x≥ 0.68, < 0.810.81
Fedoraproject fedora
BranchAffectedFixed in
38.x= 38no fix published
39.x= 39no fix published
40.x= 40no fix published
Filezilla-project filezilla client
BranchAffectedFixed in
3.67< 3.67.03.67.0

3 more products in the sources.

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • filezillaUbuntu:24.04:LTSall versions · no fixed version listed
  • filezillaopenSUSE:Tumbleweedall versions · fixed in 3.67.0-1.1
  • filezillaMageia:9all versions · fixed in 3.67.0-1.mga9
  • filezillaDebian:14all versions · fixed in 3.67.0-1
  • filezillaDebian:13all versions · fixed in 3.67.0-1
  • filezillaDebian:12all versions · no fixed version listed
  • libfilezillaMageia:9all versions · fixed in 0.47.0-1.mga9
  • puttyUbuntu:22.04:LTSall versions · no fixed version listedand 1 other package

21 more package ranges on OSV.dev

Full record on NVD

Fix

  1. Update Putty to 0.81

Advisories and patches

Detection

read 2026-11-01 01:02 UTC
Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Published
2024-04-15
Last modified
2026-06-17
NVD status
Modified
GitHub advisory
GHSA-6p4c-r453-8743

Frequently asked questions

What is CVE-2024-31497?

In PuTTY 0.68 through 0.80 before 0.81, biased ECDSA nonce generation allows an attacker to recover a user's NIST P-521 secret key via a quick attack in approximately 60 signatures. This is especially important in a scenario where an adversary is able to read messages signed by PuTTY or Pageant. The required set of signed messages may be publicly readable because they are stored in a public Git service that supports use of SSH for commit signing, and the signatures were made by Pageant through an agent-forwarding mechanism. In other words, an adversary may already have enough signature information to compromise a victim's private key, even if there is no further use of vulnerable PuTTY versions. After a key compromise, an adversary may be able to conduct supply-chain attacks on software maintained in Git. A second, independent scenario is that the adversary is an operator of an SSH server to which the victim authenticates (for remote login or file copy), even though this server is not fully trusted by the victim, and the victim uses the same private key for SSH connections to other services operated by other entities. Here, the rogue server operator (who would otherwise have no way to determine the victim's private key) can derive the victim's private key, and then use it for unauthorized access to those other services. If the other services include Git services, then again it may be possible to conduct supply-chain attacks on software maintained in Git. This also affects, for example, FileZilla before 3.67.0, WinSCP before 6.3.3, TortoiseGit before 2.15.0.1, and TortoiseSVN through 1.14.6.

Is CVE-2024-31497 actively exploited?

Active exploitation of CVE-2024-31497 has not been confirmed. Its EPSS score was 5.7% on 2026-11-23, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2024-31497?

CVE-2024-31497 has a CVSS v3 base score of 5.9 (Medium severity), with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N.

Running putty? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record