Coldcard Hack Drains $89M in BTC Due to Firmware Vulnerability

iconOurcryptotalk
Share
AI summary iconSummary
A recent vulnerability news report reveals a $89 million BTC update incident linked to Coldcard hardware wallets. Attackers exploited a five-year-old firmware flaw that weakened seed generation, allowing private keys to be reconstructed. Over 4,585 addresses were drained in three waves. Coinkite has now released patched firmware and migration steps for affected users.

The Coldcard hack exposed a critical flaw in one of Bitcoin’s most trusted hardware wallets. During three attack waves, attackers exploited weak seed generation in affected firmware and drained approximately 1,367 BTC, worth around $89 million, from thousands of addresses.

Unlike a typical phishing scam or exchange breach, this attack targeted the wallet’s internal key-generation process. Specifically, a five-year-old firmware bug produced seeds with insufficient randomness, allowing attackers to reconstruct private keys offline and sweep user funds. Therefore, this article explains how the vulnerability worked, which Coldcard models face risk, and what affected users should do next.

What Happened: $89 Million in Bitcoin Drained in Three Waves

On July 30, 2026, the Coldcard hack began when an unknown attacker started draining Bitcoin from Coldcard hardware wallets. During the first wave, 594 BTC, worth approximately $38 million, vanished from around 500 wallets in just 25 minutes. The attacker targeted the highest-value wallets first. A second wave pushed the losses to 1,082 BTC, worth roughly $70 million, across 1,196 addresses within 41 minutes. By August 2, three attack waves had drained a combined 1,367 BTC, worth approximately $89 million, from 4,585 addresses.

Coldcard hardware wallet firmware bug that drained $89M in Bitcoin across three attack waves

The attacker did not select wallets randomly. According to Chainalysis, the operator prioritized the richest targets and collected more than $30 million during the first 10 minutes. One wallet alone lost approximately $1.8 million. This pattern suggests the attacker had already identified valuable addresses and executed the theft in a deliberate sequence.

Meanwhile, the broader sweep continued for nearly 30 hours before Coinkite published its first public warning. Galaxy Research later identified approximately 600 suspected attacker addresses and reported them to investigators. The research firm also found similar operational patterns across the first two waves, while the third wave used different collection methods.

Most importantly, the Coldcard hack was not a phishing attack, an exchange breach, or a case of someone physically stealing users’ private keys. The attacker never needed direct access to the affected Coldcard devices. Instead, the wallets generated weak seeds when users initialized them, which allowed the attacker to reconstruct private keys offline.

That distinction makes the incident especially serious. Users bought Coldcard devices to isolate their Bitcoin keys from online threats. However, the hardware generated those keys with insufficient randomness. In other words, the product designed to protect users created the vulnerability itself. The security failure existed from the moment the affected wallets generated their seeds.

Coldcard Firmware Vulnerability and Bitcoin Theft Timeline

DateEventSource
Mar 1, 2021 A firmware commit changes seed generation from ckcc.rng_bytes, which used the hardware RNG, to ngu.random.bytes, a software PRNG. Coinkite advisory;
Block analysis
Mar 17, 2021 Firmware v4.0.0 ships with the broken code. Every Mk2 and Mk3 seed generated from this point forward has approximately 40 bits of entropy. Coinkite advisory
2021–2026 The bug persists through five years of firmware updates, security reviews, and an AI-assisted audit. None detect it. crypto.news;
Bitcoin Magazine
July 30, 2026 Approximately 12:00 UTCWave 1: The attacker drains 594 BTC, worth approximately $38 million, from around 500 wallets in 25 minutes. The attacker targets the highest-value wallets first, including one wallet holding $1.8 million, and collects $30 million during the first 10 minutes. Lookonchain;
Block;
Chainalysis;
24/7 Wall St
July 30, 2026 Same dayWave 2: The attack expands to 1,082 BTC, worth approximately $70 million, across 1,196 addresses within a 41-minute period. Galaxy Research;
The Hacker News
July 30–31, 2026 Coinkite publishes its first security advisory, urges affected users to migrate their seeds, and releases patched firmware. Coinkite blog;
Bitcoin Magazine
July 31, 2026 Block, Jack Dorsey’s company, publishes an independent technical analysis of the random-number generator vulnerability. Block analysis
Aug 1–2, 2026Wave 3: Cumulative losses reach 1,367 BTC, worth approximately $89 million, across 4,585 addresses. Coinkite updates its advisory to include Mk4, Mk5, and Q devices. PYMNTS;
CyberInsider;
Galaxy Research
Aug 2–3, 2026 Galaxy Research reports approximately 600 suspected attacker addresses to federal investigators, compliance firms, and cybersecurity teams. The Hacker News;
Galaxy Research

