What’s Vulnerable › Vulnerabilities
CVE-2018-17145
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 4.8% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2020-09-10 · updated 2026-06-17
- Weakness: CWE-400
Description
Bitcoin Core 0.16.x before 0.16.2 and Bitcoin Knots 0.16.x before 0.16.2 allow remote denial of service via a flood of multiple transaction inv messages with random hashes, aka INVDoS. NOTE: this can also affect other cryptocurrencies, e.g., if they were forked from Bitcoin Core after 2017-11-15.
Affected products
- Bcoin: before 1.0.2 — fixed in 1.0.2
- Bitcoin Core: from 0.16.0 before 0.16.2 — fixed in 0.16.2
- Bitcoinknots Bitcoin Knots: from 0.16.0 before 0.16.2 — fixed in 0.16.2
- btcsuite btcd: 0.3.0-alpha, 0.3.1-alpha, 0.3.2-alpha, 0.3.3-alpha, 0.4.0-alpha, 0.5.0-alpha (+12)
- Decred Dcrd: before 1.5.2 — fixed in 1.5.2
- Litecoin: from 0.16.0 before 0.16.2 — fixed in 0.16.2
- Namecoin Core: from 0.16.0 before 0.16.2 — fixed in 0.16.2
How to fix
Upgrade to a fixed version: Bcoin 1.0.2; Bitcoin Core 0.16.2; Bitcoinknots Bitcoin Knots 0.16.2; Decred Dcrd 1.5.2; Litecoin 0.16.2; Namecoin Core 0.16.2. Check the vendor advisory for mitigations.
References
- https://en.bitcoin.it/wiki/Common_Vulnerabilities_and_Exposures#CVE-2018-17145
- https://github.com/bitcoin/bitcoin/blob/v0.16.2/doc/release-notes.md
- https://invdos.net
- https://invdos.net/paper/CVE-2018-17145.pdf
- https://en.bitcoin.it/wiki/Common_Vulnerabilities_and_Exposures#CVE-2018-17145
- https://github.com/bitcoin/bitcoin/blob/v0.16.2/doc/release-notes.md
- https://invdos.net
- https://invdos.net/paper/CVE-2018-17145.pdf
Get alerted when CVE-2018-17145 or the next vulnerability affects your stack