Skip to main content

Search...

Popular searches

Ledger Monero app spend key extraction (CVE-2020-6861)

LedgerHigh

Who is affected

Monero holders using Ledger Monero app versions before 1.5.1 with a malicious or compromised Monero client could have their spend key extracted without any sign on the device. Ledger states the issue is fixed in Monero app 1.5.1.

What happened

Researchers Dušan Klinec and Miroslav Svitok showed that a malicious Monero client on the connected computer could extract the master Monero spend key from the Ledger Monero app 1.4.2. The device sends some intermediate values to the client encrypted with a key known only to the app; the researchers combined app commands into a decryption oracle and exploited a type confusion between scalars and curve points to recover the spend key.

According to the researchers, the attack needs a connected device with the PIN entered and the Monero app open, requires no confirmation by the user and leaves the display unchanged. Ledger’s bulletin LSB-008 (CVE-2020-6861) states that the flaw lies in the protocol between the device app and the Monero desktop client, so it affects both Nano S and Nano X users. LSB-008 also refers to an earlier, separate replay attack with the same outcome, published by Ledger as LSB-007 in October 2019.

Ledger states the fix in Monero app 1.5.1 removes the command used to build the oracle, adds strict state-machine checks, adds type tags to the HMACs that protect encrypted values, and requires the user to confirm the start of every transaction.

The researchers write that they reported the issue to Ledger on 3 January 2020, that Ledger acknowledged it on 11 January, and that Monero app 1.5.1 was released on 2 March 2020. They published their write-up on 25 April 2020 and were rewarded under Ledger’s bug bounty programme; Ledger’s bulletin is dated 27 April 2020.

BlockchainMonero

Monero (XMR) is a privacy-focused cryptocurrency that uses ring signatures, stealth addresses, and RingCT to obscure sender, receiver, and transaction amounts on the blockchain.

Read full definition
DefiOracle

An oracle provides external real-world data, such as price feeds, to smart contracts on a blockchain, bridging on-chain and off-chain worlds.

Read full definition
SecurityPIN Protection

PIN Protection is a security feature that requires a personal identification number (PIN) to access a cryptocurrency wallet or device, preventing unauthorized access.

Read full definition
SecurityReplay Attack

A replay attack occurs when an attacker captures a valid blockchain transaction and rebroadcasts it to execute multiple times, often exploiting chain forks for double-spending.

Read full definition

Sources

Independent reporting and research this entry was checked against.

  1. Deadcode — CVE-2020-6861: Ledger Monero app spend key extraction (25 Apr 2020)
  2. Ledger Donjon — Ledger Security Bulletin LSB-008: Monero private key retrieval (27 Apr 2020)
  3. Ledger Donjon — Ledger Security Bulletin LSB-007: Monero private key retrieval (4 Oct 2019)

Learn more

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

Cite this entry

WalletInsights. “Ledger Monero app spend key extraction (CVE-2020-6861)”. Hardware wallet security incident tracker. Last verified November 3, 2026. https://walletinsights.io/en/security-incidents/ledger-monero-app-spend-key-extraction-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.