CVE-2026-59171: JSON-java: JSONTokener Unbounded Numeric String Resource-Exhaustion DoS
Vulnerability summary
CVE-2026-59171 is a medium (CVSS 5.9) Uncontrolled Resource Consumption vulnerability in stleary json-java. EPSS estimates a 0.64% chance of exploitation in the next 30 days, higher than 51.5% of scored vulnerabilities.
Not severe (CVSS 5.9, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 06-11-2026PublishedVulnerability first disclosed.
- 11-11-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
5 scores · 5 sources · 1 version- NVDNIST5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · MavenEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · WolfiEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · ChainguardEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.64%
Chance of exploitation in the next 30 days
Percentile
52%
Versus all other CVEs
30-day change
Change unavailable
Change unavailable
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-400Uncontrolled Resource ConsumptionThe product does not properly control the allocation and maintenance of a limited resource.
- CWE-770Allocation of Resources Without Limits or ThrottlingThe product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.
Affected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard81 products
- akhq< 0.28.0-r17
- apache-nifi-2.11All versions (No fix recorded)
- apache-nifi-2.12All versions (No fix recorded)
- apicurio-registryAll versions (No fix recorded) | < 3.3.4-r1
- apicurio-registry-3-operatorAll versions (No fix recorded) | < 3.3.4-r1
Wolfi17 products
- akhq< 0.28.0-r17
- apicurio-registryAll versions (No fix recorded) | < 3.3.4-r1
- dependency-trackAll versions (No fix recorded) | < 4.14.6-r1
- dependency-track-bundledAll versions (No fix recorded) | < 4.14.6-r1
- flywayAll versions (No fix recorded)
Opensuse1 product
- json-java&distro=openSUSE Tumbleweed< 20260814-1.1
Org.json1 product
- json≥ 20150729, < 20260719
Stleary1 product
- json-java≥ 20150729, < 20260719
5 vendors · 101 products
References
11 links- github.com/stleary/JSON-javaPACKAGE