{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-31616","published":"2021-05-06T13:15:12.693000Z","last_modified":"2026-06-17T03:52:05.207000Z","status":"Modified","cvss":{"version":"3.1","score":8.8,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-787"],"cpes":[{"criteria":"cpe:2.3:o:shapeshift:keepkey_firmware:*:*:*:*:*:*:*:*","part":"o","vendor":"shapeshift","product":"keepkey_firmware","version_start_including":"7.0.3","version_end_excluding":"7.1.0"}],"cpes_truncated":false,"vendors":["shapeshift"],"products":["shapeshift/keepkey_firmware"],"epss":{"score":0.02497,"percentile":0.85426,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"firmware","platform":"appliance","eol":false,"packages":[],"severity":"high","priority_score":68,"links":{"html_es":"/es/cve/CVE-2021-31616/","html_en":"/en/cve/CVE-2021-31616/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-31616","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-31616"},"untrusted":{"vendor_name":"Shapeshift","product_name":"Keepkey Firmware","desc_en":"Insufficient length checks in the ShapeShift KeepKey hardware wallet firmware before 7.1.0 allow a stack buffer overflow via crafted messages. The overflow in ethereum_extractThorchainSwapData() in ethereum.c can circumvent stack protections and lead to code execution. The vulnerable interface is reachable remotely over WebUSB.","affected":[],"references":[{"url":"https://blog.inhq.net/posts/keepkey-CVE-2021-31616/","tags":["Exploit","Patch","Third Party Advisory"]},{"url":"https://github.com/keepkey/keepkey-firmware/commit/e49d45594002d4d3fbc1f03488e6dfc0a0a65836","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/keepkey/keepkey-firmware/releases/tag/v7.1.0","tags":["Release Notes","Third Party Advisory"]},{"url":"https://shapeshift.com/library/keepkey-important-update-issued-april-4-required","tags":["Vendor Advisory"]}]}}