The Bug: One Line of Code, Five Years Undetected

Imagine buying a high-security lock that promises to create each combination with a true physical randomizer. Instead, the manufacturer installs a predictable formula that produces combinations from a limited set of inputs. Once someone discovers that formula, they can test every possible combination until they find yours. That is essentially how the Coldcard hack became possible.

On March 1, 2021, a single code commit changed the function responsible for generating wallet seeds. Originally, ckcc.rng_bytes collected genuine randomness from the hardware random-number generator built into the device’s STM32 chip. However, developers replaced it with ngu.random.bytes, a software-based pseudo-random number generator that relied on deterministic inputs.

Specifically, the software PRNG used the device’s serial number, internal timer values, and the history of previous RNG calls. The firmware then processed those inputs with SHA256d cryptographic hashing. Although hashing can scramble existing data, it cannot create new randomness. Therefore, if the system starts with only 2^40 possible inputs, it can still produce only 2^40 possible outputs.

As a result, affected Mk3 devices generated seeds with approximately 40 bits of entropy. Meanwhile, Mk4, Mk5, and Q devices received additional input from a secure element, which raised their effective entropy to roughly 72 bits. Nevertheless, both figures remained below the 128-bit security level expected from Bitcoin seed generation.

Foundation Devices CEO Zach Herbert said the bug entered during a major March 2021 firmware rewrite that replaced remaining GPL code with new cryptographic libraries. In other words, the change formed part of a licensing overhaul rather than a deliberate security decision.

Even so, the faulty code remained active for five years. Coinkite conducted an AI-assisted firmware audit only weeks before the attack, but the review failed to identify the problem. Furthermore, multiple firmware updates, including security-focused releases, also missed it.

Ultimately, the wallet should have used a physical source of randomness to generate unpredictable keys. Instead, it used a limited and predictable formula. Once the attacker understood that formula, they could begin reconstructing users’ seeds and carrying out the Coldcard hack.

How the Attacker Did It: Brute-Forcing 40-Bit Seeds

The attacker behind the Coldcard hack did not need to steal a device or connect to it remotely. Instead, the attacker could estimate key variables such as the device UID, timer state, and sequence of previous RNG calls. With those constraints, the attacker could reproduce possible seed output streams entirely offline.

Next, the attacker converted each candidate seed into Bitcoin addresses and compared them with public blockchain data. This process works like testing combinations on a lock. With approximately 40 bits of entropy, the affected seeds came from a pool of roughly one trillion possibilities. Although that number appears large, modern computing hardware can search such a space within a practical timeframe, especially when the attacker narrows the target set.

The attacker likely focused on addresses associated with Coldcard seeds created during the vulnerable period from 2021 to 2026. From there, the attacker generated candidate seeds, derived their corresponding addresses, and searched for matches on the blockchain. Once a candidate seed produced an address holding Bitcoin, the attacker gained control of the matching private key and swept the funds. Therefore, this brute-force process formed the core of the Coldcard hack.

Meanwhile, Galaxy Research found that Waves 1 and 2 may share the same operator. However, Wave 3 showed different on-chain behavior. As a result, another attacker may have independently discovered and exploited the vulnerability.

