# CVE-2026-59171: JSON-java: JSONTokener Unbounded Numeric String Resource-Exhaustion DoS

- Severity: Medium 5.9 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.63%, higher than 51% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-06T20:12:34.624Z
- Modified: 2026-11-12T22:11:01.153Z
- Also known as: GHSA-ghc9-756g-vrcv
- Weaknesses: CWE-400, CWE-770
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- stleary JSON-java: >= 20150729, < 20260719
- org.json:json (Maven): from 20150729 before 20260719

## Every score

- GitHub_M: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/stleary/JSON-java/security/advisories/GHSA-ghc9-756g-vrcv> (exploit, web)
- <https://github.com/stleary/JSON-java/pull/1065> (web)
- <https://github.com/stleary/JSON-java/pull/1067> (web)
- <https://github.com/stleary/JSON-java/commit/703ac34a55400f9c50889e3d0c778b6d7962e81c> (web)
- <https://github.com/stleary/JSON-java/commit/ab92bb9088a37f9e346cd1dda66f6a3c40a201e0> (web)
- <https://github.com/stleary/JSON-java/commit/fce83c91bb229dde472283dea648a9a8955237fd> (web)
- <https://github.com/stleary/JSON-java/releases/tag/20260719> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-59171> (advisory)
- <https://github.com/stleary/JSON-java> (package)

## Sources

- CVE List: [CVE-2026-59171](https://www.cve.org/CVERecord?id=CVE-2026-59171), CVE Terms of Use, modified 2026-11-11
- GitHub Advisory Database: [GHSA-ghc9-756g-vrcv](https://github.com/advisories/GHSA-ghc9-756g-vrcv), CC-BY-4.0, modified 2026-11-09
- NVD: [CVE-2026-59171](https://nvd.nist.gov/vuln/detail/CVE-2026-59171), Public domain, modified 2026-11-12

---

Page: https://cve.day/CVE-2026-59171 · Whole record: https://cve.day/CVE-2026-59171.json · Rebuilt by cve.day 2026-11-25T22:59:49.324Z
