CVE-2015-2157
Description
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.
Severity
not scored
CVSS v3
not scored
Exploit chance (EPSS)
0.585%
chance of exploitation in the next 30 days
higher than 48.6% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
None public
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0
Weakness
- CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
Timeline
- 2015-03-27Published by the CNA14:00 UTC
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| putty putty | 0.51no fix listed0.52no fix listed0.53bno fix listed0.54no fix listed0.55no fix listed(+8 more) | not listednot listednot listednot listednot listed |
| simon_tatham putty | 0.53no fix listed | not listed |
| debian debian_linux | 7.0no fix listed | not listed |
| fedoraproject fedora | 20no fix listed22no fix listed | not listednot listed |
| opensuse opensuse | 13.1no fix listed13.2no fix listed | not listednot listed |
References
- http://www.chiark.greenend.org.uk/~sgtatham/putty/changes.html
- http://www.chiark.greenend.org.uk/~sgtatham/putty/wishlist/private-key-not-wiped-2.html
- http://lists.fedoraproject.org/pipermail/package-announce/2015-March/151790.html
- http://lists.fedoraproject.org/pipermail/package-announce/2015-March/151839.html
- http://lists.fedoraproject.org/pipermail/package-announce/2015-March/151933.html
- http://lists.opensuse.org/opensuse-updates/2015-03/msg00032.html
- http://www.debian.org/security/2015/dsa-3190
- http://www.openwall.com/lists/oss-security/2015/02/28/4
- http://www.openwall.com/lists/oss-security/2015/02/28/5
- http://www.securityfocus.com/bid/72825
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2015-2157'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2015-2157'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2015-2157'curl 'https://api.contrastcyber.com/cve_products/CVE-2015-2157'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).