SegWit double-signing flaw could make Trezor users pay a huge fee
Who is affected
A Trezor user signing on a compromised computer could be led to sign twice and lose most of the transaction's inputs to fees. Trezor lists the issue as fixed in Trezor One 1.9.1 and Model T 2.3.1.
What happened
On 3 June 2020 Trezor released Trezor One firmware 1.9.1 and Model T firmware 2.3.1 to fix a flaw in how SegWit transactions are signed. The CVE record (CVE-2020-14199) states that BIP-143 mishandles the signing of a SegWit transaction, allowing attackers to trick a user into making two signatures in certain cases, potentially leading to a huge transaction fee, and notes that the issue affects all hardware wallets.
Trezor’s post describes the scenario: malware on the computer shows the user a transaction, reports an error after it is signed and asks for a second, apparently identical confirmation with the input amounts misstated; it then combines one signature from each attempt into a transaction that spends both inputs in full, so the difference goes to the fee (just over 15 BTC in Trezor’s example). The fix treats SegWit inputs like non-SegWit ones and requires the previous transactions to verify the real input amounts. Trezor notes that this broke signing in some third-party tools, including Electrum and PSBT-based software such as HWI, BTCPay Server and Wasabi, until they were updated.
Trezor’s list of past security issues credits Saleem Rashid with the report, dated 3 March 2020, and rates it high with destruction of funds as the impact. Trezor states that the flaw is inherent in the design of BIP-143, affects all hardware wallet vendors, and that the fix took longer than usual because it followed coordinated disclosure and some vendors asked for 90 days.
Firmware is the software that runs on a hardware wallet itself: it generates keys, shows transaction details on the screen and signs.
Read full definitionSegWit (Segregated Witness) is a Bitcoin upgrade that moves transaction signatures to a separate data structure, increasing block capacity and enabling efficient scaling solutions like the Lightning Network.
Read full definitionA transaction fee is a cost paid to process transactions on a blockchain network. It compensates miners or validators for confirming and adding transactions to the blockchain.
Read full definitionA hardware wallet is a dedicated device that keeps private keys offline and signs transactions internally, so the keys never reach an internet-connected computer or phone.
Malware is malicious software that steals or redirects crypto, for example by logging keystrokes, swapping copied addresses or reading wallet files.
Read full definitionBitcoin (BTC) is the first decentralized cryptocurrency, launched in 2009. It uses blockchain technology for secure, peer-to-peer digital transactions without intermediaries.
Read full definitionElectrum is a lightweight Bitcoin wallet that allows users to store, send, and receive Bitcoin securely. It is known for its speed and low resource usage.
Read full definitionPSBT (Partially Signed Bitcoin Transaction) is a Bitcoin transaction format that allows multiple parties to sign a transaction incrementally before finalizing it.
Read full definitionSources
Independent reporting and research this entry was checked against.
Learn more
Guides on protecting yourself against this type of incident (Firmware vulnerability) and the glossary terms that describe it.
Can Hardware Wallets Be Hacked?
Hardware wallets are extremely secure, but not invincible. Understand the real risks and attack vectors.
Read GuideIs a Hardware Wallet Really Safe?
Hardware wallets are the safest option for most people — but you can still make mistakes. Here's what to know.
Read GuideFirmware
Firmware is the software that runs on a hardware wallet itself: it generates keys, shows transaction details on the screen and signs.
Bootloader
A bootloader is a small program that initializes hardware and loads the main operating system or firmware on a device, often used in blockchain hardware wallets for secure startup.
Firmware Update
Firmware Update installs new low-level software on a hardware wallet to fix bugs, enhance security, or add features in cryptocurrency devices.
Cite this entry
WalletInsights. “SegWit double-signing flaw could make Trezor users pay a huge fee”. Hardware wallet security incident tracker. Last verified November 3, 2026. https://walletinsights.io/en/security-incidents/trezor-segwit-double-signing-fee-2020/
Corrections and right of reply
Vendors, researchers and readers can send corrections or statements to security@walletinsights.io. We check them against the sources, update the entry and record the change in its log.
All Trezor incidents
- Suspected implant in a Trezor Safe 5 sold by CryptoBilis
- Breach at shipping provider ShipMonk exposes data of up to 80,689 Trezor customers
- Laser fault injection bypasses firmware checks on Trezor Safe 7's TROPIC01 chip
- Ledger Donjon bypasses Trezor Safe 3 supply-chain protections
- EUCLEAK side channel in Infineon ECDSA library reaches Trezor Safe 3 and Safe 5 chip