CVE-2026-59171

GHSA-ghc9-756g-vrcv · published 6 Nov 2026 · updated 12 Nov 2026

JSON-java: JSONTokener Unbounded Numeric String Resource-Exhaustion DoS

5.9MediumCVSS 5.9EPSS 1%

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

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
stleary>=20150729 <20260719
maven: org.json:json>=20150729 <2026071920260719

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

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