Mk4, Mk5, and Q devices had stronger entropy of approximately 72 bits. Nevertheless, they still fell below the expected 128-bit standard. Block described the design as a “dangerous fail-open structure” because certain boot conditions could reduce the search to only 2^32 possible values. Attackers have not exploited that weakness at scale so far. Even so, the remaining structure shows that the affected devices failed to provide the level of randomness users expected from a hardware wallet.

Who Is Affected? The Complete Scope

The Coldcard hack affects each model differently depending on which firmware version generated the wallet seed. Mk2 and Mk3 devices face the highest risk because the affected firmware produced seeds with only about 40 bits of entropy. Meanwhile, Mk4, Mk5, and Q devices received additional entropy from a secure element, which raised their effective security to roughly 72 bits. However, that level still remained below the 128-bit standard expected for Bitcoin seed generation.

Affected Coldcard models, vulnerable firmware, entropy, and risk

Model
Vulnerable Firmware During Seed Generation
Effective Entropy
Fixed Firmware
Risk
Mk2 / Mk3
v4.0.0 / v4.0.1 through v4.1.9
~40 bits
v4.2.0+
Highest risk; attackers have actively exploited affected seeds
Mk4 / Mk5
Before v5.6.0 standard / before v6.6.0X Edge
~72 bits
v5.6.0+ / v6.6.0X+
No confirmed exploitation at scale, but entropy remains below standard
Q
Before v1.5.0Q standard / before v6.6.0QX Edge
~72 bits
v1.5.0Q+ / v6.6.0QX+
Carries the same residual risk as Mk4 and Mk5

Crucially, the firmware version installed when the device created the seed determines whether a user faces exposure from the Coldcard hack. The current firmware version does not change the security of an existing seed. For example, a user who generated a seed on vulnerable firmware and later updated the device still holds a weak seed. The weakness exists inside the number the device already generated. Therefore, a firmware update only protects future seed generation. It cannot repair old seeds or make their associated addresses safe.

However, users who entered at least 50 independent and private dice rolls during seed setup added an external source of genuine entropy. That additional randomness overrides the weakness in the device’s software RNG. As a result, those users face minimal risk from this specific vulnerability. A strong BIP-39 passphrase also makes brute-force attacks more difficult, but it does not strengthen or repair the underlying seed. Consequently, Coinkite still recommends migrating funds generated from affected firmware.

Coldcard Seed Risk Assessment and Recommended Actions
Seed Setup
Risk Assessment
Recommended Action
Seed created before the vulnerable March 2021 firmware change
Generally not affected by this bug
No migration required for this specific vulnerability
Seed created on vulnerable firmware with at least 50 independent private dice rolls
Minimal risk from this bug
Review setup records and follow official guidance
Seed created on vulnerable firmware without sufficient dice rolls
Treat the seed as exposed
Update firmware, create a new seed, and migrate funds
Seed protected by a strong BIP-39 passphrase
Lower attack probability, but the base seed remains weak
Migrate to a newly generated seed
Multisig setup containing an affected Coldcard-derived key
Risk depends on whether weak keys can meet the signing threshold
Rotate every affected key and review the multisig policy

Finally, the Coldcard hack does not affect every hardware wallet. Trezor, Ledger, and Block, which produces Bitkey, have confirmed that their products use different entropy-generation systems. Therefore, this specific firmware failure does not affect seeds created by those devices.

Coinkite’s Response: What They’ve Done and What They Haven’t

Following the Coldcard hack, Coinkite published its first security advisory on July 30 and July 31, approximately 30 hours after the initial sweep began. The company then released patched firmware for every affected model, including v4.2.0 for the Mk3, v5.6.0 for the Mk4 and Mk5, and v1.5.0Q for the Q. In addition, Coinkite published a technical analysis of the vulnerability and provided a migration guide to help users move funds away from weak seeds.

