CVE-2023-42276 — Vulnerability in cn.hutool:hutool-core — CVE Details
hutool Buffer Overflow vulnerability
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.96%). Schedule for your next planned update.
Does your project use an affected cn.hutool:hutool-core version?
Paste your pom.xml to check it for CVE-2023-42276 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
hutool v5.8.21 was discovered to contain a buffer overflow via the component jsonArray.
Advisory Timeline
- First published September 9, 2023 (1174 days ago).
- Last revised February 16, 2024 — 160 days after initial publication.
Affected Packages (2)
Affects 1 ecosystem: Maven (2).
| Package | Fixed In |
|---|---|
| cn.hutool:hutool-core Maven · Affected: 4.0.0, 4.0.1, 4.0.10, 4.0.11 (+184 more) | Range-based data available |
| cn.hutool:hutool-json Maven · Affected: 4.0.0, 4.0.1, 4.0.10, 4.0.11 (+184 more) | Range-based data available |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-120Buffer Copy Without Checking SizeMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
Frequently Asked Questions
- What is CVE-2023-42276?
- hutool Buffer Overflow vulnerability. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
- How do I check if my project is affected by CVE-2023-42276?
- CVE-2023-42276 affects cn.hutool:hutool-core and cn.hutool:hutool-json. It has a 1.0% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2023-42276 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This is an above-median EPSS score — 60.2% of tracked vulnerabilities score at or below it, putting its exploitation likelihood in the upper half of the tracked corpus.
Also Known As
Related CVEs
- CVE-2023-24163CRITICAL
Dromara hutool vulnerable to SQL Injection
- CVE-2026-107726CRITICAL
Hazelcast allows arbitrary member memory access by low-privileged client
- CVE-2023-24162CRITICAL
Dromara Hutool Deserialization of Untrusted Data vulnerability
- CVE-2023-42277CRITICAL
hutool Buffer Overflow vulnerability
- CVE-2026-107282CRITICAL
AsyncHttpClient: Replay to a different host sends the original host request and credentials to the new host
- CVE-2025-56769HIGH
Hutool allows remote code execution (RCE) via the QLExpressEngine class