## JSON-java: JSONTokener Has Unbounded Numeric String Resource-Exhaustion DoS

- 種別: advisory
- 重大度: medium
- 関連技術: java, nginx
- CVE: CVE-2026-59171
- 公開日時: 2026-11-09T21:12:46.000Z
- 情報源: GitHub Advisory Database (https://github.com/advisories/GHSA-ghc9-756g-vrcv)
- パーマリンク: https://vulnpulse.app/items/ghsa-ghsa-ghc9-756g-vrcv

影響: maven:org.json:json >= 20150729, < 20260719 → 20260719
1. Executive Summary JSON-java version 20260522 contains an unguarded path from an HTTP request body to unbounded BigInteger and BigDecimal construction. JSONTokener.nextSimpleValue() accumulates numeric characters into a StringBuilder with no length cap, then passes the full string to JSONObject.stringToNumber(), which calls new BigInteger(val) or new BigDecimal(val) directly. Both constructors have polynomial time complexity (O(n^1.585) for BigInteger). A 488 KB JSON body — well within nginx'…