# CVE-2022-45688: json stack overflow vulnerability

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `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): 1.26%, higher than 70% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2022-12-13T00:00:00.000Z
- Modified: 2026-09-10T03:49:56.121Z
- Also known as: GHSA-3vqj-43w4-2q58
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- cn.hutool:hutool-json (Maven): before 5.8.25
- org.json:json (Maven): before 20230227
- hutool hutool: 5.8.10
- stleary json-java: before 20230227

## Every score

- CISA-ADP: 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`
- 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/2748> (exploit, issue-tracking, third-party-advisory, web)
- <https://github.com/stleary/JSON-java/issues/708> (exploit, issue-tracking, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-45688> (advisory)
- <https://github.com/dromara/hutool/commit/6a2b585de0a380e8c12016dbaa1620b69be11b8c> (web)
- <https://github.com/stleary/JSON-java/commit/a6e412bded7a0ad605adfeca029318f184c32102> (web)
- <https://github.com/dromara/hutool/releases/tag/5.8.25> (web)

## Sources

- CVE List: [CVE-2022-45688](https://www.cve.org/CVERecord?id=CVE-2022-45688), CVE Terms of Use, modified 2025-04-22
- GitHub Advisory Database: [GHSA-3vqj-43w4-2q58](https://github.com/advisories/GHSA-3vqj-43w4-2q58), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2022-45688](https://nvd.nist.gov/vuln/detail/CVE-2022-45688), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-45688 · Whole record: https://cve.day/CVE-2022-45688.json · Rebuilt by cve.day 2026-11-25T22:58:17.413Z
