JSON-java: JSONTokener Unbounded Numeric String Resource-Exhaustion DoS
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| stleary | JSON-java | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Stleary | Json-java |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-ghc9-756g-vrcv | JSON-java: JSONTokener Has Unbounded Numeric String Resource-Exhaustion DoS |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.552% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Stleary
Stleary json-java |
|
| Vendors & Products |
Stleary
Stleary json-java |
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | JSON-java: JSONTokener Unbounded Numeric String Resource-Exhaustion DoS | |
| Weaknesses | CWE-400 CWE-770 |
|
| References |
|
|
| Metrics |
cvssV3_1
|