CVE-2026-59171
Full vulnerability record from the local CVENow database.
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.
View original CVE JSON
{
"id": "CVE-2026-59171",
"sourceIdentifier": "[email protected]",
"published": "2026-11-06T21:17:09.390",
"lastModified": "2026-11-06T21:17:09.390",
"vulnStatus": "Received",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "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."
}
],
"affected": [
{
"source": "[email protected]",
"affectedData": [
{
"vendor": "stleary",
"product": "JSON-java",
"versions": [
{
"version": ">= 20150729, < 20260719",
"status": "affected"
}
]
}
]
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "[email protected]",
"type": "Secondary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H",
"baseScore": 5.9,
"baseSeverity": "MEDIUM",
"attackVector": "NETWORK",
"attackComplexity": "HIGH",
"privilegesRequired": "NONE",
"userInteraction": "NONE",
"scope": "UNCHANGED",
"confidentialityImpact": "NONE",
"integrityImpact": "NONE",
"availabilityImpact": "HIGH"
},
"exploitabilityScore": 2.2,
"impactScore": 3.6
}
]
},
"weaknesses": [
{
"source": "[email protected]",
"type": "Primary",
"description": [
{
"lang": "en",
"value": "CWE-400"
},
{
"lang": "en",
"value": "CWE-770"
}
]
}
],
"references": [
{
"url": "https://github.com/stleary/JSON-java/commit/703ac34a55400f9c50889e3d0c778b6d7962e81c",
"source": "[email protected]"
},
{
"url": "https://github.com/stleary/JSON-java/commit/ab92bb9088a37f9e346cd1dda66f6a3c40a201e0",
"source": "[email protected]"
},
{
"url": "https://github.com/stleary/JSON-java/commit/fce83c91bb229dde472283dea648a9a8955237fd",
"source": "[email protected]"
},
{
"url": "https://github.com/stleary/JSON-java/pull/1065",
"source": "[email protected]"
},
{
"url": "https://github.com/stleary/JSON-java/pull/1067",
"source": "[email protected]"
},
{
"url": "https://github.com/stleary/JSON-java/releases/tag/20260719",
"source": "[email protected]"
},
{
"url": "https://github.com/stleary/JSON-java/security/advisories/GHSA-ghc9-756g-vrcv",
"source": "[email protected]"
}
]
}