CVE-2017-6542
The ssh_agent_channel_data function in PuTTY before 0.68 allows remote attackers to have...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
9.8
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.
- Record
CVE-2017-6542- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 7.5 High
AV:N/AC:L/Au:N/C:P/I:P/A:P - Weakness
- CWE-119
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2017-6542- Updated
- 2026-11-02
EUVDEUVD-2017-15598 No score
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.
- Record
EUVD-2017-15598- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-6q3h-v425-7xx2
9.8
The ssh_agent_channel_data function in PuTTY before 0.68 allows remote attackers to have...
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.
- Record
GHSA-6q3h-v425-7xx2- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-119
- Updated
- 2026-11-02
OSVALPINE-CVE-2017-6542
9.8
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.
- Record
ALPINE-CVE-2017-6542- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSV
9.8
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.
- Record
CVE-2017-6542- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Show 4 moreShow less
OSVDEBIAN-CVE-2017-6542
9.8
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.
- Record
DEBIAN-CVE-2017-6542- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2017-6542
9.8
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.
- Record
UBUNTU-CVE-2017-6542- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVMGASA-2017-0093 No score
Updated putty packages fix security vulnerability
In PuTTY before 0.68, if SSH agent forwarding is enabled, local attackers that are also able to connect to the UNIX domain socket could have overwritten heap data (CVE-2017-6542).
- Record
MGASA-2017-0093- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:11201-1 No score
putty-0.76-1.2 on GA media
These are all security issues fixed in the putty-0.76-1.2 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:11201-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
puttyAlpine:v3.2 |
before 0.68-r0 | 0.68-r0 |
puttyAlpine:v3.3 |
before 0.68-r0 | 0.68-r0 |
puttyAlpine:v3.4 |
before 0.68-r0 | 0.68-r0 |
puttyAlpine:v3.5 |
before 0.68-r0 | 0.68-r0 |
puttyDebian:12 |
before 0.67-3 | 0.67-3 |
puttyDebian:13 |
before 0.67-3 | 0.67-3 |
puttyDebian:14 |
before 0.67-3 | 0.67-3 |
puttyMageia:5 |
before 0.68-1.mga5 | 0.68-1.mga5 |
puttyUbuntu:16.04:LTS |
before 0.67-3build0.16.04.1, plus listed versions 0.65-20.66-10.66-20.66-30.66-40.67-10.67-2 |
0.67-3build0.16.04.1 |
puttyopenSUSE:Tumbleweed |
before 0.76-1.2 | 0.76-1.2 |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| Exploit-DB | PuTTY < 0.68 - 'ssh_agent_channel_data' Integer Overflow Heap Corruption | 2017-06-07 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, Exploit-DB, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2017-6542 is a critical vulnerability (CVSS 9.8) in Putty, published March 27, 2017. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 21.8%, the 97th percentile. Fixed in putty 0.68-r0.
References
securityfocus.com/bid/97156
exploit-db.com/exploits/42137
security.gentoo.org/glsa/201703-03
git.tartarus.org?p=simon/putty.git%3Ba=commitdiff%3Bh=4ff22863d895cb7ebfced4cf923a012a614adaa8
securitytracker.com/id/1038067
chiark.greenend.org.uk/~sgtatham/putty/wishlist/vuln-agent-fwd-overflow.html
Show 15 moreShow less
lists.opensuse.org/opensuse-updates/2017-03/msg00055.html
security.gentoo.org/glsa/201706-09
nvd.nist.gov/vuln/detail/CVE-2017-6542
git.tartarus.org?p=simon/putty.git;a=commitdiff;h=4ff22863d895cb7ebfced4cf923a012a614adaa8
github.com/advisories/GHSA-6q3h-v425-7xx2
security.alpinelinux.org/vuln/CVE-2017-6542
security-tracker.debian.org/tracker/CVE-2017-6542
advisories.mageia.org/MGASA-2017-0093.html
bugs.mageia.org/show_bug.cgi?id=20525
chiark.greenend.org.uk/~sgtatham/putty/changes.html
ubuntu.com/security/CVE-2017-6542
cve.org/CVERecord?id=CVE-2017-6542
suse.com/security/cve/CVE-2017-6542
suse.com/security/cve/CVE-2019-17068
suse.com/security/cve/CVE-2019-17069