A vulnerability was found in DaveGamble cJSON up to 1.7.19. (CVE-2026-87933)
Affects cjsonSource GCVE Database
Not known to be exploited · CVSS 7.3 Medium.
Data as of 10/25/2026, 16:58:58 UTC
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 44% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:LExploitation evidence
Disclosed: evidence found.
CVE published 10 Sep 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wild: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHubdavegamble/cJSONpkg:github/davegamble/cJSONOther threats | Affected
| Fixed in
|
Ubuntu:Pro:20.04:LTScjsonpkg:deb/ubuntu/cjson?arch=source&distro=esm-apps/focalOther threats | Affected
| Fixed in– |
Ubuntu:Pro:22.04:LTScjsonpkg:deb/ubuntu/cjson?arch=source&distro=esm-apps/jammyOther threats | Affected
| Fixed in– |
Ubuntu:Pro:24.04:LTScjsonpkg:deb/ubuntu/cjson?arch=source&distro=esm-apps/nobleOther threats | Affected
| Fixed in– |
Ubuntu:26.10cjsonpkg:deb/ubuntu/cjson?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu:26.04:LTScjsonpkg:deb/ubuntu/cjson?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Users should monitor the vendor's repository or advisory channels for the official fix. Until then, avoid using the vulnerable function with untrusted input or apply manual code review and mitigation if feasible.
Description
A use-after-free vulnerability exists in the cJSON library up to version 1.7.19 in the cJSONUtils_MergePatch function. This vulnerability can be exploited remotely and has a publicly available exploit. A fix has been proposed but is not yet accepted or officially released.
Impact
Successful exploitation of this vulnerability can lead to use-after-free conditions, potentially allowing an attacker to cause denial of service or execute arbitrary code. The vulnerability is remotely exploitable without privileges or user interaction. The CVSS 3.1 base score is 7.3 (medium severity), reflecting the potential for confidentiality, integrity, and availability impacts.
Weaknesses
- CWE-119Improper Restriction of Operations within the Bounds of a Memory Buffer (opens in a new tab)
Class weaknessLikelihood of exploit: High
The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.
MITRE discourages mapping vulnerabilities to this broad entry; the root cause is usually a more specific weakness.
- CWE-416Use After Free (opens in a new tab)
Variant weaknessLikelihood of exploit: HighCWE Top 25 (2025): #7
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.
References
- nvd.nist.gov/vuln/detail/CVE-2026-87933 (opens in a new tab)
- github.com/DaveGamble/cJSON/issues/1060 (opens in a new tab)
- github.com/DaveGamble/cJSON/pull/1065 (opens in a new tab)
- github.com/DaveGamble/cJSON (opens in a new tab)
- vuldb.com/cve/CVE-2026-87933 (opens in a new tab)
- vuldb.com/submit/911136 (opens in a new tab)
- vuldb.com/vuln/401815 (opens in a new tab)
- vuldb.com/vuln/401815/cti (opens in a new tab)
- github.com/DaveGamble/cJSON/ (opens in a new tab)
- ubuntu.com/security/CVE-2026-87933 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-87933 (opens in a new tab)