CVE-2022-45688: High severity Hutool Hutool vulnerability

Published Dec 13, 2022
·
Updated

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.

Other sources

A stack overflow in the XML.toJSONObject component of hutool-json v5.8.10 and org.json:json before version 20230227 allows attackers to cause a Denial of Service (DoS) via crafted JSON or XML data.

— GitHub

Affected Software

6 affected componentsFixes available
maven/cn.hutool:hutool-json<5.8.25
5.8.25
maven/org.json:json<20230227
20230227
Hutool Hutool=5.8.10
Json-java Project Json-java<20230227
stleary JSON-Java<20230227
IBM IBM® Db2® on Cloud Pak for Data and Db2 Warehouse on Cloud Pak for Data<=v4.8 v5.0v5.1v5.2v5.3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade maven/cn.hutool:hutool-json to a version that resolves this vulnerability.

    Fixed in 5.8.25
  2. Upgrade

    Upgrade maven/org.json:json to a version that resolves this vulnerability.

    Fixed in 20230227
  3. Upgrade

    Upgrade org.json:json to a version that resolves this vulnerability.

    Fixed in 20230227

Event History

Dec 13, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
03:15 PM
DescriptionSeverityWeaknessAffected Software
Advisory Published
via GitHub·03:30 PM
Data Sourced
via GitHub·03:30 PM
DescriptionSeverityWeaknessAffected Software
Jun 26, 2023
Data Sourced
via IBM·12:00 AM
DescriptionSeverityAffected Software
Updated
via IBM·12:00 AM
Affected Software
Dec 27, 2023
Exploit Published
via GitHub·10:05 PM
Apr 15, 2024
Advisory Published
via GitHub·08:28 PM
Feb 20, 2025
Updated
via IBM·12:00 AM
Affected Software
Apr 3, 2025
Updated
via IBM·12:00 AM
Affected Software
Apr 22, 2025
Updated
via NVD·03:15 AM
SeverityWeaknessAffected Software
Sep 19, 2025
Updated
via NVD·06:54 PM
Affected Software
Apr 27, 2026
Updated
via IBM·12:00 AM
DescriptionAffected Software
Jun 17, 2026
Updated
via NVD·05:10 AM
SeverityWeaknessAffected Software
Jun 19, 2026
Updated
via IBM·12:00 AM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is CVE-2022-45688?

CVE-2022-45688 is a vulnerability in the XML.toJSONObject component of hutool-json v5.8.10 that allows attackers to cause a denial of service by exploiting a stack-based buffer overflow.

2

What is the severity of CVE-2022-45688?

CVE-2022-45688 has a severity rating of 7.5 (High).

3

Which software versions are affected by CVE-2022-45688?

Hutool v5.8.10 and Json-java Project v20230227 are affected by CVE-2022-45688.

4

How can an attacker exploit CVE-2022-45688?

An attacker can exploit CVE-2022-45688 by sending a specially crafted request to the vulnerable application, causing a stack-based buffer overflow and crashing the application.

5

Are there any references for CVE-2022-45688?

Yes, you can find references for CVE-2022-45688 at the following links: [Link 1](https://github.com/dromara/hutool/issues/2748), [Link 2](https://github.com/stleary/JSON-java/issues/708), [Link 3](https://exchange.xforce.ibmcloud.com/vulnerabilities/242881).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203