HighGHSA-ppjg-v974-84cmCVE-2023-40591GO-2023-2046

Go-Ethereum vulnerable to denial of service via malicious p2p message

Published 6 Sept 2023 · Updated 10 Sept 2026

Is your project on an affected github.com/ethereum/go-ethereum?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected package

Affected
<1.12.1-stable
Fixed in
1.12.1-stable
Update to the fixed version for your release line, for example:go get github.com/ethereum/go-ethereum@v1.12.1-stable

Details

Impact

A vulnerable node, can be made to consume unbounded amounts of memory when handling specially crafted p2p messages sent from an attacker node.

Details

The p2p handler spawned a new goroutine to respond to ping requests. By flooding a node with ping requests, an unbounded number of goroutines can be created, leading to resource exhaustion and potentially crash due to OOM.

Patches

The fix is included in geth version 1.12.1-stable, i.e, 1.12.2-unstable and onwards.

Fixed by https://github.com/ethereum/go-ethereum/pull/27887

Workarounds

No known workarounds.

Credits

This bug was reported by Patrick McHardy and reported via [bounty@ethereum.org](mailto:bounty@ethereum.org).

References

Is GHSA-ppjg-v974-84cm 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
All 44 advisories for github.com/ethereum/go-ethereum

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.