What changed, and why it matters
This commit simply bumps a dependency version in LND's module files (go.mod and go.sum) from btcec v2.3.4 to v2.3.6. The commit message says the new version lets MuSig2 sessions register an aggregate nonce rather than individual nonces. There is no code change in LND itself, and no security relevance is stated by the project. Without inspecting the actual changes inside the btcec library, we cannot determine whether this update fixes a security bug or is just a routine feature/API improvement.
Review the upstream btcec v2.3.5 and v2.3.6 release notes or changelog to determine whether this bump addresses any security fixes. If it fixes a signing-related vulnerability, update promptly and assess whether LND's MuSig2 usage is affected. Otherwise treat as a normal dependency maintenance update.
Security signals we found
Dependency version bump for a cryptographic library (btcec) used in Bitcoin/Lightning signing operations
Commit message references MuSig2 nonce handling, which is security-sensitive in multi-signature protocols
No explicit security claim, CVE, advisory, or vulnerability description in the commit or supplied references
Evidence from the diff
The diff only updates github.com/btcsuite/btcd/btcec/v2 from v2.3.4 to v2.3.6 in go.mod and go.sum. The commit message describes the upstream change as allowing the aggregate nonce for a musig2 Session to be registered instead of requiring individual nonnes. No LND source code is modified, no CVE or security advisory is referenced, and no vulnerability details are provided. The security implications depend entirely on the contents of the btcec v2.3.6 release, which are not included in the supplied materials.
Changed components
go.modgo.sumgithub.com/btcsuite/btcd/btcec/v2 dependency (MuSig2 Session nonce handling)Inspect captured patch +3 / −3
diff --git a/go.mod b/go.mod
index 7728da6..35a47c7 100644
--- a/go.mod
+++ b/go.mod
@@ -5,7 +5,7 @@ require (
github.com/Yawning/aez v0.0.0-20211027044916-e49e68abd344
github.com/andybalholm/brotli v1.0.4
github.com/btcsuite/btcd v0.24.3-0.20250318170759-4f4ea81776d6
- github.com/btcsuite/btcd/btcec/v2 v2.3.4
+ github.com/btcsuite/btcd/btcec/v2 v2.3.6
github.com/btcsuite/btcd/btcutil v1.1.5
github.com/btcsuite/btcd/btcutil/psbt v1.1.8
github.com/btcsuite/btcd/chaincfg/chainhash v1.1.0
diff --git a/go.sum b/go.sum
index fed066f..a3f1a3d 100644
--- a/go.sum
+++ b/go.sum
@@ -46,8 +46,8 @@ github.com/btcsuite/btcd v0.24.3-0.20250318170759-4f4ea81776d6 h1:8n9k3I7e8DkpdQ
github.com/btcsuite/btcd v0.24.3-0.20250318170759-4f4ea81776d6/go.mod h1:OmM4kFtB0klaG/ZqT86rQiyw/1iyXlJgc3UHClPhhbs=
github.com/btcsuite/btcd/btcec/v2 v2.1.0/go.mod h1:2VzYrv4Gm4apmbVVsSq5bqf1Ec8v56E48Vt0Y/umPgA=
github.com/btcsuite/btcd/btcec/v2 v2.1.3/go.mod h1:ctjw4H1kknNJmRN4iP1R7bTQ+v3GJkZBd6mui8ZsAZE=
-github.com/btcsuite/btcd/btcec/v2 v2.3.4 h1:3EJjcN70HCu/mwqlUsGK8GcNVyLVxFDlWurTXGPFfiQ=
-github.com/btcsuite/btcd/btcec/v2 v2.3.4/go.mod h1:zYzJ8etWJQIv1Ogk7OzpWjowwOdXY1W/17j2MW85J04=
+github.com/btcsuite/btcd/btcec/v2 v2.3.6 h1:IzlsEr9olcSRKB/n7c4351F3xHKxS2lma+1UFGCYd4E=
+github.com/btcsuite/btcd/btcec/v2 v2.3.6/go.mod h1:m22FrOAiuxl/tht9wIqAoGHcbnCCaPWyauO8y2LGGtQ=
github.com/btcsuite/btcd/btcutil v1.0.0/go.mod h1:Uoxwv0pqYWhD//tfTiipkxNfdhG9UrLwaeswfjfdF0A=
github.com/btcsuite/btcd/btcutil v1.1.0/go.mod h1:5OapHB7A2hBBWLm48mmw4MOHNJCcUBTwmWH/0Jn8VHE=
github.com/btcsuite/btcd/btcutil v1.1.5 h1:+wER79R5670vs/ZusMTF1yTcRYE5GUsFbdjdisflzM8=
Why this scored 25/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.