{
  "id": "CVE-2026-67216",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-67216",
  "published_at": "2026-07-29T13:32:03.696Z",
  "title": "cJSON cJSON_Compare Exponential Complexity Denial of Service",
  "vendor": "DaveGamble",
  "product": "cJSON",
  "cvss": {
    "score": 8.2,
    "source": "cna",
    "vector": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "cJSON through 1.7.19 contains an inefficient algorithmic complexity flaw in cJSON_Compare(). When comparing objects, the function recurses into each shared subtree twice, once in each direction, with no depth guard, making the running time exponential in nesting depth. A small, deeply nested document of a few hundred bytes (depth around 40) compared for equality consumes hours of CPU, and the cost roughly doubles with each additional level of nesting. An application that calls cJSON_Compare() on attacker-influenced JSON that is structurally equal to a reference document is exposed to a denial-of-service condition.",
  "cwe": "CWE-407",
  "cpes": [
    "cpe:2.3:a:davegamble:cjson:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.2,
    "nvd": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "DaveGamble",
        "product": "cJSON",
        "ranges": [
          "\u003c= 1.7.19"
        ],
        "fixed_in": null
      }
    ]
  },
  "exploit_refs": [
    {
      "url": "https://joshua.hu/cjson-json-parser-cve-vulnerabilities",
      "source": "cvelist",
      "title": "Security vulnerabilities in the cJSON JSON parser (Joshua Rogers)",
      "published_at": null,
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    }
  ],
  "hunt_profile": [],
  "rules": []
}
