Record · 2018

Bitcoin Core CVE-2018-17144 (duplicate inputs: denial of service and inflation)

A 2016 performance change to Bitcoin Core dropped a duplicate-input check from block validation; from version 0.15.0 the same flaw would have let a miner inflate the bitcoin supplyGitHub, bitcoin/bitcoin 2016Bitcoin Core (bitcoincor… 2018. awemany reported a crash bug on 17 September 2018, and Bitcoin Core patched it within hours while describing it only as a denial-of-service fixMedium (via Internet Arc… 2018Bitcoin Core (bitcoincor… 2018.

  1. IntroducedPR #9049, removing a duplicate-input check from block validation for speed, is merged. GitHub, bitcoin/bitcoin 2016
  2. IntroducedBitcoin Core 0.14.0 ships the change (denial-of-service exposure). Bitcoin Core (bitcoincor… 2017Bitcoin Core (bitcoincor… 2018
  3. IntroducedBitcoin Core 0.15.0 ships a redesign that turns the crash into an inflation path. Bitcoin Core (bitcoincor… 2017Bitcoin Core (bitcoincor… 2018
  4. Discoveredawemany, porting code from Bitcoin ABC to Bitcoin Unlimited, finds the crash in ABC and then in Bitcoin Core. Bitcoin Optech 2026Medium (via Internet Arc… 2018
  5. Reported14:57 UTC: encrypted report of a crash bug to three Bitcoin Core maintainers, one Bitcoin ABC and one Bitcoin Unlimited developer. Bitcoin Core (bitcoincor… 2018
  6. Discovered17:47 UTC: Matt Corallo identifies that the bug also allows inflation. Bitcoin Core (bitcoincor… 2018
  7. Patched20:48 UTC: Slush Pool, contacted privately, confirms it has upgraded. Bitcoin Core (bitcoincor… 2018
  8. Reported21:08 UTC: Bitcoin ABC is alerted that a patch will go public by 22:00. Bitcoin Core (bitcoincor… 2018
  9. Disclosed21:57 UTC: PR 14247 published with the patch, framed as a denial-of-service fix only (partial disclosure). Bitcoin Core (bitcoincor… 2018
  10. Patched21:58 UTC: Bitcoin ABC publishes its patch. Bitcoin Core (bitcoincor… 2018
  11. Reported22:07 UTC: advisory email with the patch goes to Optech member companies and others. Bitcoin Core (bitcoincor… 2018
  12. PatchedBitcoin Core 0.16.3 binaries released (20:44 UTC), described as a denial-of-service fix. Bitcoin Core (bitcoincor… 2018Bitcoin Core (bitcoincor… 2018
  13. AnnouncedMailing-list message urging upgrades. Bitcoin Core (bitcoincor… 2018
  14. LeakedA public forum post reveals the inflation impact; it is retracted but circulates. Bitcoin Core (bitcoincor… 2018
  15. RediscoveredDavid Jaenson independently rediscovers the vulnerability and reports it to Bitcoin Core. Bitcoin Core (bitcoincor… 2018
  16. DisclosedBitcoin Core publishes full disclosure including the inflation part. Bitcoin Core (bitcoincor… 2018
  17. AnnouncedBitcoin.org issues a required-upgrade alert saying the bug is more severe than first made public. Bitcoin.org 2018
  18. Eventawemany publishes his account and criticises the speed of public patch publication. Medium (via Internet Arc… 2018
  19. ExploitedA block exercising the bug is mined on testnet, splitting unpatched testnet nodes. No mainnet exploitation is documented. Bitcoin Optech 2018Bitcoin Optech 2026
  20. PatchedBackport releases for the 0.15 and 0.14 branches are available (reported 2 October 2018). Bitcoin Optech 2018

What it did

No mainnet exploitation is documented; a block exercising the bug split unpatched testnet nodes a week after full disclosureBitcoin Optech 2026Bitcoin Optech 2018. Bitcoin.org asked users to treat transactions with fewer than 200 confirmations with some caution for about a weekBitcoin.org 2018.

What it teaches

Split disclosure bought time: the inflation part stayed secret for 3 days, until a forum post and an independent rediscovery led to full disclosureBitcoin Core (bitcoincor… 2018. Forks inherit flaws, and the discoverer criticized the fast public patch for exposing forks that were still vulnerableMedium (via Internet Arc… 2018. The NVD record still describes only the denial-of-service partNIST NVD 2018.