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.
Conclusion & alert: CVE-2021-31616 is rated High Exploit Risk (79.4/100): CVSS High severity, with medium exploitation likelihood (EPSS 2.50%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 2.20% | 2.50% | +0.29% |
| 2 | 2025-11-21 | 2.33% | 2.20% | -0.13% |
| 3 | 2025-11-18 | — | 2.33% | — |
Full EPSS history (16 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 8.8 | 3.1 | HIGH |
|
2.8 | 5.9 | [email protected] |
| 6.8 | 2.0 | MEDIUM |
|
8.6 | 6.4 | [email protected] |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| shapeshift | keepkey_firmware | >= 7.0.3, < 7.1.0 | cpe:2.3:o:shapeshift:keepkey_firmware:*:*:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| https://blog.inhq.net/posts/keepkey-CVE-2021-31616/ | Exploit Patch Third Party Advisory |
| https://github.com/keepkey/keepkey-firmware/commit/e49d45594002d4d3fbc1f03488e6dfc0a0a65836 | Patch Third Party Advisory |
| https://github.com/keepkey/keepkey-firmware/releases/tag/v7.1.0 | Release Notes Third Party Advisory |
| https://shapeshift.com/library/keepkey-important-update-issued-april-4-required | Vendor Advisory |