CVE-2022-45688
HIGH 7.5CVSS 3.1json stack overflow vulnerability
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.
- Published
- 13 Dec 2022
- Last modified
- 10 Sep 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-787
- Also known as
- GHSA-3vqj-43w4-2q58
- Sources
- NVDJSONOSV GHSA-3vqj-43w4-2q58JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | hutool | hutoolcpe:2.3:a:hutool:hutool:5.8.10:*:*:*:*:*:*:* |
= 5.8.10 | |
| NVD | stleary | json-javacpe:2.3:a:stleary:json-java:*:*:*:*:*:*:*:* |
< 20230227 | 20230227 |
| OSV | Maven | cn.hutool:hutool-json | < 5.8.25 | 5.8.25 |
| OSV | Maven | org.json:json | < 20230227 | 20230227 |
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
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 13 Dec 2022)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 13 Dec 2022)