CVE-2023-1370

published 13 Mar 2023 · updated 27 Feb 2025

Stack exhaustion in json-smart leads to denial of service when parsing malformed JSON

7.5HighCVSS 7.5EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 2.4.9.

[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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
json-smart<2.4.92.4.9

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2023-1370 severity on Zeptric[![CVE-2023-1370](https://zeptric.io/badge/cve/CVE-2023-1370.svg)](https://zeptric.io/cve/CVE-2023-1370)