{"id":"CVE-2017-6542","aliases":["ALPINE-CVE-2017-6542","DEBIAN-CVE-2017-6542","EUVD-2017-15598","GHSA-6q3h-v425-7xx2","MGASA-2017-0093","UBUNTU-CVE-2017-6542","openSUSE-SU-2024:11201-1"],"status":"published","title":"The ssh_agent_channel_data function in PuTTY before 0.68 allows remote attackers to have...","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.","severity":{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.21816,"percentile":0.97657,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-119"],"published":"2017-03-27T17:00:00Z","modified":"2026-09-01T20:03:49Z","exploits":[{"source":"exploitdb","id":"EDB-42137","title":"PuTTY \u003c 0.68 - 'ssh_agent_channel_data' Integer Overflow Heap Corruption","type":"dos","platform":"linux","date":"2017-06-07","verified":true,"url":"https://www.exploit-db.com/exploits/42137"}],"fixes":[{"ecosystem":"Alpine:v3.2","package":"putty","fixed_in":["0.68-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.3","package":"putty","fixed_in":["0.68-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.4","package":"putty","fixed_in":["0.68-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.5","package":"putty","fixed_in":["0.68-r0"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"putty","fixed_in":["0.67-3"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"putty","fixed_in":["0.67-3"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"putty","fixed_in":["0.67-3"],"sources":["osv"]},{"ecosystem":"Mageia:5","package":"putty","fixed_in":["0.68-1.mga5"],"sources":["osv"]},{"ecosystem":"Ubuntu:16.04:LTS","package":"putty","fixed_in":["0.67-3build0.16.04.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Alpine:v3.2","package":"putty","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.68-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.3","package":"putty","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.68-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.4","package":"putty","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.68-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.5","package":"putty","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.68-r0"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"putty","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.67-3"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"putty","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.67-3"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"putty","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.67-3"}]}]},{"source":"osv","ecosystem":"Mageia:5","package":"putty","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.68-1.mga5"}]}]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"putty","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.67-3build0.16.04.1"}]}],"versions":["0.65-2","0.66-1","0.66-2","0.66-3","0.66-4","0.67-1","0.67-2"]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"putty","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.76-1.2"}]}],"bundled":3}],"products":[{"vendor":"opensuse","product":"leap"},{"vendor":"opensuse_project","product":"leap"},{"vendor":"putty","product":"putty"}],"references":[{"url":"http://www.securityfocus.com/bid/97156","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"https://www.exploit-db.com/exploits/42137/","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred","web"]},{"url":"https://security.gentoo.org/glsa/201703-03","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"https://git.tartarus.org/?p=simon/putty.git%3Ba=commitdiff%3Bh=4ff22863d895cb7ebfced4cf923a012a614adaa8","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://www.securitytracker.com/id/1038067","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred","web"]},{"url":"http://www.chiark.greenend.org.uk/~sgtatham/putty/wishlist/vuln-agent-fwd-overflow.html","tags":["x_refsource_CONFIRM","x_transferred","Patch","Vendor Advisory","fix","web","report"]},{"url":"http://lists.opensuse.org/opensuse-updates/2017-03/msg00055.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","Third Party Advisory","advisory"]},{"url":"https://security.gentoo.org/glsa/201706-09","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-6542"},{"url":"https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=4ff22863d895cb7ebfced4cf923a012a614adaa8","tags":["report"]},{"url":"https://www.exploit-db.com/exploits/42137"},{"url":"https://github.com/advisories/GHSA-6q3h-v425-7xx2"},{"url":"https://security.alpinelinux.org/vuln/CVE-2017-6542","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2017-6542","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2017-0093.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=20525","tags":["report"]},{"url":"http://www.chiark.greenend.org.uk/~sgtatham/putty/changes.html","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2017-6542","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-6542","tags":["report"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2017-6542","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2019-17068","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2019-17069","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2017-6542","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.","status":"published","published":"2017-03-27T17:00:00Z","modified":"2024-08-05T15:33:20.175Z","updated_at":"2026-11-02T14:33:16.916541Z"}],"euvd":[{"id":"EUVD-2017-15598","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.","status":"published","published":"2017-03-27T17:00:00Z","modified":"2024-08-05T15:33:20Z","updated_at":"2026-11-03T02:39:12.023695Z"}],"ghsa":[{"id":"GHSA-6q3h-v425-7xx2","title":"The ssh_agent_channel_data function in PuTTY before 0.68 allows remote attackers to have...","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.","status":"published","published":"2022-05-14T02:11:48Z","modified":"2025-04-20T03:35:54Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T15:01:43.480751Z"}],"nvd":[{"id":"CVE-2017-6542","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.","status":"published","published":"2017-03-27T17:59:00.85Z","modified":"2026-06-17T01:22:32.247Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T14:03:44.275273Z"}],"osv":[{"id":"ALPINE-CVE-2017-6542","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.","status":"published","published":"2017-03-27T17:59:00.85Z","modified":"2026-06-15T18:24:51.925313761Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:27:47.187336Z"},{"id":"CVE-2017-6542","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.","status":"published","published":"2017-03-27T17:59:00.85Z","modified":"2026-04-16T06:21:31.805167436Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:06.412595Z"},{"id":"DEBIAN-CVE-2017-6542","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.","status":"published","published":"2017-03-27T17:59:00.85Z","modified":"2026-09-01T20:03:49.299666977Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:45:29.412243Z"},{"id":"UBUNTU-CVE-2017-6542","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.","status":"published","published":"2017-03-27T17:59:00Z","modified":"2025-09-08T16:44:09Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:54:15.773974Z"},{"id":"MGASA-2017-0093","title":"Updated putty packages fix security vulnerability","description":"In PuTTY before 0.68, if SSH agent forwarding is enabled, local attackers\nthat are also able to connect to the UNIX domain socket could have\noverwritten heap data (CVE-2017-6542).\n","status":"published","published":"2017-03-27T21:27:33Z","modified":"2026-04-16T06:24:32.962261677Z","updated_at":"2026-11-02T15:49:40.103088Z"},{"id":"openSUSE-SU-2024:11201-1","title":"putty-0.76-1.2 on GA media","description":"These are all security issues fixed in the putty-0.76-1.2 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T02:31:24.521628Z","updated_at":"2026-11-02T16:58:34.894275Z"}]}}
