Go Ethereum vulnerable to DoS via malicious p2p message
Published 30 Jan 2025 · Updated 17 Mar 2025
Is your project on an affected github.com/ethereum/go-ethereum?
Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected package
- Affected
- >=1.14.0 <1.14.13
- Fixed in
- 1.14.13
go get github.com/ethereum/go-ethereum@v1.14.13Details
Impact
A vulnerable node can be forced to shutdown/crash using a specially crafted message.
During the peer-to-peer connection handshake, a shared secret key is computed. The implementation did not verify whether the EC public key provided by the remote party is a valid point on the secp256k1 curve. By simply sending an all-zero public key, a crash could be induced due to unexpected results from the handshake.
The issue was fixed by adding a curve point validity check in https://github.com/ethereum/go-ethereum/commit/159fb1a1db551c544978dc16a5568a4730b4abf3
Patches
A fix has been included in geth version 1.14.13 and onwards.
Workarounds
Unfortunately, no workaround is available.
Credits
This issue was originally reported to Polygon Security by David Matosse (@iam-ned).
Is GHSA-q26p-9cq4-7fc2 in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected github.com/ethereum/go-ethereum, and gives you the command that fixes it.
More advisories for github.com/ethereum/go-ethereum
- LowCVE-2026-26314Go Ethereum affected by crash via malicious p2p message in github.com/ethereum/go-ethereum · 24 Feb 2026
- LowCVE-2026-26313Go Ethereum affected by DoS via malicious p2p message in github.com/ethereum/go-ethereum · 24 Feb 2026
- LowCVE-2026-26315Go Ethereum Improperly Validates the ECIES Public Key in RLPx Handshake in github.com/ethereum/go-ethereum · 24 Feb 2026
- MediumCVE-2026-26315Go Ethereum Improperly Validates the ECIES Public Key in RLPx Handshake · 18 Feb 2026
- HighCVE-2026-26314Go Ethereum affected by DoS via malicious p2p message · 18 Feb 2026
- MediumCVE-2026-26313Go Ethereum affected by DoS via malicious p2p message · 18 Feb 2026
References
- Linkgithub.com/ethereum/go-ethereum/security/advisories/GHSA-q26p-9cq4-7fc2
- Advisorynvd.nist.gov/vuln/detail/CVE-2025-24883
- Linkgithub.com/ethereum/go-ethereum/commit/159fb1a1db551c544978dc16a5568a4730b4abf3
- Linkgithub.com/ethereum/go-ethereum/commit/fa9a2ff8687ec9efe57b4b9833d5590d20f8a83f
- Packagegithub.com/ethereum/go-ethereum
- Linkpkg.go.dev/vuln/GO-2025-3436
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.