CVE-2015-2157
No CVSS score yet. EPSS 0.6% estimated probability of exploitation activity in the next 30 days.
On this page
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.
- EPSS
- 0.6% (unchanged from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 49th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
- CWE
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
- OWASP Top 10
- A01:2025 Broken Access Control
- Published
- Modified
- NVD analysis
- Analyzed, since modified
- Record from
- the NVD, synced
Fix and patched versions
- Debian, Ubuntu, openSUSE: fixed package versions per release
- Patch: http://www.chiark.greenend.org.uk/~sgtatham/putty/changes.html
- Patch: http://www.chiark.greenend.org.uk/~sgtatham/putty/wishlist/private-key-not-wiped-2.html
- Vendor advisory: http://www.chiark.greenend.org.uk/~sgtatham/putty/changes.html
- Vendor advisory: http://www.chiark.greenend.org.uk/~sgtatham/putty/wishlist/private-key-not-wiped-2.html
Ask an AI about this CVE
Show the prompt
Explain CVE-2015-2157 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2015-2157?via=ask-ai-copy and https://cve.bz/cve/CVE-2015-2157?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2015-2157 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
Affected
Versions
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| debian:debian_linux | 7.0 |
| fedoraproject:fedora | 20 |
| fedoraproject:fedora | 22 |
| opensuse:opensuse | 13.1 |
| opensuse:opensuse | 13.2 |
| putty:putty | 0.51 |
| putty:putty | 0.52 |
| putty:putty | 0.53b |
| putty:putty | 0.54 |
| putty:putty | 0.55 |
| putty:putty | 0.56 |
| putty:putty | 0.57 |
| putty:putty | 0.58 |
| putty:putty | 0.59 |
| putty:putty | 0.60 |
| putty:putty | 0.61 |
| putty:putty | 0.62 |
| putty:putty | 0.63 |
| simon_tatham:putty | 0.53 |
Linux distributions
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 6.0 | putty | 0.60+2010-02-20-1+squeeze3 | DLA-173-1 |
| Debian | 7 | putty | 0.62-9+deb7u2 | DSA-3190-1 |
| Debian | 12, 13, 14 | putty | 0.63-10 | DEBIAN-CVE-2015-2157 |
| Ubuntu | 14.04:LTS | putty | 0.63-4ubuntu0.1 | UBUNTU-CVE-2015-2157 |
| openSUSE | Tumbleweed | putty | 0.67-1.5 | openSUSE-SU-2024:10374-1 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · openSUSE.
Attack patterns (CAPEC)
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-200 (59).
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