{"id":"CVE-2026-59171","published":"2026-11-06T20:12:34Z","modified":"2026-11-11T03:27:27Z","title":"JSON-java: JSONTokener Unbounded Numeric String Resource-Exhaustion DoS","vendor":"stleary","product":"JSON-java","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00639,"percentile":0.51545,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"},{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"references":[{"url":"https://github.com/stleary/JSON-java/security/advisories/GHSA-ghc9-756g-vrcv","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/stleary/JSON-java/pull/1065","tags":["x_refsource_MISC"]},{"url":"https://github.com/stleary/JSON-java/pull/1067","tags":["x_refsource_MISC"]},{"url":"https://github.com/stleary/JSON-java/commit/703ac34a55400f9c50889e3d0c778b6d7962e81c","tags":["x_refsource_MISC"]},{"url":"https://github.com/stleary/JSON-java/commit/ab92bb9088a37f9e346cd1dda66f6a3c40a201e0","tags":["x_refsource_MISC"]},{"url":"https://github.com/stleary/JSON-java/commit/fce83c91bb229dde472283dea648a9a8955237fd","tags":["x_refsource_MISC"]},{"url":"https://github.com/stleary/JSON-java/releases/tag/20260719","tags":["x_refsource_MISC"]}],"priority":{"score":14.4,"factors":[{"name":"EPSS percentile","points":10.31},{"name":"CVSS severity","points":4.13}]},"vendorSlug":"stleary","affectedVersions":[{"vendor":"stleary","product":"JSON-java","versions":[">= 20150729, < 20260719"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-11-11T03:27:02.959510Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.json:json","vulnerableRanges":[">=20150729, <20260719"],"patched":["20260719"],"from":["GHSA-ghc9-756g-vrcv"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-118487","exploited":false,"provenance":"source"}}