CVE-2024-31497 in Fedoraproject Fedora and 5 more products
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 ...
Affects 6 products from 6 vendors. Facts below cite their sources.
Remotely exploitable over the network, high complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, no integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Fedoraproject | Fedora | 38 39 40 |
| Filezilla-Project | Filezilla Client | < 3.67.0 |
| Putty | Putty | ≥ 0.68, < 0.81 |
| Tigris | Tortoisesvn | < 1.14.6 |
| Tortoisegit | Tortoisegit | < 2.15.0.1 |
| Winscp | Winscp | < 6.3.3 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2024-31497 |
|---|---|
| BreachSpider ID | BS-2024-GLOBAL-050287-M |
| CVSS 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 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-338: CWE-338
Analysis AI-written, not human-reviewed
{ "executive_summary": "CVE-2024-31497 affects PuTTY versions 0.68 through 0.80 before 0.81, where biased ECDSA nonce generation can lead to the recovery of a user's NIST P-521 secret key with approximately 60 signed messages.", "attack_vector_detail": "An attacker can recover a user's NIST P-521 secret key by analyzing a set of signed messages, which could be publicly available, such as those stored in a public Git repository. The attack is feasible with a relatively small number of signatures, making it a significant risk.", "affected_components": ["PuTTY 0.68", "PuTTY 0.69", "PuTTY 0.70", "PuTTY 0.71", "PuTTY 0.72", "PuTTY 0.73", "PuTTY 0.74", "PuTTY 0.75", "PuTTY 0.76", "PuTTY 0.77", "PuTTY 0.78", "PuTTY 0.7
Vulnerability details: 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 a CVSS vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N.
Questions
What is CVE-2024-31497?
{ "executive_summary": "CVE-2024-31497 affects PuTTY versions 0.68 through 0.80 before 0.81, where biased ECDSA nonce generation can lead to the recovery of a user's NIST P-521 secret key with approximately 60 signed messages.", "attack_vector_detail": "An attacker can recover a user's NIST P-521 secret key by analyzing a set of signed messages, which could be publicly available, such as those stored in a public Git repository. The attack is feasible with a relatively small number of signatu
What is the CVSS score for CVE-2024-31497?
CVE-2024-31497 has CVSS 5.9 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N. EPSS: 3.1%.
Is CVE-2024-31497 actively exploited?
No confirmed active exploitation of CVE-2024-31497 as of 2026-09-25.
How do I remediate CVE-2024-31497?
Priority: LOW. PSIRT: [email protected]
What systems are affected by CVE-2024-31497?
CVE-2024-31497 affects Fedoraproject Fedora; Filezilla-Project Filezilla Client; Putty Putty; Tigris Tortoisesvn; Tortoisegit Tortoisegit; Winscp Winscp.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Fedoraproject","product":"Fedora","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.