{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "20150729"
                  },
                  {
                    "fixed": "20260719"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "range": [
                  {
                    "fixed": "703ac34a55400f9c50889e3d0c778b6d7962e81c"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "fixed": "ab92bb9088a37f9e346cd1dda66f6a3c40a201e0"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "fixed": "fce83c91bb229dde472283dea648a9a8955237fd"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "20260719",
                "range": [
                  {
                    "fixed": "1795e8cf26229229e7ab6fe4aeab0f51ffecda5a"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "b0191a6acf6024b6b3efbd48dba8826ca79b950d"
            },
            {
              "fixed": "1795e8cf26229229e7ab6fe4aeab0f51ffecda5a"
            },
            {
              "fixed": "703ac34a55400f9c50889e3d0c778b6d7962e81c"
            },
            {
              "fixed": "ab92bb9088a37f9e346cd1dda66f6a3c40a201e0"
            },
            {
              "fixed": "fce83c91bb229dde472283dea648a9a8955237fd"
            }
          ],
          "repo": "https://github.com/stleary/json-java",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-ghc9-756g-vrcv"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-400",
      "CWE-770"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59171.json"
  },
  "details": "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.",
  "id": "CVE-2026-59171",
  "modified": "2026-11-14T02:30:54.610787380Z",
  "published": "2026-11-06T20:12:34.624Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/stleary/JSON-java/releases/tag/20260719"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59171.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/stleary/JSON-java/security/advisories/GHSA-ghc9-756g-vrcv"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-59171"
    },
    {
      "type": "FIX",
      "url": "https://github.com/stleary/JSON-java/commit/703ac34a55400f9c50889e3d0c778b6d7962e81c"
    },
    {
      "type": "FIX",
      "url": "https://github.com/stleary/JSON-java/commit/ab92bb9088a37f9e346cd1dda66f6a3c40a201e0"
    },
    {
      "type": "FIX",
      "url": "https://github.com/stleary/JSON-java/commit/fce83c91bb229dde472283dea648a9a8955237fd"
    },
    {
      "type": "FIX",
      "url": "https://github.com/stleary/JSON-java/pull/1065"
    },
    {
      "type": "FIX",
      "url": "https://github.com/stleary/JSON-java/pull/1067"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "JSON-java: JSONTokener Unbounded Numeric String Resource-Exhaustion DoS"
}