Furthermore, Coinkite updated its advisory on August 1 to acknowledge that Mk4, Mk5, and Q devices also faced reduced entropy. Although attackers primarily targeted Mk2 and Mk3 seeds during the Coldcard hack, the later models still fell below the expected 128-bit security standard. By disclosing the wider scope and releasing fixes across all affected product lines, Coinkite gave users a clearer path toward securing their Bitcoin.

However, the response has also drawn legitimate criticism. The bug remained in production for five years despite internal reviews, security-focused firmware releases, and an AI-assisted audit conducted shortly before the attack. More importantly, the sweep continued for nearly 30 hours before Coinkite issued its first public warning. As a result, affected users had no official information that could have helped them migrate their Bitcoin before the attacker reached their wallets.

Meanwhile, the circumstances surrounding the original code change have raised further questions. Foundation Devices CEO Zach Herbert argues that the bug entered during a licensing overhaul rather than a security-focused redesign. Therefore, the incident has prompted scrutiny over how Coinkite managed security risks during the 2021 rewrite. Similarly, Wizardsardine security researcher Kevin Loaec says users should consider multisig setups containing affected Coldcard keys exposed, an issue Coinkite’s advisory does not fully address.

Ultimately, Coinkite released working patches, technical details, and migration instructions after the Coldcard hack became public. Nevertheless, those actions do not erase the five-year detection failure or the delayed warning that prevented some users from protecting their funds in time.

How to Migrate Your Funds (Step by Step)

Updating your Coldcard firmware alone will not secure an existing wallet. The vulnerable firmware already generated a weak seed, and that weakness remains embedded in the seed itself. Therefore, affected users must create a new seed and transfer their Bitcoin to addresses derived from it. Coinkite’s advisory and Shinobi’s Bitcoin Magazine guide recommend the following migration process.

  1. Update your Coldcard firmware. Install the latest patched firmware available for your specific Coldcard model and release track. Verify that you downloaded the firmware from Coinkite’s official website before installing it.
  2. Generate a completely new seed. Create the seed on the updated device rather than importing or restoring the old one. For additional entropy, consider using at least 50 independent and private dice rolls during seed generation.
  3. Verify the new seed backup. Write down the new seed words in the correct order and complete the on-device verification process. Next, generate a receive address and confirm that the address shown in your wallet software matches the address displayed on the Coldcard screen.
  4. Transfer all Bitcoin to the new wallet. Send every BTC balance controlled by the old seed to addresses derived from the newly generated seed. Carefully verify the destination address and transaction details on the Coldcard before signing.
  5. Confirm the migration. Use a reliable Bitcoin block explorer to verify that the transactions have confirmed. Then, check that the old addresses hold no remaining Bitcoin and that the new wallet shows the complete transferred balance.
  6. Destroy the old seed backup securely. Only destroy the old backup after every transfer has confirmed and you have verified access to the new wallet. Remove all physical and digital copies of the compromised seed so nobody can use it again.

Do not update the firmware and assume the existing wallet has become safe. The update fixes future seed generation, but it cannot strengthen a seed that the device previously created. In addition, each migration requires an on-chain Bitcoin transaction, so users should account for network fees and avoid choosing an unnecessarily low fee during an urgent transfer.

Multisig users face an additional complication. Every key derived from an affected Coldcard seed must be rotated. Users should review the wallet’s signing threshold, replace each vulnerable key, and verify the new multisig configuration before moving significant funds.

What This Means for Self-Custody: The Bigger Picture

Self-custody depends on two separate security requirements. First, users must control their private keys. Second, wallets must generate those keys with genuine, high-quality randomness. Hardware wallet companies have traditionally emphasized the first requirement because it supports the familiar principle of “not your keys, not your coins.” However, they have discussed the second requirement far less often. As the Coldcard exploit shows, users can fully control their keys and still lose funds if the device generated those keys from predictable inputs.

