Remote code executionin ClickHouse.
No public exploit found; not on exploited lists.
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 .
- Upgrade ClickHouse to v23.8.15.35-lts, v24.3.4.147-lts, v24.4.2.141-stable, v24.5.1.1763, v24.6.1.4423-stable or later, whichever matches your release line.
- Can't upgrade today? ClickHouse recommends locking down native interface to trusted IP addresses only until the system is patched.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 18 Jul 2024CVE ID reserved by ClickHouse.
- 1 Aug 2024Published in the CVE List.
- 2 Aug 2024CVE record last updated.
Attack code anyone can find
Exploit maturity: No public exploit found. CISA assessment (SSVC): exploitation none.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
Other ClickHouse vulnerabilities
Same weakness: Heap-based buffer overflow
Patchminder. CVE-2024-6873: Remote code execution in ClickHouse. https://patchminder.com/cve/cve-2024-6873/ (accessed 5 December 2026).