Home / ClickHouse / ClickHouse / CVE-2024-6873
CVE-2024-6873: is it exploited, and which versions of ClickHouse are affected and fixed?
CVE-2024-6873 is a heap buffer overflow vulnerability in ClickHouse. 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, 11:08 UTC). Affected: ClickHouse from v23.8.0 before v23.8.15.35-lts, ClickHouse from v24.3.0 before v24.3.4.147-lts, ClickHouse from v24.4.0 before v24.4.2.141-stable and 2 more (CVE record by ClickHouse). Fixed in v23.8.15.35-lts, v24.3.4.147-lts, v24.4.2.141-stable, v24.5.1.1763 and 1 more (CVE record by ClickHouse). Severity: High (8.1, CVSS 3.1, from ClickHouse).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:08 UTC, CVE record November 19, 2026, 07:12 UTC and NVD November 19, 2026, 07:27 UTC.
What is CVE-2024-6873?
Specially crafted request could caused undefined behaviour which may lead to Remote Code Execution.
It is possible to crash or redirect the execution flow of the ClickHouse server process from an unauthenticated vector by sending a specially crafted request to the ClickHouse server native interface. This redirection is limited to what is available within a 256-byte range of memory at the time of execution, and no known remote code execution (RCE) code has been produced or exploited. Fixes have been merged to all currently supported version of ClickHouse. If you are maintaining your own forked version of ClickHouse or using an older version and cannot upgrade, the fix for this vulnerability can be found in this commit https://github.com/ClickHouse/ClickHouse/pull/64024 .
From the CVE record by ClickHouse, last updated August 2, 2024, 15:18 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| ClickHouse | ClickHouse clickhouse | from v23.8.0 before v23.8.15.35-lts from v24.3.0 before v24.3.4.147-lts from v24.4.0 before v24.4.2.141-stable from v24.5.0 before v24.5.1.1763 from v24.6.0 before v24.6.1.4423-stable | v23.8.15.35-lts, v24.3.4.147-lts, v24.4.2.141-stable, v24.5.1.1763, v24.6.1.4423-stable |
As the CVE record by ClickHouse states it, last updated August 2, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2024-6873?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:H | ClickHouse |
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-2024-6873 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, August 2, 2024)
- EPSS
- 0.72% probability of exploitation activity in the next 30 days, percentile 55.2 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-122 Heap-based Buffer Overflow
Is there a workaround? (from the CVE record)
ClickHouse recommends locking down native interface to trusted IP addresses only until the system is patched.
Where are the vendor advisories and references?
Who found and reported it?
- malacupa (Independent researcher) (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- July 18, 2024
- Published
- August 1, 2024, 15:57 UTC
- CVE record updated
- August 2, 2024, 15:18 UTC by ClickHouse
- NVD
- Deferred, last modified June 17, 2026, 08:18 UTC
- Last checked
- CVE list November 19, 2026, 07:12 UTC; NVD November 19, 2026, 07:27 UTC; KEV December 3, 2026, 11:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect ClickHouse?
- Oct 30, 2026CVE-2026-116366 ClickHouse: integer overflow
- Sep 3, 2024CVE-2024-41436 Clickhouse: buffer overflow
- Mar 18, 2024CVE-2024-22412 ClickHouse: incorrect authorization
- Dec 22, 2023CVE-2023-48704 ClickHouse: heap buffer overflow
- Dec 21, 2023CVE-2023-48298 ClickHouse: integer underflow
- Dec 20, 2023CVE-2023-47118 ClickHouse: heap buffer overflow
- Nov 23, 2023CVE-2022-44011 Clickhouse: out-of-bounds write (memory corruption)
- Nov 23, 2023CVE-2022-44010 Clickhouse: out-of-bounds write (memory corruption)
Questions about CVE-2024-6873
Is CVE-2024-6873 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 11:08 UTC. FIRST's EPSS gives it a 0.72% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of ClickHouse are affected by CVE-2024-6873?
ClickHouse from v23.8.0 before v23.8.15.35-lts, ClickHouse from v24.3.0 before v24.3.4.147-lts, ClickHouse from v24.4.0 before v24.4.2.141-stable, ClickHouse from v24.5.0 before v24.5.1.1763 and ClickHouse from v24.6.0 before v24.6.1.4423-stable, per the CVE record by ClickHouse. The tables above give every range the sources list.
Which version fixes CVE-2024-6873?
v23.8.15.35-lts, v24.3.4.147-lts, v24.4.2.141-stable, v24.5.1.1763 and v24.6.1.4423-stable, per the CVE record by ClickHouse. Check the vendor's advisory before you rely on it.
How severe is CVE-2024-6873?
High (8.1, CVSS 3.1, from ClickHouse). The severity table above shows each score with its source.
Where is the official record of CVE-2024-6873?
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.