clickhouse CVE Vulnerabilities & Metrics

Focus on clickhouse vulnerabilities and metrics.

Last updated: 29 Jun 2025, 22:25 UTC

About clickhouse Security Exposure

This page consolidates all known Common Vulnerabilities and Exposures (CVEs) associated with clickhouse. We track both calendar-based metrics (using fixed periods) and rolling metrics (using gliding windows) to give you a comprehensive view of security trends and risk evolution. Use these insights to assess risk and plan your patching strategy.

For a broader perspective on cybersecurity threats, explore the comprehensive list of CVEs by vendor and product. Stay updated on critical vulnerabilities affecting major software and hardware providers.

Global CVE Overview

Total clickhouse CVEs: 21
Earliest CVE date: 15 Aug 2019, 18:15 UTC
Latest CVE date: 19 Jan 2024, 21:15 UTC

Latest CVE reference: CVE-2024-23689

Rolling Stats

30-day Count (Rolling): 0
365-day Count (Rolling): 0

Calendar-based Variation

Calendar-based Variation compares a fixed calendar period (e.g., this month versus the same month last year), while Rolling Growth Rate uses a continuous window (e.g., last 30 days versus the previous 30 days) to capture trends independent of calendar boundaries.

Variations & Growth

Month Variation (Calendar): 0%
Year Variation (Calendar): -100.0%

Month Growth Rate (30-day Rolling): 0.0%
Year Growth Rate (365-day Rolling): -100.0%

Monthly CVE Trends (current vs previous Year)

Annual CVE Trends (Last 20 Years)

Critical clickhouse CVEs (CVSS ≥ 9) Over 20 Years

CVSS Stats

Average CVSS: 4.06

Max CVSS: 7.5

Critical CVEs (≥9): 0

CVSS Range vs. Count

Range Count
0.0-3.9 6
4.0-6.9 12
7.0-8.9 3
9.0-10.0 0

CVSS Distribution Chart

Top 5 Highest CVSS clickhouse CVEs

These are the five CVEs with the highest CVSS scores for clickhouse, sorted by severity first and recency.

All CVEs for clickhouse

CVE-2024-23689 clickhouse vulnerability CVSS: 0 19 Jan 2024, 21:15 UTC

Exposure of sensitive information in exceptions in ClichHouse's clickhouse-r2dbc, com.clickhouse:clickhouse-jdbc, and com.clickhouse:clickhouse-client versions less than 0.4.6 allows unauthorized users to gain access to client certificate passwords via client exception logs. This occurs when 'sslkey' is specified and an exception, such as a ClickHouseException or SQLException, is thrown during database operations; the certificate password is then included in the logged exception message.

CVE-2023-48704 clickhouse vulnerability CVSS: 0 22 Dec 2023, 16:15 UTC

ClickHouse is an open-source column-oriented database management system that allows generating analytical data reports in real-time. A heap buffer overflow issue was discovered in ClickHouse server. An attacker could send a specially crafted payload to the native interface exposed by default on port 9000/tcp, triggering a bug in the decompression logic of Gorilla codec that crashes the ClickHouse server process. This attack does not require authentication. This issue has been addressed in ClickHouse Cloud version 23.9.2.47551 and ClickHouse versions 23.10.5.20, 23.3.18.15, 23.8.8.20, and 23.9.6.20.

CVE-2023-48298 clickhouse vulnerability CVSS: 0 21 Dec 2023, 23:15 UTC

ClickHouse® is an open-source column-oriented database management system that allows generating analytical data reports in real-time. This vulnerability is an integer underflow resulting in crash due to stack buffer overflow in decompression of FPC codec. It can be triggered and exploited by an unauthenticated attacker. The vulnerability is very similar to CVE-2023-47118 with how the vulnerable function can be exploited.

CVE-2023-47118 clickhouse vulnerability CVSS: 0 20 Dec 2023, 17:15 UTC

ClickHouse® is an open-source column-oriented database management system that allows generating analytical data reports in real-time. A heap buffer overflow issue was discovered in ClickHouse server. An attacker could send a specially crafted payload to the native interface exposed by default on port 9000/tcp, triggering a bug in the decompression logic of T64 codec that crashes the ClickHouse server process. This attack does not require authentication. Note that this exploit can also be triggered via HTTP protocol, however, the attacker will need a valid credential as the HTTP authentication take places first. This issue has been fixed in version 23.10.2.13-stable, 23.9.4.11-stable, 23.8.6.16-lts and 23.3.16.7-lts.

CVE-2022-44011 clickhouse vulnerability CVSS: 0 23 Nov 2023, 16:15 UTC

An issue was discovered in ClickHouse before 22.9.1.2603. An authenticated user (with the ability to load data) could cause a heap buffer overflow and crash the server by inserting a malformed CapnProto object. The fixed versions are 22.9.1.2603, 22.8.2.11, 22.7.4.16, 22.6.6.16, and 22.3.12.19.

CVE-2022-44010 clickhouse vulnerability CVSS: 0 23 Nov 2023, 16:15 UTC

