Vulnerability
CVE-2026-59171
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.
173 advisories report this vulnerability, across 5 ecosystems.
Advisories
- CGA-27p5-p23h-mc2x
- CGA-2f6p-ggq4-4p8x
- CGA-2g7j-v5hh-wfmv
- CGA-2gxq-wf75-wpx4
- CGA-2hrw-rf3m-6r4m
- CGA-2jr5-rvq7-646v
- CGA-2pc4-qj36-gpvx
- CGA-2rrr-jgrm-2gmg
- CGA-2vw3-v834-6v43
- CGA-2w93-5f85-9chj
- CGA-33hc-v3fj-42v4
- CGA-3crr-g2h3-m524
- CGA-3r2r-hx8v-p6rp
- CGA-3rp3-8jpx-v7mg
- CGA-3wvj-f3px-gf27
- CGA-42fx-8jmc-4qvc
- CGA-46gc-wq5c-9pcj
- CGA-46xq-gwxh-q5wc
- CGA-483g-m7v2-rhpr
- CGA-49ph-7c5j-74w7
- CGA-4g4q-9793-cmcx
- CGA-4gxw-vr8j-9mfx
- CGA-4jrh-2vrx-jc3v
- CGA-4mgv-63x2-57m7
- CGA-4qvq-48hr-f4gg
- CGA-4wwv-7575-gp86
- CGA-4x5w-mjj2-w9m2
- CGA-54h7-7pc5-xq3x
- CGA-554m-gxr6-xcr6
- CGA-583w-25mg-m8qf
- CGA-58f4-47mv-xhv8
- CGA-58rp-5cjh-8m4m
- CGA-5hfj-rvh8-9rxr
- CGA-5j2q-xqg5-5f72
- CGA-62f4-25xw-wwfv
- CGA-63j5-5ww9-qwhq
- CGA-6637-fq42-j3pw
- CGA-672x-2vch-wcrx
- CGA-72vm-94c5-xxvv
- CGA-739r-vj9r-6259
- CGA-73pg-6wjm-3427
- CGA-73qr-hg2g-95f9
- CGA-73v8-2j79-76mp
- CGA-7659-hwmh-p8ff
- CGA-77c7-788w-jjw3
- CGA-78gr-32fx-j9q5
- CGA-7f37-3xwp-f4f9
- CGA-7f8g-4hg4-86w3
- CGA-7p4c-hmwj-vgx9
- CGA-7p86-7mm5-v9q2
- CGA-7qp8-xhvx-3hjg
- CGA-7r8v-m46q-x9q6
- CGA-7vcp-5672-93q8
- CGA-8669-w3cc-mpw6
- CGA-88pr-96fq-6mxc
- CGA-896x-q489-62vm
- CGA-8fgh-mhfg-r69g
- CGA-8gm5-cw38-fg35
- CGA-8q5g-x565-3xcf
- CGA-8qmg-5p79-rmm5
- CGA-8r37-mvp9-3r5v
- CGA-8wqr-x3f2-f5xm
- CGA-8x6h-gh62-xjp7
- CGA-8xf2-2q8v-4cw3
- CGA-95h5-4p67-2c7x
- CGA-979h-78m8-f349
- CGA-98wq-qg7r-5qhg
- CGA-997j-7423-rx44
- CGA-999j-wvrh-jc75
- CGA-9ggw-m4ww-f7p8
- CGA-9j8h-p3qg-3m8h
- CGA-9x9p-7xq7-wp53
- CGA-c3hm-6rh3-2wpc
- CGA-c4pj-c598-37rj
- CGA-c85c-r5fj-599m
- CGA-c9qq-849p-mx4h
- CGA-cg84-9w7w-v66x
- CGA-cr7x-v69p-rgc7
- CGA-cvrp-3f94-r8q2
- CGA-cwx2-rrcp-cq64
- CGA-f3px-8wwq-2rxv
- CGA-f5fc-wrx8-w3w2
- CGA-f64m-4cj6-55cf
- CGA-f69w-f8f8-7pjp
- CGA-f98w-j2pw-w4gj
- CGA-ffc9-qmhh-pqp5
- CGA-fgv9-gh4x-8ggx
- CGA-fgx6-h362-696h
- CGA-fhv3-f47r-h537
- CGA-fj7j-jrg5-8q2m
- CGA-fmxf-g5w3-9gq2
- CGA-fp2g-q8rc-r7c7
- CGA-fwgq-3p53-q68h
- CGA-g255-492g-g268
- CGA-g2ch-6vr3-qc5j
- CGA-g42c-cg24-gj8h
- CGA-g565-xmw2-vvmj
- CGA-g6hc-cpf2-qf6p
- CGA-g7w9-qwqf-f6pj
- CGA-g8xc-889x-f733
Showing the first 100. The API lists them all: /api/v1/vulnerabilities/CVE-2026-59171.
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