CVE-2026-59171JSON-java: JSONTokener Unbounded Numeric String Resource-Exhaustion DoS
- 5.9MediumCVSS base score
- 0.55%Exploitation in 30 daysEPSS · top 53% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- YesPublic exploitsa reference or SSVC says so
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.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. A reference of the record is tagged as an exploit. CISA's SSVC rates its exploitation: a proof of concept is public.
Show the exploits1
References tagged exploit1 reference
- https://github.com/stleary/JSON-java/security/advisories/GHSA-ghc9-756g-vrcv (opens in a new tab)x_refsource_CONFIRMexploit
Timeline
ID reserved
By GitHub_M
- 4 months later
· 4 months later
Published
- 5 days later
· 5 days later
Public exploit appeared
A proof of concept or exploit was published
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | Medium5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVDNVD · Deferred | 3.1 | Medium5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.55% · top 53% of all CVEs (18 Nov 2026)
- CISA SSVC
- Exploitation: poc · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.9.
Affected products
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Mavenorg.json:jsonGHSA-ghc9-756g-vrcv (opens in a new tab)
References
References7
- https://github.com/stleary/JSON-java/security/advisories/GHSA-ghc9-756g-vrcv (opens in a new tab)x_refsource_CONFIRMexploit
- https://github.com/stleary/JSON-java/pull/1065 (opens in a new tab)x_refsource_MISC
- https://github.com/stleary/JSON-java/pull/1067 (opens in a new tab)x_refsource_MISC
- https://github.com/stleary/JSON-java/commit/703ac34a55400f9c50889e3d0c778b6d7962e81c (opens in a new tab)x_refsource_MISC
- https://github.com/stleary/JSON-java/commit/ab92bb9088a37f9e346cd1dda66f6a3c40a201e0 (opens in a new tab)x_refsource_MISC
- https://github.com/stleary/JSON-java/commit/fce83c91bb229dde472283dea648a9a8955237fd (opens in a new tab)x_refsource_MISC
- https://github.com/stleary/JSON-java/releases/tag/20260719 (opens in a new tab)x_refsource_MISC
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2026-118487 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-ghc9-756g-vrcv (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2026-59171)Record last updated .