hutool CVE Vulnerabilities & Metrics

Focus on hutool vulnerabilities and metrics.

Last updated: 08 Mar 2025, 23:25 UTC

About hutool Security Exposure

This page consolidates all known Common Vulnerabilities and Exposures (CVEs) associated with hutool. 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 hutool CVEs: 14
Earliest CVE date: 21 Sep 2018, 07:29 UTC
Latest CVE date: 27 Dec 2023, 21:15 UTC

Latest CVE reference: CVE-2023-51080

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 hutool CVEs (CVSS ≥ 9) Over 20 Years

CVSS Stats

Average CVSS: 0.99

Max CVSS: 7.5

Critical CVEs (≥9): 0

CVSS Range vs. Count

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

CVSS Distribution Chart

Top 5 Highest CVSS hutool CVEs

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

All CVEs for hutool

CVE-2023-51080 hutool vulnerability CVSS: 0 27 Dec 2023, 21:15 UTC

The NumberUtil.toBigDecimal method in hutool-core v5.8.23 was discovered to contain a stack overflow.

CVE-2023-51075 hutool vulnerability CVSS: 0 27 Dec 2023, 21:15 UTC

hutool-core v5.8.23 was discovered to contain an infinite loop in the StrSplitter.splitByRegex function. This vulnerability allows attackers to cause a Denial of Service (DoS) via manipulation of the first two parameters.

CVE-2023-42278 hutool vulnerability CVSS: 0 08 Sep 2023, 22:15 UTC

hutool v5.8.21 was discovered to contain a buffer overflow via the component JSONUtil.parse().

CVE-2023-42277 hutool vulnerability CVSS: 0 08 Sep 2023, 22:15 UTC

hutool v5.8.21 was discovered to contain a buffer overflow via the component jsonObject.putByPath.

CVE-2023-42276 hutool vulnerability CVSS: 0 08 Sep 2023, 22:15 UTC

hutool v5.8.21 was discovered to contain a buffer overflow via the component jsonArray.

CVE-2023-33695 hutool vulnerability CVSS: 0 13 Jun 2023, 16:15 UTC

Hutool v5.8.17 and below was discovered to contain an information disclosure vulnerability via the File.createTempFile() function at /core/io/FileUtil.java.

CVE-2023-24163 hutool vulnerability CVSS: 0 31 Jan 2023, 16:15 UTC

SQL Inection vulnerability in Dromara hutool before 5.8.21 allows attacker to execute arbitrary code via the aviator template engine.

CVE-2023-24162 hutool vulnerability CVSS: 0 31 Jan 2023, 16:15 UTC

Deserialization vulnerability in Dromara Hutool v5.8.11 allows attacker to execute arbitrary code via the XmlUtil.readObjectFromXml parameter.

CVE-2022-4565 hutool vulnerability CVSS: 0 16 Dec 2022, 19:15 UTC

A vulnerability classified as problematic was found in Dromara HuTool up to 5.8.10. This vulnerability affects unknown code of the file cn.hutool.core.util.ZipUtil.java. The manipulation leads to resource consumption. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used. Upgrading to version 5.8.11 is able to address this issue. It is recommended to upgrade the affected component. VDB-215974 is the identifier assigned to this vulnerability.

CVE-2022-45690 hutool vulnerability CVSS: 0 13 Dec 2022, 15:15 UTC

A stack overflow in the org.json.JSONTokener.nextValue::JSONTokener.java component of hutool-json v5.8.10 allows attackers to cause a Denial of Service (DoS) via crafted JSON or XML data.

CVE-2022-45689 hutool vulnerability CVSS: 0 13 Dec 2022, 15:15 UTC

hutool-json v5.8.10 was discovered to contain an out of memory error.

CVE-2022-45688 hutool vulnerability CVSS: 0 13 Dec 2022, 15:15 UTC

A stack overflow in the XML.toJSONObject component of hutool-json v5.8.10 allows attackers to cause a Denial of Service (DoS) via crafted JSON or XML data.

CVE-2022-22885 hutool vulnerability CVSS: 7.5 16 Feb 2022, 22:15 UTC

Hutool v5.7.18's HttpRequest was discovered to ignore all TLS/SSL certificate validation.

CVE-2018-17297 hutool vulnerability CVSS: 6.4 21 Sep 2018, 07:29 UTC

The unzip function in ZipUtil.java in Hutool before 4.1.12 allows remote attackers to overwrite arbitrary files via directory traversal sequences in a filename within a ZIP archive.