Value overflow incident

From Bitcoin Wiki
(Redirected from CVE-2010-5139)
Jump to: navigation, search

On August 15 2010, it was discovered that block 74638 contained a transaction that created 184,467,440,737.09551616 bitcoins for three different addresses.[1][2][3] Two addresses received 92.2 billion bitcoins each, and whoever solved the block got an extra 0.01 BTC that did not exist prior to the transaction. This was possible because the code used for checking transactions before including them in a block didn't account for the case of outputs so large that they overflowed when summed.[4]

A new version of the client was published within five hours of the discovery that contained a soft forking change to the consensus rules that rejected output value overflow transactions (as well as any transaction that paid more than 21 million bitcoins in an output for any reason).[5] The block chain was forked. Although many unpatched nodes continued to build on the "bad" block chain, the "good" block chain overtook it at a block height of 74691[6] at which point all nodes accepted the "good" blockchain as the authoritative source of Bitcoin transaction history.

The bad transaction no longer exists for people using the longest chain. Therefore, the bitcoins created by it do not exist either. While the transaction does not exist anymore, the 0.5 BTC that was consumed by it does. It appears to have come from a faucet and has not been used since.[7]

See Also


  1. Block 74638. Value overflow incident bad chain. 2010-08-15. Hash 0000000000790ab3f22ec756ad43b6ab569abf0bddeb97c67a6f7b1470a7ec1c. [ Block]
  2. Transaction 4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b.
  3. BitcoinTalk thread 822. Strange block 74638 2010-08-15.
  5. "Fix for block 74638"
    Satoshi Nakamoto
  6. Block 74691. Main chain. 2010-08-16. Hash 00000000005c22d199706df1c38b38d76f8401920dcbe91edf3417f8847da707. Block explorer
  7. Transaction 237fe8348fc77ace11049931058abb034c99698c7fe99b1cc022b1365a705d39.