Netplex Json-smart Stack Exhaustion Vulnerability Leading to Denial-of-Service

Vulnerability

A denial-of-service vulnerability has been identified in Netplex Json-smart versions 2.5.0 prior to 2.5.1. The issue arises when the library processes specially crafted JSON input containing a large number of opening braces. This input can trigger stack exhaustion, causing a stack overflow and crashing the application. The vulnerability is due to an uncontrolled recursion in the JSON parsing, which lacks limits on the nesting of arrays and objects. This flaw allows attackers to craft JSON that, when parsed, leads to a stack overflow and application crash.

Impact

Exploitation of this vulnerability causes a stack overflow, leading to a crash of the application that is parsing the malformed JSON.

Reproduction

To reproduce this vulnerability, load a JSON file or input that contains a high number of nested objects, specifically using the '{' character. The Json-smart library will recursively parse these objects without any depth limit, causing stack exhaustion and crashing the application.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
4.2
impact
2.5
exploitability
6.0
remediation
0.0
relevance
0.0
threat
6.4
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.