CVE-2015-2157: The (1) ssh2_load_userkey and (2) ssh2_save_userkey functions in PuTTY 0.51 through 0.63 do not properly wipe SSH-2 private keys from memory…
Noroxi assessment
Priority: Monitor (action score 8/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.58% (FIRST EPSS).
- No special conditions are required; it is repeatable.
- Fixed version: putty (Debian:12) 0.63-10; putty (Debian:6.0) 0.60+2010-02-20-1+squeeze3; putty (Debian:7) 0.62-9+deb7u2.
Low priority for now. Upgrade to putty (Debian:12) 0.63-10; putty (Debian:6.0) 0.60+2010-02-20-1+squeeze3; putty (Debian:7) 0.62-9+deb7u2 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
The (1) ssh2_load_userkey and (2) ssh2_save_userkey functions in PuTTY 0.51 through 0.63 do not properly wipe SSH-2 private keys from memory, which allows local users to obtain sensitive information by reading the memory.
- Published
- Mar 27, 2015
- Updated
- Jun 16, 2026
- EPSS
- 0.5% · 48th percentile
- CWE
- CWE-200
Report tools
Action score
8
Low priority for now.
- CVSS
- 8 / 40 · 2.1 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.5%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| putty | putty | cpe:2.3:a:putty:putty |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
| fedoraproject | fedora | cpe:2.3:o:fedoraproject:fedora |
| opensuse | opensuse | cpe:2.3:o:opensuse:opensuse |
| simon tatham | putty | cpe:2.3:a:simon_tatham:putty |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- debian debian linux7.0
- fedoraproject fedora20
- fedoraproject fedora22
- opensuse opensuse13.1
- opensuse opensuse13.2
- putty putty0.51
- putty putty0.52
- putty putty0.53b
+11 more rows
- putty putty0.54
- putty putty0.55
- putty putty0.56
- putty putty0.57
- putty putty0.58
- putty putty0.59
- putty putty0.60
- putty putty0.61
- putty putty0.62
- putty putty0.63
- simon tatham putty0.53
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | putty | before 0.63-10 | 0.63-10 |
| Debian:6.0 | putty | before 0.60+2010-02-20-1+squeeze3 | 0.60+2010-02-20-1+squeeze3 |
| Debian:7 | putty | before 0.62-9+deb7u2 | 0.62-9+deb7u2 |
| openSUSE:Tumbleweed | putty | before 0.67-1.5 | 0.67-1.5 |
Same product
putty: all recordsOther highest-scoring records for the same primary product.
- CVE-2017-6542The ssh_agent_channel_data function in PuTTY before 0.68 allows remote attackers to have unspecified impact via a large length value in an…46Plan
- CVE-2004-1008Integer signedness error in the ssh2_rdpkt function in PuTTY before 0.56 allows remote attackers to execute arbitrary code via a…42Plan
- CVE-2019-9898Potential recycling of random numbers used in cryptography exists within PuTTY before 0.71.40Plan
Published before and after this one in the same product
- ← EarlierCVE-2013-4208Aug 19, 2013 · The rsa_verify function in PuTTY before 0.63 (1) does not clear sensitive process memory after use and (2) does not free certain structures…8Monitor
- ← EarlierCVE-2011-4607Aug 23, 2013 · PuTTY 0.59 through 0.61 does not clear sensitive process memory when managing user replies that occur during keyboard-interactive…8Monitor
- Later →CVE-2016-6167Jan 30, 2017 · Multiple untrusted search path vulnerabilities in Putty beta 0.67 allow local users to execute arbitrary code and conduct DLL hijacking…31Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:putty | 0.63-10 · Debian:12 | Package registry (OSV) |
| opensuse:putty | 0.67-1.5 · openSUSE:Tumbleweed | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- P · data can be read
- Integrity
- none
- Availability
- none
- Attack complexity
- Low
- Confidentiality impact
- P
- Integrity impact
- None
- Availability impact
- None
Weakness class (CWE)
CWE-200 · Exposure of Sensitive Information to an Unauthorized ActorCVSS vector
AV:L/AC:L/Au:N/C:P/I:N/A:N
nvd-primary
Root cause
The extension requests broader permissions than its function needs and sends the data it collects out for purposes beyond its stated function.
The bug in code
The whole CWE-200 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
{
"permissions": ["tabs", "<all_urls>"],
"background": { "service_worker": "analytics.js" }
}Fixed
{
"permissions": ["activeTab"],
"host_permissions": ["https://yildiz.example/*"]
}Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- ExcavationCAPEC-116likelihood: High · Medium
- Subverting Environment Variable ValuesCAPEC-13likelihood: High · Very High
- FootprintingCAPEC-169likelihood: High · Very Low
- Exploiting Trust in ClientCAPEC-22likelihood: High · High
- FingerprintingCAPEC-224likelihood: High · Very Low
- ICMP Echo Request PingCAPEC-285likelihood: Medium · Low
- TCP SYN ScanCAPEC-287Low
- Enumerate Mail Exchange (MX) RecordsCAPEC-290Low
ATT&CK techniques
- System Service DiscoveryT1007
- System Network Configuration DiscoveryT1016
- Remote System DiscoveryT1018
- System Owner/User DiscoveryT1033
- Masquerading: Match Legitimate Name or LocationT1036.005
- Network Service ScanningT1046
- System Network Connections DiscoveryT1049
- Process DiscoveryT1057
- Permission Groups DiscoveryT1069
- System Information DiscoveryT1082
- File and Directory DiscoveryT1083
- Account DiscoveryT1087
- Multi-Factor Authentication InterceptionT1111
- Peripheral Device DiscoveryT1120
- System Time DiscoveryT1124
- Access Token Manipulation:Token Impersonation/TheftT1134.001
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (9 more)Show less
- lists.fedoraproject.org/pipermail/package-announce/2015-March/151839.html
- lists.fedoraproject.org/pipermail/package-announce/2015-March/151933.html
- lists.opensuse.org/opensuse-updates/2015-03/msg00032.html
- www.chiark.greenend.org.uk/~sgtatham/putty/changes.html
- www.chiark.greenend.org.uk/~sgtatham/putty/wishlist/private-key-not-wiped-2.html
- www.debian.org/security/2015/dsa-3190
- www.openwall.com/lists/oss-security/2015/02/28/4
- www.openwall.com/lists/oss-security/2015/02/28/5
- www.securityfocus.com/bid/72825
Vendor advisories and official records. Exploit/PoC links are deliberately left out.