Share this article

The Latest Bitcoin Bug Was So Bad, Developers Kept Its Full Details a Secret

This week's major bitcoin bug was even worse than developers let on – it could have been used to effectively print more bitcoin.

Updated Sep 13, 2021, 8:24 a.m. Published Sep 21, 2018, 10:30 p.m.
binary, code

This week's major bitcoin bug was even worse than developers initially let on.

The bug originally rocked the bitcoin world when it was reported the vulnerability could be used to shut down a chunk of the network.

STORY CONTINUES BELOW
Don't miss another story.Subscribe to the Crypto Daybook Americas Newsletter today. See all newsletters

While this sounded bad enough for many, it turns out developers for Bitcoin Core kept a second, bigger part of the bug a secret. As disclosed through an official Common Vulnerabilities and Exposures (CVE) report, an attacker could have actually used it to create new bitcoin – above the 21 million hard-cap of coin creation – thereby inflating the supply and devaluing current bitcoins.

Such a perversion of the rules would, at worst, according to many, make users not trust the cryptocurrency anymore.

Because of the disastrous implications of the bug, developers decided to keep it a secret, buying themselves time to fix the exploit and urge miners and users to upgrade their software.

The CVE report written by Bitcoin Core developers explains:

"In order to encourage rapid upgrades, the decision was made to immediately patch and disclose the less serious denial of service vulnerability, concurrently with reaching out to miners, businesses and other affected systems, while delaying publication of the full issue to give time for systems to upgrade."

And for now, the plan seems to have worked.

Over half of bitcoin's mining hash rate has upgraded to the patched software version, meaning the attack can no longer be used, and developers are "unaware of any attempts to exploit this vulnerability," the report states.

Who found it?

Finding such a serious bug was a stressful position for developers to be in.

According to the report, an anonymous user originally filed a report about the denial-of-service bug to top developers of Bitcoin Core and Bitcoin ABC, the main software implementation of bitcoin cash. About two hours later, Chaincode engineer and Bitcoin Core developer Matt Corallo realized the bug could have been exploited to print unlimited bitcoin.

Based on the seriousness of the vulnerability, the developers decided to keep those details secret at first.

Instead, beginning with Slush Pool, they started pushing miners to upgrade. And for bitcoin users running a full node, the call to action is the same.

"You should not run any version of Bitcoin Core other than 0.16.3. Older versions should not exist on the network. If you know anyone who is running an older version, tell them to upgrade it ASAP," bitcoin subreddit moderator Theymos remarked in a post currently pinned to the top of the forum.

Yet, another problem exists now – the possibility of a bitcoin chain split

Since users are now running different versions of the bitcoin software, there's a risk the network will temporarily split into two, then come back together again. Transactions on the chain running old software, then, might ultimately be lost.

While the situation is being monitored closely, Theymos thinks the risk of this happening is small. But, he argued that people should still take precautions, such as waiting longer to make sure a bitcoin transaction actually gets verified.

Theymos added:

"For the next week or so you should consider there to be a small possibility of any transaction with less than 200 confirmations being reversed."

Fake bitcoin?

What's on some users' minds, still though, is whether it's possible the bug has already been exploited.

"How do we know if that vulnerability wasn't exploited already and there is someone out there with a bunch of fake bitcoin?" asked one bitcoin user.

Luckily, Bitcoin Core contributor Pieter Wuille explained, due to the power of code, bitcoin users would have been able to detect suspicious activity by now.

When downloaded for the first time, full nodes double check every transaction made in bitcoin's history. A node running the new software, 0.16.3, would detect the problem immediately.

Even so, questions remain regarding what would have happened if the bug wasn't caught in time.

According to Theymos: "Even if the bug had been exploited to its full extent, the theoretical damage to stored funds would have been rolled back."

Theymos continued, saying that rollback would be much like what happened during the so-called "value overflow incident" in 2010 when 187 billion bitcoins were created out of thin air but, ultimately, were destroyed.

Still, while Bitcoin Core, litecoin and several other coins that were based Bitcoin Core's code have released a patch for the exploit, others have not – and might still be vulnerable to the inflation bug.

Code image via Shutterstock

More For You

Pudgy Penguins: A New Blueprint for Tokenized Culture

Pudgy Title Image

Pudgy Penguins is building a multi-vertical consumer IP platform — combining phygital products, games, NFTs and PENGU to monetize culture at scale.

What to know:

Pudgy Penguins is emerging as one of the strongest NFT-native brands of this cycle, shifting from speculative “digital luxury goods” into a multi-vertical consumer IP platform. Its strategy is to acquire users through mainstream channels first; toys, retail partnerships and viral media, then onboard them into Web3 through games, NFTs and the PENGU token.

The ecosystem now spans phygital products (> $13M retail sales and >1M units sold), games and experiences (Pudgy Party surpassed 500k downloads in two weeks), and a widely distributed token (airdropped to 6M+ wallets). While the market is currently pricing Pudgy at a premium relative to traditional IP peers, sustained success depends on execution across retail expansion, gaming adoption and deeper token utility.

Di più per voi

Strive clears Semler debt off books, buys more bitcoin after $225 million preferred stock sale

Strive CEO Matt Cole speaks at BTC Asia in Hong Kong (screenshot)

The offering of SATA shares was oversubscribed and upsized from the initial $150 million target.

Cosa sapere:

  • Strive (ASST) raised $225 million through an upsized and oversubscribed SATA preferred offering.
  • The company retired $110 million of the $120 million of legacy debt from recently acquired Semler Scientific (SMLR)
  • Strive also increased its bitcoin treasury by 333.89 coins, bringing the total to roughly 13,132 BTC worth more than $1.1 billion.