CVE-2026-59171

JSON-java is a reference implementation of a JSON package in Java. From version 20150729 through 20260522, JSONTokener.nextSimpleValue can accumulate unbounded numeric tokens before JSONObject.stringToNumber passes them to BigInteger or BigDecimal conversion without a length limit. An application that parses attacker-controlled JSON or XML through JSONObject, JSONArray, or XML.toJSONObject can spend super-linear CPU time converting a sufficiently long numeric literal, blocking request-handling threads and causing denial of service. Strict mode and keep-strings settings in JSONParserConfiguration do not prevent the affected conversion path. Version 20260719 limits numeric conversion length.
Configurations

No configuration.

History

11 Nov 2026, 05:19

Type Values Removed Values Added
References () https://github.com/stleary/JSON-java/security/advisories/GHSA-ghc9-756g-vrcv - () https://github.com/stleary/JSON-java/security/advisories/GHSA-ghc9-756g-vrcv -

06 Nov 2026, 21:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-11-06 21:17

Updated : 2026-11-12 22:11


NVD link : CVE-2026-59171

Mitre link : CVE-2026-59171

CVE.ORG link : CVE-2026-59171


JSON object : View

Products Affected

No product.

CWE
CWE-400

Uncontrolled Resource Consumption

CWE-770

Allocation of Resources Without Limits or Throttling