Bitcoin Forum
August 13, 2026, 08:57:57 PM *
News: Latest Bitcoin Core release: 31.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Update to 4.8.1 NOW!  (Read 41 times)
NotATether (OP)
Legendary
*
Offline

Activity: 2422
Merit: 10119


┻┻ ︵㇏(°□°㇏)


View Profile WWW
Today at 04:19:56 AM
 #1

If you use Lightning in Electrum wallet then you need to update Electrum to 4.8.1, because it has fixed several critical vulnerabilities that can cause the loss of funds.

Even if you do not use Lightning Network, you should still update as important bugfixes have been made to other parts of Electrum.

Always remember to verify Electrum with PGP after installing it.

[GUIDE] How to Safely Download and Verify Electrum [Guide]

That's a bit odd and I don't like it. So some security fixes are important, but likely not urgent, as if urgent I'd expect a more stricter warning to update as soon as possible. And devs don't want to disclose it yet, which is understandable when disclosure brings more harm than rescue. Still odd to me...

This is why the code is open source, so we don't have to trust the maintainers.

This is a release related to fixing security vulnerabilities in Lightning. If you use Lightning, you should definitely update, otherwise it's not necessary but still recommended.

This commit (https://github.com/spesmilo/electrum/commit/ad208f93f85b68688ac440241c90dd59f9386976) it lowers the maximum allowed cltv expiry threshold used in submarine swaps to around 435 blocks (around 3 days). And the MINIMUM cltv expiry threshold is still 432 blocks. So essentially now it's 3 blocks difference.

The previous maximum allowed value was 4032 blocks, or 28 days (4 weeks).
The reason for this commit is to prevent malicious peers issuing BOLT11 invoices with very long swap expiry times in order to lock funds.

41daa2a additionally warns whether expiremental Lightning routing is enabled on mainnet.

There are others, I will just copy the output ChatGPT gave me before I post a detailed write-up on X

Quote
Submarine swap mining-fee prepayment sanity check — cbdaa03. This is probably the biggest one besides CLTV. The commit explicitly says a malicious provider could specify a negative percentage fee plus a huge mining fee, causing Electrum to send a huge trusted prepayment. The new check caps/sanity-checks that amount. This is directly a malicious swap-provider → loss-of-funds scenario.
Forward-swap refund reorg safety — 908f1ed. Previously Electrum failed the incoming HTLCs after only 1 confirmation of its refund transaction. If that refund got reorged out, the counterparty could notice and potentially claim the on-chain swap after Electrum had already failed the Lightning HTLCs. 4.8.1 waits for 6 confirmations before failing them.
Don't fund a swap when the expected HTLCs never arrived — d91d615. The old flow could time out because the HTLCs were absent, but if the user didn't manually cancel, Electrum could later broadcast the funding transaction despite never having received the corresponding HTLCs. The new code fails the swap when the invoice expires.
Cancel-vs-broadcast race — 87f04e6. There was a race where one thread could cancel/delete a swap while another simultaneously broadcasts its funding transaction. The commit describes the bad outcome explicitly: Electrum could fund the swap, delete its local swap state, and become unable to refund itself.
Forward-swap locktime lower-bound validation — b6241d5. Adds validation against an unreasonably low client forward-swap locktime.
Forward-swap on-chain amount lower-bound check — 7b96366. More validation of values supplied/negotiated during swap setup.
Reverse-swap CLTV limit — 2908d33 / merge ad208f9, the one we were discussing: swap invoices go from the generic 4032-block maximum down to 435 blocks.
Electrum-server resource-exhaustion hardening — PR #10821. The release notes explicitly describe this as “interface: hardening against resource exhaustion.” That is security/DoS hardening against a hostile Electrum server.
TrustedCoin malicious-server CPU DoS — #10822. This one's release-note description is unusually explicit: “billing_index: mitigate against CPU DOS from malicious server.” So a malicious TrustedCoin backend response could make the client consume excessive CPU.
Nostr swap transport duplicate-reply crash — 1cf7dae / #10833. A server sending duplicate replies could cause Future.set_result() on an already-completed future and crash the transport. That's remotely triggerable DoS in the swap communication path.
Lightning channel-ID collision check — #10819. If Electrum is configured to accept incoming channels, it now explicitly checks for channel-ID collisions.
Lightning HTLC dust off-by-one — 3bcb39e / #10820. HTLCs exactly equal to the dust threshold were incorrectly trimmed. That's consensus/commitment-transaction correctness territory, so although the release notes call it a normal bugfix, it is certainly safety-relevant.
Android private-key screenshot protection — #10799. WIF/private keys are now protected from screenshots in additional UI locations. That's straightforward secret-leakage hardening.


 
 b1exch.to 
  ETH      DAI   
  BTC      LTC   
  USDT     XMR    
.███████████▄▀▄▀
█████████▄█▄▀
███████████
███████▄█▀
█▀█
▄▄▀░░██▄▄
▄▀██▄▀█████▄
██▄▀░▄██████
███████░█████
█░████░█████████
█░█░█░████░█████
█░█░█░██░█████
▀▀▀▄█▄████▀▀▀
TryNinja
Legendary
*
Offline

Activity: 3654
Merit: 10915


@ List of no-KYC websites: https://bitlist.co


View Profile WWW
Today at 04:22:22 AM
 #2

* Security fixes and disclosures:
   - This release contains important security fixes. Details will be disclosed later.

No disclosure means someone will use AI to compare the diffs and potentially, somehow, attack people on older versions? Tongue

 
 b1exch.to 
  ETH      DAI   
  BTC      LTC   
  USDT     XMR    
.███████████▄▀▄▀
█████████▄█▄▀
███████████
███████▄█▀
█▀█
▄▄▀░░██▄▄
▄▀██▄▀█████▄
██▄▀░▄██████
███████░█████
█░████░█████████
█░█░█░████░█████
█░█░█░██░█████
▀▀▀▄█▄████▀▀▀
NotATether (OP)
Legendary
*
Offline

Activity: 2422
Merit: 10119


┻┻ ︵㇏(°□°㇏)


View Profile WWW
Today at 04:40:50 AM
 #3

* Security fixes and disclosures:
   - This release contains important security fixes. Details will be disclosed later.

No disclosure means someone will use AI to compare the diffs and potentially, somehow, attack people on older versions? Tongue

You don't need to wait for their disclosure, you can already see the fixes on their commit tree. Many of them have descriptions too so you don't need to know how to code to understand them.

Most commits are for Lightning Network, so the main risk is if you use LN on Electrum (personally, I don't).

 
 b1exch.to 
  ETH      DAI   
  BTC      LTC   
  USDT     XMR    
.███████████▄▀▄▀
█████████▄█▄▀
███████████
███████▄█▀
█▀█
▄▄▀░░██▄▄
▄▀██▄▀█████▄
██▄▀░▄██████
███████░█████
█░████░█████████
█░█░█░████░█████
█░█░█░██░█████
▀▀▀▄█▄████▀▀▀
nc50lc
Legendary
*
Offline

Activity: 3234
Merit: 8977


Self-proclaimed Genius


View Profile
Today at 05:03:56 AM
 #4

Why would they point out that there're undisclosed security fixes while listing those in the same release notes as well?
It's making people think that it's unrelated to the already-given bug fixes in the v4.8.1 release notes.
I noticed that it's also just added-in recently, not together with the rest of the notes.

But checking the patch difference between v4.8.0 and v4.8.1 (github.com/spesmilo/electrum/compare/4.8.0...4.8.1)
I think it's mostly those commits listed in your quote.

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!