CVE-2026-59171
published medium CVSS 3.1 · 5.9JSON-java: JSONTokener Unbounded Numeric String Resource-Exhaustion DoS
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| stleary | — | JSON-java>= 20150729, < 20260719 | Affected | Not stated | GitHub_M |
| SUSE / openSUSE | openSUSE-Tumbleweed | json-javaaarch64 | Advisory build | 20260814-1.1 | OPENSUSE-SU-2026:12514-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | json-javappc64le | Advisory build | 20260814-1.1 | OPENSUSE-SU-2026:12514-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | json-javas390x | Advisory build | 20260814-1.1 | OPENSUSE-SU-2026:12514-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | json-javax86_64 | Advisory build | 20260814-1.1 | OPENSUSE-SU-2026:12514-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | json-java-javadocaarch64 | Advisory build | 20260814-1.1 | OPENSUSE-SU-2026:12514-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | json-java-javadocppc64le | Advisory build | 20260814-1.1 | OPENSUSE-SU-2026:12514-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | json-java-javadocs390x | Advisory build | 20260814-1.1 | OPENSUSE-SU-2026:12514-1 |
Show 1 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | json-java-javadocx86_64 | Advisory build | 20260814-1.1 | OPENSUSE-SU-2026:12514-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.9 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| stleary | JSON-java | >= 20150729, < 20260719 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-400 CWE-400: Uncontrolled Resource Consumption
- CWE-770 CWE-770: Allocation of Resources Without Limits or Throttling
References
7- https://github.com/stleary/JSON-java/commit/703ac34a55400f9c50889e3d0c778b6d7962e81c
- https://github.com/stleary/JSON-java/commit/ab92bb9088a37f9e346cd1dda66f6a3c40a201e0
- https://github.com/stleary/JSON-java/commit/fce83c91bb229dde472283dea648a9a8955237fd
- https://github.com/stleary/JSON-java/pull/1065
- https://github.com/stleary/JSON-java/pull/1067
- https://github.com/stleary/JSON-java/releases/tag/20260719
- https://github.com/stleary/JSON-java/security/advisories/GHSA-ghc9-756g-vrcv
Provider assertions
2GitHub_M · cna
JSON-java: JSONTokener Unbounded Numeric String Resource-Exhaustion DoS
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 226b982732ef647e869d45d7e67e8250c6e4dcff04365c1bfe015179897561ea
- Ingested
- 11 Nov 2026, 03:34:55 UTC
- Source record
- Official CVE record