Skip to main content

Search...

Popular searches

SegWit double-signing flaw could make Trezor users pay a huge fee

TrezorHigh

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.

HardwareFirmware

Firmware is the software that runs on a hardware wallet itself: it generates keys, shows transaction details on the screen and signs.

Read full definition
TransactionSegWit

SegWit (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 definition
BlockchainTransaction Fee

A 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 definition
WalletHardware Wallet

A 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.

SecurityMalware

Malware is malicious software that steals or redirects crypto, for example by logging keystrokes, swapping copied addresses or reading wallet files.

Read full definition
BlockchainBitcoin

Bitcoin (BTC) is the first decentralized cryptocurrency, launched in 2009. It uses blockchain technology for secure, peer-to-peer digital transactions without intermediaries.

Read full definition
WalletElectrum

Electrum 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 definition
TransactionPSBT

PSBT (Partially Signed Bitcoin Transaction) is a Bitcoin transaction format that allows multiple parties to sign a transaction incrementally before finalizing it.

Read full definition

Sources

Independent reporting and research this entry was checked against.

  1. MITRE CVE — CVE-2020-14199 (16 Jun 2020)
  2. CriptoNoticias — Nueva actualización de Trezor corrige vulnerabilidad en gestión de transacciones SegWit (4 Jun 2020)
  3. Trezor (Wayback Machine archive) — Past security issues (archived 26 Mar 2025)

Learn more

Guides on protecting yourself against this type of incident (Firmware vulnerability) and the glossary terms that describe it.

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.