An issue was discovered in ClickHouse before 22.9.1.2603. An attacker could send a crafted HTTP request to the HTTP Endpoint (usually listening on port 8123 by default), causing a heap-based buffer overflow that crashes the process. This does not require authentication. The fixed versions are 22.9.1.2603, 22.8.2.11, 22.7.4.16, 22.6.6.16, and 22.3.12.19.

CVE-2021-43305 clickhouse vulnerability CVSS: 6.5 14 Mar 2022, 23:15 UTC

Heap buffer overflow in Clickhouse's LZ4 compression codec when parsing a malicious query. There is no verification that the copy operations in the LZ4::decompressImpl loop and especially the arbitrary copy operation wildCopy<copy_amount>(op, ip, copy_end), don’t exceed the destination buffer’s limits. This issue is very similar to CVE-2021-43304, but the vulnerable copy operation is in a different wildCopy call.

CVE-2021-43304 clickhouse vulnerability CVSS: 6.5 14 Mar 2022, 23:15 UTC

Heap buffer overflow in Clickhouse's LZ4 compression codec when parsing a malicious query. There is no verification that the copy operations in the LZ4::decompressImpl loop and especially the arbitrary copy operation wildCopy<copy_amount>(op, ip, copy_end), don’t exceed the destination buffer’s limits.

CVE-2021-42391 clickhouse vulnerability CVSS: 5.0 14 Mar 2022, 23:15 UTC

Divide-by-zero in Clickhouse's Gorilla compression codec when parsing a malicious query. The first byte of the compressed buffer is used in a modulo operation without being checked for 0.

CVE-2021-42390 clickhouse vulnerability CVSS: 4.0 14 Mar 2022, 23:15 UTC

Divide-by-zero in Clickhouse's DeltaDouble compression codec when parsing a malicious query. The first byte of the compressed buffer is used in a modulo operation without being checked for 0.

CVE-2021-42389 clickhouse vulnerability CVSS: 4.0 14 Mar 2022, 23:15 UTC

Divide-by-zero in Clickhouse's Delta compression codec when parsing a malicious query. The first byte of the compressed buffer is used in a modulo operation without being checked for 0.

CVE-2021-42388 clickhouse vulnerability CVSS: 5.5 14 Mar 2022, 23:15 UTC

Heap out-of-bounds read in Clickhouse's LZ4 compression codec when parsing a malicious query. As part of the LZ4::decompressImpl() loop, a 16-bit unsigned user-supplied value ('offset') is read from the compressed data. The offset is later used in the length of a copy operation, without checking the lower bounds of the source of the copy operation.

CVE-2021-42387 clickhouse vulnerability CVSS: 5.5 14 Mar 2022, 23:15 UTC

Heap out-of-bounds read in Clickhouse's LZ4 compression codec when parsing a malicious query. As part of the LZ4::decompressImpl() loop, a 16-bit unsigned user-supplied value ('offset') is read from the compressed data. The offset is later used in the length of a copy operation, without checking the upper bounds of the source of the copy operation.

CVE-2019-16535 clickhouse vulnerability CVSS: 7.5 30 Dec 2019, 15:15 UTC

In all versions of ClickHouse before 19.14, an OOB read, OOB write and integer underflow in decompression algorithms can be used to achieve RCE or DoS via native protocol.

CVE-2019-15024 clickhouse vulnerability CVSS: 4.0 30 Dec 2019, 15:15 UTC

In all versions of ClickHouse before 19.14.3, an attacker having write access to ZooKeeper and who is able to run a custom server available from the network where ClickHouse runs, can create a custom-built malicious server that will act as a ClickHouse replica and register it in ZooKeeper. When another replica will fetch data part from the malicious replica, it can force clickhouse-server to write to arbitrary path on filesystem.

CVE-2019-18657 clickhouse vulnerability CVSS: 5.0 31 Oct 2019, 19:15 UTC

ClickHouse before 19.13.5.44 allows HTTP header injection via the url table function.

CVE-2018-14672 clickhouse vulnerability CVSS: 5.0 15 Aug 2019, 18:15 UTC

In ClickHouse before 18.12.13, functions for loading CatBoost models allowed path traversal and reading arbitrary files through error messages.

CVE-2018-14671 clickhouse vulnerability CVSS: 7.5 15 Aug 2019, 18:15 UTC

In ClickHouse before 18.10.3, unixODBC allowed loading arbitrary shared objects from the file system which led to a Remote Code Execution vulnerability.

CVE-2018-14670 clickhouse vulnerability CVSS: 7.5 15 Aug 2019, 18:15 UTC

Incorrect configuration in deb package in ClickHouse before 1.1.54131 could lead to unauthorized use of the database.

CVE-2018-14669 clickhouse vulnerability CVSS: 5.0 15 Aug 2019, 18:15 UTC

ClickHouse MySQL client before versions 1.1.54390 had "LOAD DATA LOCAL INFILE" functionality enabled that allowed a malicious MySQL database read arbitrary files from the connected ClickHouse server.

CVE-2018-14668 clickhouse vulnerability CVSS: 6.8 15 Aug 2019, 18:15 UTC

In ClickHouse before 1.1.54388, "remote" table function allowed arbitrary symbols in "user", "password" and "default_database" fields which led to Cross Protocol Request Forgery Attacks.