High

hutool-core was discovered to contain a stack overflow via NumberUtil.toBigDecimal method

  • Disclosed: 27.12.2023
  • Updated: 11.10.2026 11:22

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

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) cn.hutool:hutool-core >= 5.8.22, < 5.8.25 5.8.25

References

CVSS score 7.5/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness (CWE)
CWE-787
Platform
Java / Kotlin (Maven)
Package
cn.hutool:hutool-core
Disclosed
27.12.2023
Updated
11.10.2026 11:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-m5hf-m3r2-xq53 - CC BY 4.0

Vulnerability history: cn.hutool:hutool-core

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.

All (9) in the archive
Total entries
9
First → latest
10.2018 12.2023
Without a fix
3
Exploited in attacks
0

Severity breakdown

  • Critical 2
  • High 7

Disclosures per year

  1. 2018: 1
  2. 2019: 0
  3. 2020: 0
  4. 2021: 0
  5. 2022: 1
  6. 2023: 7
  7. 2024: 0
  8. 2025: 0
  9. 2026: 0
Severity:
  1. hutool-core was discovered to contain a stack overflow via NumberUtil.toBigDecimal method this entry
    High · 7.5 CVE-2023-51080 >= 5.8.22, < 5.8.25 5.8.25
  2. High · 7.5 CVE-2023-42278 < 5.8.22 5.8.22
  3. Critical · 9.8 CVE-2023-42277 <= 5.8.21 no fix
  4. Critical · 9.8 CVE-2023-42276 <= 5.8.21 no fix
  5. High · 7.5 CVE-2023-3276 <= 5.8.19 no fix
  6. High · 7.1 CVE-2023-33695 < 5.8.19 5.8.19
  7. High · 7.5 CVE-2022-4565 < 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.