Moreover, this incident marks the third major pseudo-random number generator failure in crypto in recent years, following Milk Sad in 2023 and Ill Bloom in 2026. In each case, the failure occurred during key generation, a process that ordinary users could not independently verify. A wallet interface can display a valid seed phrase and produce working addresses while still relying on dangerously weak entropy underneath. Consequently, users may not discover the problem until an attacker reconstructs the seed and moves the funds.

At the same time, the incident complicates the debate around open-source and closed-source hardware wallets. Coldcard makes its firmware source code publicly available, although it does not release the software under a fully open-source permissive licence. Developers could inspect the vulnerable code, yet the bug remained undetected for five years. Therefore, public code does not guarantee secure code. Nevertheless, source availability remains necessary for meaningful community auditing because researchers cannot inspect software they cannot access.

Meanwhile, CoinDesk has reported that the exploit could push some investors toward Bitcoin ETFs. ETFs remove the operational risks of generating, storing, and protecting private keys. However, investors replace those risks with dependence on a regulated custodian and financial institution. In other words, the trade-off does not eliminate custody risk. Instead, it transfers responsibility from the individual holder to an institutional provider.

Finally, Blockaid found that compromised keys and operational security failures caused most crypto losses during the first half of 2026, rather than smart contract exploits. In this context, the Coldcard incident fits the broader pattern because the attacker targeted the key-generation process instead of exploiting Bitcoin itself. Cold storage is still the right choice for most long-term Bitcoin holders. But “cold” does not mean “infallible.” Trust the principle. Verify the implementation.

This article is for informational and educational purposes only and does not constitute financial, investment, legal, or security advice. Always conduct your own research before making crypto-related decisions.

Coldcard Exploit Questions Answered

Is my Coldcard compromised?
Your Coldcard seed may be compromised if you generated it on a Mk2 or Mk3 using firmware v4.0.0 through v4.1.9 without adding sufficient dice-roll entropy. Mk4, Mk5, and Q seeds generated before the latest patches have approximately 72 bits of entropy. Attackers have not confirmed widespread exploitation of those models, but their seeds still fall below the expected 128-bit security standard. Update your firmware, generate a new seed, and migrate all funds to addresses derived from the new seed.
Does updating the firmware fix the problem?
No. Updating the firmware fixes future seed generation, but it does not repair a seed that the device already created with weak entropy. You must update the device, generate a completely new seed on the patched firmware, and transfer all Bitcoin from the old addresses to addresses derived from the new seed.
Are Ledger and Trezor affected?
No. Ledger, Trezor, and Block, which produces Bitkey, have confirmed that their products use different entropy-generation methods. Therefore, this specific Coldcard vulnerability does not affect seeds generated by those devices.
How much Bitcoin was stolen?
As of August 2, 2026, attackers had stolen approximately 1,367 BTC, worth around $89 million, across three attack waves. The theft affected 4,585 addresses. Investigators continue to examine the incident, so the total number of affected wallets and the final loss figure may increase.
Who is the attacker?
Investigators have not identified the attacker. Galaxy Research believes Waves 1 and 2 may share the same operator. However, Wave 3 displayed different on-chain behavior, which means a separate attacker may have independently discovered the vulnerability. Researchers have reported approximately 600 suspected attacker addresses to investigators.
Does using dice rolls protect me?
Yes, provided that you used at least 50 independent and private dice rolls during seed generation. The dice rolls added genuine external entropy that the device’s broken random-number generator could not reduce. Coinkite has stated that users who correctly completed the dice-roll process face minimal risk from this specific vulnerability.
Disclaimer: The information on this page may have been obtained from third parties and does not necessarily reflect the views or opinions of KuCoin. This content is provided for general informational purposes only, without any representation or warranty of any kind, nor shall it be construed as financial or investment advice. KuCoin shall not be liable for any errors or omissions, or for any outcomes resulting from the use of this information. Investments in digital assets can be risky. Please carefully evaluate the risks of a product and your risk tolerance based on your own financial circumstances. For more information, please refer to our Terms of Use and Risk Disclosure.