Electrum, a bitcoin software wallet, released version 4.8.3 on Oct. 24, fixing a flaw that let malicious servers swap a user's payment while it was being pushed through faster, according to a security advisory posted on GitHub. One user lost funds before the bug was found and fixed.
Electrum does not run a full copy of the bitcoin blockchain and instead relies on outside servers to report transaction histories and broadcast payments. Before the fix, the wallet trusted those servers' reports on unconfirmed transactions without checking their signatures. That let a malicious server intercept a freshly signed fee-bump transaction, known as replace-by-fee or RBF, block it from reaching the network, and substitute a conflicting one sending the same coins to an attacker's address.
Developers received two reports in October and said one user approved what looked like a routine fee increase, then lost the funds instead. The advisory said some servers had already exploited the bug before it became public. One of the affected users was running a Trezor hardware wallet through Electrum's interface.
Version 4.8.3 now checks the signatures of unconfirmed transactions spending from a user's own address before trusting a server's data. Developers have not disclosed how much bitcoin was stolen, how many users were affected, or the identity of the malicious servers.
The flaw only affected users who used Electrum's fee-bump feature while connected to third-party servers. Developers urged users to update to version 4.8.3 or later.


