जमा करें #911136: DaveGamble cJSON v1.7.19 Use After Freeजानकारी

शीर्षकDaveGamble cJSON v1.7.19 Use After Free
विवरणA heap-use-after-free (UAF) exists in cJSON's RFC 7386 MergePatch implementation. When cJSONUtils_MergePatch() is called with a non-object patch (e.g., an array), the merge_patch() function in cJSON_Utils.c frees the arget object at line 1328, then calls cJSON_Duplicate(patch, 1) which internally calls cJSON_Duplicate_rec() at line 2808 of cJSON.c. The cJSON_Duplicate_rec() function dereferences item->type on the already-freed object: the freed heap memory gets reallocated for the duplicate tree, and the original freed memory region is then read, triggering a heap-use-after-free.(CWE-416 Use After Free)
स्रोत⚠️ https://github.com/DaveGamble/cJSON/issues/1060
उपयोगकर्ता
 lrrh (UID 100159)
सबमिशन30/07/2026 06:13 PM (1 महीना पहले)
संयम09/09/2026 06:21 PM (1 month later)
स्थितिस्वीकृत
VulDB प्रविष्टि401815 [DaveGamble cJSON तक 1.7.19 cJSON_Utils.c cJSONUtils_MergePatch बफ़र ओवरफ़्लो]
अंक20

Do you need the next level of professionalism?

Upgrade your account now!