{"affected":[{"product":"JSON-java","source":"CNA: GitHub_M","vendor":"stleary","versions":[{"status":"affected","version":">= 20150729, < 20260719"}]}],"cveId":"CVE-2026-59171","cwes":["CWE-400","CWE-770"],"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.","epss":null,"exploits":[],"kev":null,"metrics":[{"score":5.9,"severity":"medium","source":"CNA: GitHub_M","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}],"modifiedAt":1793995954624,"publishedAt":1793995954624,"references":[{"source":"CNA: GitHub_M","tags":["x_refsource_CONFIRM"],"url":"https://github.com/stleary/JSON-java/security/advisories/GHSA-ghc9-756g-vrcv"},{"source":"CNA: GitHub_M","tags":["x_refsource_MISC"],"url":"https://github.com/stleary/JSON-java/pull/1065"},{"source":"CNA: GitHub_M","tags":["x_refsource_MISC"],"url":"https://github.com/stleary/JSON-java/pull/1067"},{"source":"CNA: GitHub_M","tags":["x_refsource_MISC"],"url":"https://github.com/stleary/JSON-java/commit/703ac34a55400f9c50889e3d0c778b6d7962e81c"},{"source":"CNA: GitHub_M","tags":["x_refsource_MISC"],"url":"https://github.com/stleary/JSON-java/commit/ab92bb9088a37f9e346cd1dda66f6a3c40a201e0"},{"source":"CNA: GitHub_M","tags":["x_refsource_MISC"],"url":"https://github.com/stleary/JSON-java/commit/fce83c91bb229dde472283dea648a9a8955237fd"},{"source":"CNA: GitHub_M","tags":["x_refsource_MISC"],"url":"https://github.com/stleary/JSON-java/releases/tag/20260719"}],"remediation":[],"revision":"d0db43a506bda0f213cb7222f0b79aa8b422b26a798992c6759312b78468eb5a","sources":[{"modifiedAt":1793995954624,"name":"CNA: GitHub_M","retrievedAt":1793999369159,"url":"https://www.cve.org/CVERecord?id=CVE-2026-59171"}],"ssvc":null,"status":"published","title":"JSON-java: JSONTokener Unbounded Numeric String Resource-Exhaustion DoS","updatedAt":1793999369159}