CVEBrief

Home / cometbft / cometbft / CVE-2023-34451

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

CVE-2023-34451 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, 12:38 UTC). Affected: github.com/cometbft/cometbft before 0.34.29 and github.com/cometbft/cometbft from 0.37.0 before 0.37.2 (GitHub advisory GHSA-w24w-wp77-qffm). Fixed in 0.34.29 and 0.37.2 (GitHub advisory GHSA-w24w-wp77-qffm). Severity: High (8.2, CVSS 3.1, from GitHub_M).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:38 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, 12:38 UTC
Affected
github.com/cometbft/cometbft before 0.34.29 and github.com/cometbft/cometbft from 0.37.0 before 0.37.2
GitHub advisory GHSA-w24w-wp77-qffm
Fixed in
0.34.29 and 0.37.2
GitHub advisory GHSA-w24w-wp77-qffm
Severity
High 8.2
CVSS 3.1 from GitHub_M
Exploit odds (EPSS)
0.90% in 30 days
higher than 61% of CVEs; FIRST, December 2, 2026

What is CVE-2023-34451?

CometBFT may duplicate transactions in the mempool's data structures

CometBFT is a Byzantine Fault Tolerant (BFT) middleware that takes a state transition machine and replicates it on many machines. The mempool maintains two data structures to keep track of outstanding transactions: a list and a map. These two data structures are supposed to be in sync all the time in the sense that the map tracks the index (if any) of the transaction in the list. In `v0.37.0`, and `v0.37.1`, as well as in `v0.34.28`, and all previous releases of the CometBFT repo2, it is possible to have them out of sync. When this happens, the list may contain several copies of the same transaction. Because the map tracks a single index, it is then no longer possible to remove all the copies of the transaction from the list. This happens even if the duplicated transaction is later committed in a block. The only way to remove the transaction is by restarting the node. The above problem can be repeated on and on until a sizable number of transactions are stuck in the mempool, in order to try to bring down the target node. The problem is fixed in releases `v0.34.29` and `v0.37.2`. Some workarounds are available. Increasing the value of `cache_size` in `config.toml` makes it very difficult to effectively attack a full node. Not exposing the transaction submission RPC's would mitigate the probability of a successful attack, as the attacker would then have to create a modified (byzantine) full node to be able to perform the attack via p2p.

From the CVE record by GitHub_M, last updated November 22, 2024, 16:43 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
cometbftcometbft< 0.34.29
>= 0.37.0, < 0.37.2

As the CVE record by GitHub_M states it, last updated November 22, 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.290.34.29GHSA-w24w-wp77-qffm
Gogithub.com/cometbft/cometbft>= 0.37.0, < 0.37.20.37.2GHSA-w24w-wp77-qffm

GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated July 5, 2023. Summary: CometBFT may duplicate transactions in the mempool's data structures.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
cometbftcometbftfrom 0.34.28 before 0.34.29application
cometbftcometbftfrom 0.37.0 before 0.37.2application

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

How severe is CVE-2023-34451?

ScoreVersionVectorSource
High 8.2CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:HGitHub_M
High 8.2CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:HNVD

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-34451 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: poc; automatable: yes; technical impact: partial (CISA ADP, November 22, 2024)
EPSS
0.90% probability of exploitation activity in the next 30 days, percentile 60.8 (FIRST EPSS, scores of December 2, 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:35 UTC
CVE record updated
November 22, 2024, 16:43 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, 12:38 UTC; EPSS December 2, 2026
Official record
cve.org · NVD

What other CVEs affect cometbft?

Every CVE in cometbft

Questions about CVE-2023-34451

Is CVE-2023-34451 exploited in the wild?

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

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

github.com/cometbft/cometbft before 0.34.29 and github.com/cometbft/cometbft from 0.37.0 before 0.37.2, per the GitHub advisory GHSA-w24w-wp77-qffm. The tables above give every range the sources list.

Which version fixes CVE-2023-34451?

0.34.29 and 0.37.2, per the GitHub advisory GHSA-w24w-wp77-qffm. Check the vendor's advisory before you rely on it.

How severe is CVE-2023-34451?

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

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

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.