{"schemaVersion":3,"id":"CVE-2017-6542","aliases":["ALPINE-CVE-2017-6542","MGASA-2017-0093","UBUNTU-CVE-2017-6542","DEBIAN-CVE-2017-6542"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2017-03-27T17:00:00.000Z","modified":"2024-08-05T15:33:20.175Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.0","versionLabel":"v3.0","source":"NVD","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":7.5,"severity":"high","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Alpine","score":9.8,"severity":"critical","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":9.8,"severity":"critical","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Debian","score":9.8,"severity":"critical","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true}]},"epss":{"probability":0.21816,"percentile":0.97624,"severity":"high","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.21816},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.21816,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.21816,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.21816,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.21816,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.21816,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.21816,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.21816,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.17431,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.21816,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.21816,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.21816,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.21816,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.21816,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.21816,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.21816,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.21816,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.21816,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.21816,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.21816,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.21816,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.21816,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.21816,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.21816,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.21816,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.21816,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.21816,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.21816,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.21816,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.21816,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.21816,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.21816,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.21816,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.21816,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.21816,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.21816,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.21816,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.21816,"percentile":0.97624}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.21816,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.17431,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.21816,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.21816,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.21816,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.21816,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.21816,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.21816,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.21816,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.21816,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.21816,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.21816,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.21816,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.21816,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.21816,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.21816,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.21816,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.21816,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.21816,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.21816,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.21816,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.21816,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.21816,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.21816,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.21816,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.21816,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.21816,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.21816,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.21816,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.21816,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.21816,"percentile":0.97624}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"42137","name":"PuTTY < 0.68 - 'ssh_agent_channel_data' Integer Overflow Heap Corruption","source":"exploit-database","url":"https://www.exploit-db.com/exploits/42137","maturity":"poc","reliabilityScore":0.8,"verified":true,"type":"dos","platforms":["linux"],"requiresAuth":null,"exploitdb":{"verified":true,"type":"dos","platform":"linux","file":"exploits/linux/dos/42137.txt","codes":["CVE-2017-6542"]},"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer","description":"The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.","type":"weakness","status":"Stable","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/119.html"}],"affected":[{"vendor":"alpine","product":"putty","name":"putty","label":"putty","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/putty","purlType":"apk","versions":[{"text":"< 0.68-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.68-r0","eol":null,"hubHref":null},{"vendor":"debian","product":"putty","name":"putty","label":"putty","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/putty","purlType":"deb","versions":[{"text":"< 0.67-3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.67-3","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"putty","name":"putty","label":"putty","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/putty","purlType":"deb","versions":[{"text":"< 0.67-3build0.16.04.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.67-3build0.16.04.1","eol":null,"hubHref":null},{"vendor":"mageia","product":"putty","name":"putty","label":"putty","ecosystem":"Mageia","cpePart":null,"purl":"pkg:rpm/mageia/putty","purlType":"rpm","versions":[{"text":"< 0.68-1.mga5","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.68-1.mga5","eol":null,"hubHref":null},{"vendor":"opensuse_project","product":"leap","name":"leap","label":"leap","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"42.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"42.1","eol":null,"hubHref":"/vendor/opensuse_project/leap"},{"vendor":"opensuse","product":"leap","name":"leap","label":"leap","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"42.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"42.2","eol":{"isEol":true,"eolDate":"2018-01-26T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"42.2","label":"Leap 42.2","eolFrom":"2018-01-26T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"opensuse","label":"openSUSE","category":"os"}},"hubHref":"/vendor/opensuse/leap"},{"vendor":"putty","product":"putty","name":"putty","label":"putty","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 0.67","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 0.67","eol":null,"hubHref":"/vendor/putty/putty"}],"affectedCount":7,"eol":{"hasEol":true,"count":1},"references":[{"url":"http://www.securityfocus.com/bid/97156","label":"www.securityfocus.com/bid/97156","hostname":"www.securityfocus.com","tags":["VDB Entry","X Refsource BID","Third Party Advisory"]},{"url":"https://www.exploit-db.com/exploits/42137/","label":"www.exploit-db.com/exploits/42137/","hostname":"www.exploit-db.com","tags":["Exploit","X Refsource EXPLOIT DB"]},{"url":"https://security.gentoo.org/glsa/201703-03","label":"security.gentoo.org/glsa/201703-03","hostname":"security.gentoo.org","tags":["Vendor Advisory","X Refsource GENTOO","Third Party Advisory","VDB Entry"]},{"url":"https://git.tartarus.org/?p=simon/putty.git%3Ba=commitdiff%3Bh=4ff22863d895cb7ebfced4cf923a012a614adaa8","label":"git.tartarus.org?p=simon/putty.git%3Ba=commitdiff%3Bh=4ff22863d895cb7ebfced4cf923a012a614adaa8","hostname":"git.tartarus.org","tags":["X Refsource CONFIRM"]},{"url":"http://www.securitytracker.com/id/1038067","label":"www.securitytracker.com/id/1038067","hostname":"www.securitytracker.com","tags":["VDB Entry","X Refsource SECTRACK"]},{"url":"http://www.chiark.greenend.org.uk/~sgtatham/putty/wishlist/vuln-agent-fwd-overflow.html","label":"www.chiark.greenend.org.uk/~sgtatham/putty/wishlist/vuln-agent-fwd-overflow.html","hostname":"www.chiark.greenend.org.uk","tags":["X Refsource CONFIRM","Patch","Vendor Advisory","WEB","REPORT"]},{"url":"http://lists.opensuse.org/opensuse-updates/2017-03/msg00055.html","label":"lists.opensuse.org/opensuse-updates/2017-03/msg00055.html","hostname":"lists.opensuse.org","tags":["Vendor Advisory","X Refsource SUSE","Third Party Advisory"]},{"url":"https://security.gentoo.org/glsa/201706-09","label":"security.gentoo.org/glsa/201706-09","hostname":"security.gentoo.org","tags":["Vendor Advisory","X Refsource GENTOO"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2017-6542","label":"security.alpinelinux.org/vuln/CVE-2017-6542","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://advisories.mageia.org/MGASA-2017-0093.html","label":"advisories.mageia.org/MGASA-2017-0093.html","hostname":"advisories.mageia.org","tags":["Advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=20525","label":"bugs.mageia.org/show_bug.cgi?id=20525","hostname":"bugs.mageia.org","tags":["REPORT"]},{"url":"http://www.chiark.greenend.org.uk/~sgtatham/putty/changes.html","label":"www.chiark.greenend.org.uk/~sgtatham/putty/changes.html","hostname":"www.chiark.greenend.org.uk","tags":["WEB"]},{"url":"https://ubuntu.com/security/CVE-2017-6542","label":"ubuntu.com/security/CVE-2017-6542","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=4ff22863d895cb7ebfced4cf923a012a614adaa8","label":"git.tartarus.org?p=simon/putty.git;a=commitdiff;h=4ff22863d895cb7ebfced4cf923a012a614adaa8","hostname":"git.tartarus.org","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-6542","label":"www.cve.org/CVERecord?id=CVE-2017-6542","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2017-6542","label":"security-tracker.debian.org/tracker/CVE-2017-6542","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2024:11201-1"],"duplicates":[],"related":["OPENSUSE-SU-2024:11201-1"]},"timeline":[{"kind":"published","date":"2017-03-27T17:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T15:33:20.175Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T13:30:10.168Z","stale":false,"partial":false}}