Read the docs
TI-2026-47531 Aliases CVE-2026-67215GHSA-5q3m-r3x7-8phg

cJSON JSON Patch copy/add Uncontrolled Recursion Stack Exhaustion

Priority MEDIUM 45CWE-674Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
No fix listed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-674.

Summary

cJSON through 1.7.19 is vulnerable to uncontrolled recursion leading to stack exhaustion when an untrusted RFC 6902 JSON Patch is applied via cJSONUtils_ApplyPatches() or cJSONUtils_ApplyPatchesCaseSensitive(). A patch containing add and copy operations grafts duplicated subtrees to amplify document depth beyond the parser's nesting limit: cJSON_Delete() recurses with no depth bound, and the cJSON_Duplicate() guard CJSON_CIRCULAR_LIMIT is set to 10000, ten times the parser's 1000-level nesting limit and high enough to overflow a default thread stack. An attacker who can supply the patch document can crash the process, resulting in denial of service.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.007 53rd percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by the CNA and NVD
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
DaveGamblecJSONup to 1.7.19—No fix listedCNA
  • cJSON VendorDaveGamble Affected up to 1.7.19 Fixed in — No fix listed CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:davegamble:cjson:*:*:*:*:*:*:*:*up to 1.7.19VulnerableDaveGamble
  • cpe:2.3:a:davegamble:cjson:*:*:*:*:*:*:*:* Versions up to 1.7.19 Vulnerable ·DaveGamble

Remediation

No fixed version listed by the sources yet.

Vendor assessments

Red Hat

Red Hat rating: Important. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Satellite 6AffectedNo fix yet
Not affected: 3 products
  • Red Hat Enterprise Linux 8
  • Red Hat Hardened Images
  • Red Hat OpenShift Container Platform 4

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-67215
  2. 2026-10-03 Alias added: GHSA-5q3m-r3x7-8phg

References

  • TI-2025-35424 cJSON 1.5.0 through 1.7.18 allows out-of-bounds access via the… CVSS 3.1CRITICAL 9.8
  • TI-2023-27613 cJSON v1.7.16 was discovered to contain a segmentation violation via the function cJSON_SetValuestring at cJSON.c. CVSS 3.1HIGH 7.5
  • TI-2026-47533 cJSON JSON Patch Non-Atomic Application Destroys Data Before Validation CVSS 4.0MEDIUM 6.9
  • TI-2026-47532 cJSON cJSON_Compare Exponential Complexity Denial of Service CVSS 4.0HIGH 8.2
  • TI-2019-08871 cJSON before 1.7.11 allows out-of-bounds access, related to multiline comments. CVSS 3.1CRITICAL 9.8
  • TI-2019-08870 cJSON before 1.7.11 allows out-of-bounds access, related to \x00 in a string literal. CVSS 3.1CRITICAL 9.8
See all 13 →

Sources