Home / Putty / Putty / CVE-2017-6542
CVE-2017-6542: is it exploited, and which versions of Putty are affected and fixed?
CVE-2017-6542 is a memory corruption (buffer overflow) vulnerability in Putty. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 07:38 UTC). Affected: putty through 0.67, leap 42.2 and leap 42.1 (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Critical (9.8, CVSS 3.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 07:38 UTC, CVE record November 19, 2026, 07:18 UTC and NVD November 19, 2026, 08:43 UTC.
What is CVE-2017-6542?
The ssh_agent_channel_data function in PuTTY before 0.68 allows remote attackers to have unspecified impact via a large length value in an agent protocol message and leveraging the ability to connect to the Unix-domain socket representing the forwarded agent connection, which trigger a buffer overflow.
From the CVE record by mitre, last updated August 5, 2024, 15:33 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| putty | putty | through 0.67 | application |
| opensuse | leap | 42.2 | operating system |
| opensuse project | leap | 42.1 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 01:22 UTC.
How severe is CVE-2017-6542?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.8 | CVSS 3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD |
| High 7.5 | CVSS 2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2017-6542 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 21.8% probability of exploitation activity in the next 30 days, percentile 97.7 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
Where are the vendor advisories and references?
- 97156 vdb-entry, x_refsource_BID
- 42137 exploit, x_refsource_EXPLOIT-DB
- GLSA-201703-03 vendor-advisory, x_refsource_GENTOO
- https://git.tartarus.org/?p=simon/putty.git%3Ba=commitdiff%3Bh=4ff22863d895cb7ebfced4cf923a012a614adaa8 x_refsource_CONFIRM
- 1038067 vdb-entry, x_refsource_SECTRACK
- http://www.chiark.greenend.org.uk/~sgtatham/putty/wishlist/vuln-agent-fwd-overflow.html x_refsource_CONFIRM
- openSUSE-SU-2017:0741 vendor-advisory, x_refsource_SUSE
- GLSA-201706-09 vendor-advisory, x_refsource_GENTOO
When was it published, and where is the official record?
- Reserved
- March 8, 2017
- Published
- March 27, 2017, 17:00 UTC
- CVE record updated
- August 5, 2024, 15:33 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 01:22 UTC
- Last checked
- CVE list November 19, 2026, 07:18 UTC; NVD November 19, 2026, 08:43 UTC; KEV December 3, 2026, 07:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Putty?
- May 25, 2026CVE-2026-48852 PuTTY: reachable assertion (crash)
- May 25, 2026CVE-2026-48851 PuTTY: user Interface (UI) Misrepresentation of Critical Information
- May 25, 2026CVE-2026-48850 PuTTY: double free
- Mar 22, 2026CVE-2026-4115 PuTTY: cryptographic signature not verified disputed
- Apr 15, 2024CVE-2024-31497 Putty: weak random number generator
- Dec 18, 2023CVE-2023-48795 Openbsd Openssh: improper Validation of Integrity Check Value
- Jul 9, 2021CVE-2021-36367 Putty: data authenticity not verified
- May 21, 2021CVE-2021-33500 Putty: n/a
Questions about CVE-2017-6542
Is CVE-2017-6542 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 07:38 UTC. FIRST's EPSS gives it a 21.8% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Putty are affected by CVE-2017-6542?
putty through 0.67, leap 42.2 and leap 42.1, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2017-6542?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2017-6542?
Critical (9.8, CVSS 3.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2017-6542?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.