# CVE-2023-51080: hutool-core was discovered to contain a stack overflow via NumberUtil.toBigDecimal method

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.62%, higher than 51% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-12-27T00:00:00.000Z
- Modified: 2026-06-17T06:40:30.913Z
- Also known as: GHSA-m5hf-m3r2-xq53
- Weaknesses: CWE-787
- Assigned by: mitre

## Description

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

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- cn.hutool:hutool-core (Maven): from 5.8.22 before 5.8.25
- hutool hutool: from 5.8.22 before 5.8.25

## Every score

- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/dromara/hutool/issues/3423> (exploit, issue-tracking, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-51080> (advisory)
- <https://github.com/dromara/hutool/commit/c45b3fccdab453bb1c6007b52b18bd2fbdb68e99> (web)
- <https://github.com/dromara/hutool> (package)

## Sources

- CVE List: [CVE-2023-51080](https://www.cve.org/CVERecord?id=CVE-2023-51080), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-m5hf-m3r2-xq53](https://github.com/advisories/GHSA-m5hf-m3r2-xq53), CC-BY-4.0, modified 2024-02-16
- NVD: [CVE-2023-51080](https://nvd.nist.gov/vuln/detail/CVE-2023-51080), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-51080 · Whole record: https://cve.day/CVE-2023-51080.json · Rebuilt by cve.day 2026-11-25T22:58:31.692Z
