# CVE-2023-1370: Stack exhaustion in json-smart leads to denial of service when parsing malformed JSON

- Severity: High 7.5 (CVSS:3.1, scored by JFROG) `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.12%, higher than 67% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-03-13T09:04:36.365Z
- Modified: 2026-09-10T03:49:52.396Z
- Also known as: GHSA-493p-pfq6-5258
- Weaknesses: CWE-674
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: JFROG

## Description

[Json-smart](https://netplex.github.io/json-smart/) is a performance focused, JSON processor lib.

When reaching a ‘[‘ or ‘{‘ character in the JSON input, the code parses an array or an object respectively.

It was discovered that the code does not have any limit to the nesting of such arrays or objects. Since the parsing of nested arrays and objects is done recursively, nesting too many of them can cause a stack exhaustion (stack overflow) and crash the software.

(As written by CVE List.)

## Affected

- net.minidev:json-smart: before 2.4.9
- net.minidev:json-smart (Maven): before 2.4.9
- json-smart_project json-smart: before 2.4.9

## Every score

- JFROG: 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://research.jfrog.com/vulnerabilities/stack-exhaustion-in-json-smart-leads-to-denial-of-service-when-parsing-malformed-json-xray-427633/> (exploit, third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20240621-0006/>
- <https://nvd.nist.gov/vuln/detail/CVE-2023-1370> (advisory)
- <https://github.com/netplex/json-smart-v2/issues/137> (web)
- <https://github.com/netplex/json-smart-v2/commit/5b3205d051952d3100aa0db1535f6ba6226bd87a> (web)
- <https://github.com/netplex/json-smart-v2/commit/e2791ae506a57491bc856b439d706c81e45adcf8> (web)
- <https://github.com/oswaldobapvicjr/jsonmerge> (package)
- <https://research.jfrog.com/vulnerabilities/stack-exhaustion-in-json-smart-leads-to-denial-of-service-when-parsing-malformed-json-xray-427633> (web)
- <https://security.netapp.com/advisory/ntap-20240621-0006> (web)
- <https://security.snyk.io/vuln/SNYK-JAVA-NETMINIDEV-3369748> (web)
- <https://www.cve.org/CVERecord?id=CVE-2023-1370> (web)

## Sources

- CVE List: [CVE-2023-1370](https://www.cve.org/CVERecord?id=CVE-2023-1370), CVE Terms of Use, modified 2025-02-27
- GitHub Advisory Database: [GHSA-493p-pfq6-5258](https://github.com/advisories/GHSA-493p-pfq6-5258), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2023-1370](https://nvd.nist.gov/vuln/detail/CVE-2023-1370), Public domain, modified 2026-06-17

---

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