Medium

hutool-json stack overflow vulnerability

  • Disclosed: 13.12.2022
  • Updated: 11.10.2026 12:21

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.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) cn.hutool:hutool-json < 5.8.11 5.8.11

References

CVSS score -
Weakness (CWE)
-
Platform
Java / Kotlin (Maven)
Package
cn.hutool:hutool-json
Disclosed
13.12.2022
Updated
11.10.2026 12:21

Sources and licenses

OSV / GitHub Advisory Database - GHSA-whgh-g24c-3j5q - CC BY 4.0

Vulnerability history: cn.hutool:hutool-json

All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
6
First → latest
12.2022 09.2023
Without a fix
3
Exploited in attacks
0

Severity breakdown

  • Critical 2
  • High 2
  • Medium 1
  • Low 1

Disclosures per year

  1. 2022: 3
  2. 2023: 3
  3. 2024: 0
  4. 2025: 0
  5. 2026: 0
  1. High · 7.5 CVE-2023-42278 < 5.8.22 5.8.22
  2. Critical · 9.8 CVE-2023-42277 <= 5.8.21 no fix
  3. Critical · 9.8 CVE-2023-42276 <= 5.8.21 no fix
  4. High · 7.5 CVE-2022-45688 < 5.8.25 5.8.25
  5. Low CVE-2022-45689 <= 5.8.10 no fix
  6. hutool-json stack overflow vulnerability this entry
    Medium CVE-2022-45690 < 5.8.11 5.8.11

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.