CVEBrief

Home / cometbft / cometbft / CVE-2023-34450

CVE-2023-34450: is it exploited, and which versions of cometbft are affected and fixed?

CVE-2023-34450 is a memory leak vulnerability in cometbft. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:39 UTC). Affected: github.com/cometbft/cometbft from 0.34.28 before 0.34.29 and github.com/cometbft/cometbft from 0.37.1 before 0.37.2 (GitHub advisory GHSA-mvj3-qrqh-cjvr). Fixed in 0.34.29 and 0.37.2 (GitHub advisory GHSA-mvj3-qrqh-cjvr). Severity: Low (3.7, CVSS 3.1, from GitHub_M).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:39 UTC, CVE record November 19, 2026, 07:13 UTC and NVD November 19, 2026, 07:38 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 16:39 UTC
Affected
github.com/cometbft/cometbft from 0.34.28 before 0.34.29 and github.com/cometbft/cometbft from 0.37.1 before 0.37.2
GitHub advisory GHSA-mvj3-qrqh-cjvr
Fixed in
0.34.29 and 0.37.2
GitHub advisory GHSA-mvj3-qrqh-cjvr
Severity
Low 3.7
CVSS 3.1 from GitHub_M
Exploit odds (EPSS)
0.85% in 30 days
higher than 59% of CVEs; FIRST, December 3, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

What is CVE-2023-34450?

CometBFT PeerState JSON serialization deadlock

CometBFT is a Byzantine Fault Tolerant (BFT) middleware that takes a state transition machine and replicates it on many machines. An internal modification made in versions 0.34.28 and 0.37.1 to the way struct `PeerState` is serialized to JSON introduced a deadlock when new function MarshallJSON is called. This function can be called from two places. The first is via logs, setting the `consensus` logging module to "debug" level (should not happen in production), and setting the log output format to JSON. The second is via RPC `dump_consensus_state`. Case 1, which should not be hit in production, will eventually hit the deadlock in most goroutines, effectively halting the node. In case 2, only the data structures related to the first peer will be deadlocked, together with the thread(s) dealing with the RPC request(s). This means that only one of the channels of communication to the node's peers will be blocked. Eventually the peer will timeout and excluded from the list (typically after 2 minutes). The goroutines involved in the deadlock will not be garbage collected, but they will not interfere with the system after the peer is excluded. The theoretical worst case for case 2, is a network with only two validator nodes. In this case, each of the nodes only has one `PeerState` struct. If `dump_consensus_state` is called in either node (or both), the chain will halt until the peer connections time out, after which the nodes will reconnect (with different `PeerState` structs) and the chain will progress again. Then, the same process can be repeated. As the number of nodes in a network increases, and thus, the number of peer struct each node maintains, the possibility of reproducing the perturbation visible with two nodes decreases. Only the first `PeerState` struct will deadlock, and not the others (RPC `dump_consensus_state` accesses them in a for loop, so the deadlock at the first iteration causes the rest of the iterations of that "for" loop to never be reached). This regression was fixed in versions 0.34.29 and 0.37.2. Some workarounds are available. For case 1 (hitting the deadlock via logs), either don't set the log output to "json", leave at "plain", or don't set the consensus logging module to "debug", leave it at "info" or higher. For case 2 (hitting the deadlock via RPC `dump_consensus_state`), do not expose `dump_consensus_state` RPC endpoint to the public internet (e.g., via rules in one's nginx setup).

From the CVE record by GitHub_M, last updated October 29, 2024, 13:49 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
cometbftcometbft= 0.34.28
= 0.37.1

As the CVE record by GitHub_M states it, last updated October 29, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which packages are affected, and in which version is each fixed?

EcosystemPackageAffectedFixed inAdvisory
Gogithub.com/cometbft/cometbft>= 0.34.28, < 0.34.290.34.29GHSA-mvj3-qrqh-cjvr
Gogithub.com/cometbft/cometbft>= 0.37.1, < 0.37.20.37.2GHSA-mvj3-qrqh-cjvr

GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated July 18, 2023. Summary: CometBFT PeerState JSON serialization deadlock.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
cometbftcometbftfrom 0.34.28 before 0.34.29application
cometbftcometbftfrom 0.37.1 before 0.37.2application

NVD analysis (status Modified), last modified June 17, 2026, 06:03 UTC.

How severe is CVE-2023-34450?

ScoreVersionVectorSource
Low 3.7CVSS 3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:LGitHub_M
Medium 5.3CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2023-34450 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: none; automatable: no; technical impact: partial (CISA ADP, October 28, 2024)
EPSS
0.85% probability of exploitation activity in the next 30 days, percentile 59.5 (FIRST EPSS, scores of December 3, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
June 6, 2023
Published
July 3, 2023, 16:36 UTC
CVE record updated
October 29, 2024, 13:49 UTC by GitHub_M
NVD
Modified, last modified June 17, 2026, 06:03 UTC
Last checked
CVE list November 19, 2026, 07:13 UTC; NVD November 19, 2026, 07:38 UTC; KEV December 3, 2026, 16:39 UTC; EPSS December 3, 2026
Official record
cve.org · NVD

What other CVEs affect cometbft?

Every CVE in cometbft

Questions about CVE-2023-34450

Is CVE-2023-34450 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:39 UTC. FIRST's EPSS gives it a 0.85% chance of exploitation activity in the next 30 days (scores of December 3, 2026).

Which versions of cometbft are affected by CVE-2023-34450?

github.com/cometbft/cometbft from 0.34.28 before 0.34.29 and github.com/cometbft/cometbft from 0.37.1 before 0.37.2, per the GitHub advisory GHSA-mvj3-qrqh-cjvr. The tables above give every range the sources list.

Which version fixes CVE-2023-34450?

0.34.29 and 0.37.2, per the GitHub advisory GHSA-mvj3-qrqh-cjvr. Check the vendor's advisory before you rely on it.

How severe is CVE-2023-34450?

Low (3.7, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.

Where is the official record of CVE-2023-34450?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.