Resource exhaustion in Stleary Json-Java
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.
Vulnerability class: DoS (Denial of Service)
Published .
CVSS v3 metric
CVSS v3 base score 5.9 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS: 0.006 (46.4th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 46th percentile — 46.4% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
The 30-day trend appears once there are two daily scores.
Affected products
- Stleary Json-Java — versions >= 20150729, < 20260719
Weakness classification (CWE)
References
- github.com/stleary/JSON-java/commit/703ac34a55400f9c50889e3d0c778b6d7962e81c
- github.com/stleary/JSON-java/commit/ab92bb9088a37f9e346cd1dda66f6a3c40a201e0
- github.com/stleary/JSON-java/commit/fce83c91bb229dde472283dea648a9a8955237fd
- github.com/stleary/JSON-java/pull/1065
- github.com/stleary/JSON-java/pull/1067
- github.com/stleary/JSON-java/releases/tag/20260719
- github.com/stleary/JSON-java/security/advisories/GHSA-ghc9-756g-vrcv
Frequently asked questions
- What is CVE-2026-59171?
- CVE-2026-59171 is a medium-severity vulnerability in Stleary Json-Java, classified under Uncontrolled Resource Consumption. CVSS score: 5.9/10. Published 2026-11-06.
- How severe is CVE-2026-59171?
- Medium severity. CVSS v3 base score is 5.9 out of 10.