CVE-2017-6542

CRITICAL

PuTTY < 0.68 - Buffer Overflow via SSH Agent Protocol Message

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2017-6542. PoCs published by Tim Kosse.

AI-analyzed exploit summary The writeup describes an integer overflow vulnerability in PuTTY's ssh_agent_channel_data function, which can lead to heap corruption when processing forwarded SSH agent connections. The provided PoC demonstrates a crash via a crafted payload sent to the SSH_AUTH_SOCK socket.

Description

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.

Exploits (1)

exploitdb WRITEUP VERIFIED
by Tim Kosse · textdoslinux
https://www.exploit-db.com/exploits/42137

The writeup describes an integer overflow vulnerability in PuTTY's ssh_agent_channel_data function, which can lead to heap corruption when processing forwarded SSH agent connections. The provided PoC demonstrates a crash via a crafted payload sent to the SSH_AUTH_SOCK socket.

Classification
Writeup 100%
Attack Type
Dos
Complexity
Trivial
Reliability
Reliable
Target: PuTTY versions prior to 0.68
No auth needed
Prerequisites: SSH agent forwarding enabled · Access to the forwarded agent connection socket
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (8)

Core 8
Core References
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/97156
Exploit, Third Party Advisory exploit x_refsource_exploit-db
https://www.exploit-db.com/exploits/42137/
Third Party Advisory, VDB Entry vendor-advisory x_refsource_gentoo
https://security.gentoo.org/glsa/201703-03
Third Party Advisory, VDB Entry vdb-entry x_refsource_sectrack
http://www.securitytracker.com/id/1038067
Third Party Advisory vendor-advisory x_refsource_suse
http://lists.opensuse.org/opensuse-updates/2017-03/msg00055.html
Third Party Advisory vendor-advisory x_refsource_gentoo
https://security.gentoo.org/glsa/201706-09

Scores

CVSS v3 9.8
EPSS 0.2182
EPSS Percentile 97.3%
Attack Vector NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-119
Status published
Products (3)
opensuse/leap 42.2
opensuse_project/leap 42.1
putty/putty < 0.67
Published Mar 27, 2017
Tracked Since Feb 18, 2026