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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| DaveGamble | cJSON | 1.7.0, 1.7.1, 1.7.2, 1.7.3, 1.7.4, 1.7.5, 1.7.6, 1.7.7, 1.7.8, 1.7.9, 1.7.10, 1.7.11, 1.7.12, 1.7.13, 1.7.14, 1.7.15, 1.7.16, 1.7.17, 1.7.18, 1.7.19 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | cjson | No fix yet | — |
| Debian 13 | cjson | No fix yet | — |
| Debian 12 | cjson | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | cjson | No fix yet | — |
| Ubuntu 26.04 LTS | cjson | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 24.04 LTS | cjson | No fix yet | — |
| Ubuntu Pro 22.04 LTS | cjson | No fix yet | — |
| Ubuntu Pro 20.04 LTS | cjson | No fix yet | — |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | ceph | No fix yet | — |
References
- VDB-401815 | DaveGamble cJSON cJSON_Utils.c cJSONUtils_MergePatch use after free vdb-entry technical-description
- VDB-401815 | CTI Indicators (IOB, IOC, IOA) signature permissions-required
- CVE-2026-87933 | CVE Analysis and Report third-party-advisory
- Submit #911136 | DaveGamble cJSON v1.7.19 Use After Free third-party-advisory
- https://github.com/DaveGamble/cJSON/issues/1060 exploit issue-tracking
- https://github.com/DaveGamble/cJSON/pull/1065 issue-tracking patch
- https://github.com/DaveGamble/cJSON/ product