CVE-2023-34610
Description
json-io through 4.14.0 is vulnerable to denial of service via crafted JSON with deeply nested or cyclic object structures causing stack overflow.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
json-io through 4.14.0 is vulnerable to denial of service via crafted JSON with deeply nested or cyclic object structures causing stack overflow.
Vulnerability
Description json-io is a Java serialization library that converts Java objects to JSON, JSON5, and TOON. The library's parser (JsonParser) recursively processes nested objects and arrays without depth limitation. When parsing a crafted JSON string that contains deeply nested arrays or cyclic dependencies, the recursion exhausts the call stack, resulting in a StackOverflowError. This issue affects versions up to and including 4.14.0 [3].
Exploitation
An attacker can exploit this vulnerability by supplying a specially crafted JSON document, such as one containing a deeply nested array (e.g., 9999 levels deep) to any application that uses json-io to parse untrusted user input. The attack requires no prior authentication and can be delivered over the network if the application processes JSON from external sources [3].
Impact
Successful exploitation leads to a denial of service (DoS) as the Java application crashes due to a stack overflow. The official CVE description also mentions potential for other unspecified impacts, but the primary observed effect is service disruption [3].
Mitigation
The vulnerability has been addressed in json-io version 4.14.1, which introduces limits on parsing depth to prevent stack overflow [2]. Users are strongly advised to upgrade to this version or later. As a workaround, applications can implement input validation to reject JSON documents with excessive nesting levels.
AI Insight generated on May 20, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
com.cedarsoftware:json-ioMaven | < 4.14.1 | 4.14.1 |
Affected products
2- json-io/json-iodescription
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
4- github.com/advisories/GHSA-779h-3r69-4f5pghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2023-34610ghsaADVISORY
- github.com/jdereg/json-io/issues/169ghsaWEB
- github.com/jdereg/json-io/issues/174ghsaWEB
News mentions
0No linked articles in our index yet.