nday
CVE-2026-59171 GHSA-ghc9-756g-vrcv

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

stleary / JSON-java

Disclosed . Patched: fixed in org.json:json 20260719. None of the four PoC sources lists it. Not in CISA KEV.

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

resource exhaustion
CWE-400, stated by the CNA GitHub_M, NVD, republishing [email protected], and GitHub advisory GHSA-ghc9-756g-vrcvCWE-770, stated by the CNA GitHub_M, NVD, republishing [email protected], and GitHub advisory GHSA-ghc9-756g-vrcv
remote, unauthenticated
AV:N, PR:N, UI:N in CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H (CVSS 3.1) from the CNA GitHub_M
network
AV:N in CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H (CVSS 3.1) from the CNA GitHub_M
no authentication required
PR:N in CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H (CVSS 3.1) from the CNA GitHub_M
no user interaction
UI:N in CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H (CVSS 3.1) from the CNA GitHub_M
Maven
GHSA-ghc9-756g-vrcv: maven packages org.json:json
stage
PAT
disclosed
cvss
5.9 MEDIUM v3.1

Lifecycle

x axis UTC; dot = exact minute, wide bar = date only, hollow = unknown or inferred.
time unknown
DISdisclosed
11-06T20:12Z
PATpatch
org.json:json 20260719
ANAanalysis
no record yet
POCPoC
no record yet
ITWexploited
no record yet
KEVKEV
no record yet

Summary

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.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:N
Network: the attacker only needs to reach it over the network
Attack complexity AC:H
High: success depends on conditions outside the attacker's control, such as gathering details of the target or winning a race
Privileges required PR:N
None: no account or authorization needed
User interaction UI:N
None: no action by anyone other than the attacker

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

CVSS 3.1 vector from the CVE record, scored by the CNA GitHub_M.

Event log

+DISdisclosed

CVE record published by GitHub_M. CVSS 5.9, medium. CISA's SSVC assessment rates exploitation as poc.

src cvelist · nday , bulk import · raw
{
  "id": 12117,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2026-59171",
  "occurred_at": "2026-11-06T20:12:34.624Z",
  "observed_at": "2026-11-12T14:10:31.286634Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H",
      "version": "3.1",
      "base_score": 5.9,
      "base_severity": "MEDIUM"
    },
    "ssvc": {
      "timestamp": "2026-11-11T03:27:02.959510Z",
      "automatable": "no",
      "exploitation": "poc",
      "technical_impact": "partial"
    },
    "state": "PUBLISHED",
    "date_published": "2026-11-06T20:12:34.624Z",
    "assigner_short_name": "GitHub_M"
  }
}
time unknownsource gave no time
+PATpatch released

The advisory gives fixed version org.json:json 20260719. Fix commits are linked. Advisory published ; the patch's own release time is not recorded.

src ghsa GHSA-ghc9-756g-vrcv · nday , bulk import · raw
{
  "id": 18965,
  "type": "patch_released",
  "source": "ghsa",
  "url": "https://github.com/advisories/GHSA-ghc9-756g-vrcv",
  "occurred_at": null,
  "observed_at": "2026-11-12T15:03:36.174798Z",
  "is_backfill": true,
  "dedupe_key": "GHSA-ghc9-756g-vrcv",
  "detail": {
    "cvss": {
      "cvss_v3": {
        "score": 5.9,
        "vector_string": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"
      },
      "cvss_v4": {
        "score": 0.0,
        "vector_string": null
      }
    },
    "cwes": [
      {
        "name": "Uncontrolled Resource Consumption",
        "cwe_id": "CWE-400"
      },
      {
        "name": "Allocation of Resources Without Limits or Throttling",
        "cwe_id": "CWE-770"
      }
    ],
    "ghsa_id": "GHSA-ghc9-756g-vrcv",
    "packages": [
      {
        "name": "org.json:json",
        "ecosystem": "maven",
        "first_patched_version": "20260719",
        "vulnerable_version_range": ">= 20150729, < 20260719"
      }
    ],
    "severity": "medium",
    "references": [
      "https://github.com/stleary/JSON-java/security/advisories/GHSA-ghc9-756g-vrcv",
      "https://nvd.nist.gov/vuln/detail/CVE-2026-59171",
      "https://github.com/stleary/JSON-java/pull/1065",
      "https://github.com/stleary/JSON-java/pull/1067",
      "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/releases/tag/20260719",
      "https://github.com/advisories/GHSA-ghc9-756g-vrcv"
    ],
    "fix_commit_urls": [
      "https://github.com/stleary/JSON-java/pull/1065",
      "https://github.com/stleary/JSON-java/pull/1067",
      "https://github.com/stleary/JSON-java/commit/703ac34a55400f9c50889e3d0c778b6d7962e81c",
      "https://github.com/stleary/JSON-java/commit/ab92bb9088a37f9e346cd1dda66f6a3c40a201e0",
      "https://github.com/stleary/JSON-java/commit/fce83c91bb229dde472283dea648a9a8955237fd"
    ],
    "github_reviewed_at": "2026-11-09T21:12:46Z",
    "advisory_updated_at": "2026-11-09T21:12:47Z",
    "source_code_location": "https://github.com/stleary/JSON-java",
    "advisory_published_at": "2026-11-09T21:12:46Z"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Researcher discussion

0 researchers mentioned this in the last 7 days

Posts on X by researchers on nday's list that mention this CVE, shown as posted. nday does not check them.

nday has not collected any post on X by listed researchers that mentions this CVE.

Discussion

0 comments

No comments yet.