LowGO-2025-4025GHSA-hrhf-2vcr-ghch
CometBFT's invalid BitArray handling can lead to network halt in github.com/cometbft/cometbft
Published 18 Nov 2025 · Updated 18 Nov 2025
Is your project on an affected github.com/cometbft/cometbft?
Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected package
- Affected
- <0.37.16 · >=0.38.0-alpha.1 <0.38.19
- Fixed in
- 0.37.16, 0.38.19
Update to the fixed version for your release line, for example:
go get github.com/cometbft/cometbft@v0.38.19Details
CometBFT's invalid BitArray handling can lead to network halt in github.com/cometbft/cometbft
Is GO-2025-4025 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/cometbft/cometbft, and gives you the command that fixes it.
More advisories for github.com/cometbft/cometbft
- LowGO-2026-4361Inconsistencies between how commit signatures are verified and how block time is derived in github.com/cometbft/cometbft · 19 Feb 2026
- HighGHSA-c32p-wcqj-j677CometBFT has inconsistencies between how commit signatures are verified and how block time is derived · 23 Jan 2026
- LowCVE-2025-24371CometBFT allows a malicious peer to make node stuck in blocksync in github.com/cometbft/cometbft · 4 Feb 2025
- LowGO-2025-3443CometBFT allows a malicious peer to stall network by disseminating valid-looking block parts in github.com/cometbft/cometbft · 4 Feb 2025
- HighGHSA-r3r4-g7hq-pq4fCometBFT allows a malicious peer to stall the network by disseminating seemingly valid block parts · 3 Feb 2025
- MediumCVE-2025-24371CometBFT allows a malicious peer to make node stuck in blocksync · 3 Feb 2025
References
- Advisorygithub.com/cometbft/cometbft/security/advisories/GHSA-hrhf-2vcr-ghch
- Fixgithub.com/cometbft/cometbft/commit/be5677c3e58f998b7f67bb6186dd2c9b81a041a1
- Fixgithub.com/cometbft/cometbft/commit/dcb1f265b59477be40804f7ccdc4fb30612d6a4f
- Linkgithub.com/cometbft/cometbft/releases/tag/v0.37.16
- Linkgithub.com/cometbft/cometbft/releases/tag/v0.38.19
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.