CVE-2026-87933 Details
Description
A vulnerability was found in DaveGamble cJSON up to 1.7.19. The affected element is the function cJSONUtils_MergePatch of the file cJSON_Utils.c. The manipulation results in use after free. The attack may be launched remotely. The exploit has been made public and could be used. The pull request to fix this issue awaits acceptance.
A heap-use-after-free vulnerability has been identified in DaveGamble cJSON versions through 1.7.19. The issue arises in the cJSONUtils_MergePatch function within cJSON_Utils.c, where the merge_patch function improperly handles non-object patches, such as arrays. This mismanagement leads to a use-after-free condition, allowing for potential remote exploitation. The vulnerability has been publicly disclosed and is associated with a pull request that addresses the issue, pending acceptance.
Users can update to the latest version of cJSON, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 10, 2026CISA-ADP
Assessed Sep 10, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/DaveGamble/cJSON/ | [email protected] | Vendor |
| https://github.com/DaveGamble/cJSON/issues/1060 | [email protected] | ExploitIssue TrackingTechnical AnalysisVendor |
| https://github.com/DaveGamble/cJSON/pull/1065 | [email protected] | Issue TrackingVendor |
| https://vuldb.com/cve/CVE-2026-87933 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/submit/911136 | [email protected] | Issue TrackingPermission Required |
| https://vuldb.com/vuln/401815 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/vuln/401815/cti | [email protected] | Content Wall |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-119 | Improper Restriction of Operations within the Bounds of a Memory Buffer | [email protected] |
| CWE-416 | Use After Free | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| DaveGamble cJSON | <= 1.7.19 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 10, 2026 | CVE Modified | CISA-ADP |
| Sep 10, 2026 | New CVE Received | [email protected] |
Volerion