Resource exhaustion in JSON-java - CVE-2026-59171

 

Resource exhaustion in JSON-java - CVE-2026-59171

Published: August 5, 2026


Vulnerability identifier: #VU140984
CSH Severity: Medium
CVSS v4: 8.2 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-59171
CWE-ID: CWE-400
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause a denial of service.

The vulnerability exists due to uncontrolled resource consumption in JSONTokener.nextSimpleValue() and JSONObject.stringToNumber() when parsing oversized numeric literals from user-supplied JSON or XML input. A remote attacker can send a specially crafted request body containing an excessively long numeric value to cause a denial of service.

All three primary parsing entry points are affected: new JSONObject(String), new JSONArray(String), and XML.toJSONObject(String).


Affected software

JSON-java

How to mitigate CVE-2026-59171

Install security update from vendor's website.

JSON-java - update to 20260719

External References

Related Security Bulletins