CVE-2026-59171
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.
Weakness
- CWE-400: Uncontrolled Resource Consumption
- CWE-770: Allocation of Resources Without Limits or Throttling
CISA SSVC decision points
| Exploitation | poc |
|---|---|
| Automatable | no |
| Technical impact | partial |
| Scored | 2026-11-11 |
Timeline
- 2026-11-06Published by the CNA20:12 UTC
- 2026-11-09GitHub advisory published (GHSA-ghc9-756g-vrcv)3 days after publication
- 2026-11-11CISA SSVC decision recorded5 days after publication
Exploit and advisory records
GitHub advisory GHSA-ghc9-756g-vrcv, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| Maven org.json:json | from 20150729 before 20260719 | 20260719 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| stleary json-java |
References
- 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
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-59171'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-59171'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-59171'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-59171'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).