Skip to content
OpenAdvisories

Package · Debian

cjson

16 known vulnerabilities.

16 results · Feed

  • High 7.3

    DaveGamble cJSON cJSON_Utils.c cJSONUtils_MergePatch use after free

    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…

  • High 7.5

    cJSON 1.7.19 Wrong-Key Modification via JSON Pointer Escape Decoding

    cJSON versions 1.5.0 through 1.7.19 contain an incorrectly-resolved name or reference vulnerability in the decode_pointer_inplace() function within cJSON_Utils.c that allows unauthenticated attackers to cause JSON Patch operations to target wrong object keys …

  • Medium 5.3

    cJSON JSON Patch Non-Atomic Application Destroys Data Before Validation

    cJSON through 1.7.19 applies RFC 6902 JSON Patch operations non-atomically in apply_patch() in cJSON_Utils.c. For a replace operation that is missing its value member, or a move operation whose destination path cannot be resolved, the existing target member i…

  • Medium 5.9

    cJSON cJSON_Compare Exponential Complexity Denial of Service

    cJSON through 1.7.19 contains an inefficient algorithmic complexity flaw in cJSON_Compare(). When comparing objects, the function recurses into each shared subtree twice, once in each direction, with no depth guard, making the running time exponential in nest…

  • High 7.5

    cJSON JSON Patch copy/add Uncontrolled Recursion Stack Exhaustion

    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 graft…

  • Medium 5.1

    Integer Overflow Leading to Heap Buffer Overflow in cJSON

    cJSON library is vulnerable to an integer overflow in the print_string_ptr() function in cJSON.c on 32-bit platforms. The escape_characters counter, a 32-bit size_t, can wrap around when processing strings containing approximately 858,993,460 or more control …

  • Critical 9.8
    CVE-2025-57052 Public exploit

    cJSON 1.5.0 through 1.7.18 allows out-of-bounds access via the decode_array_index_from_pointer function in cJSON_Utils.…

  • Low 2.9

    parse_string in cJSON before 1.7.18 has a heap-based buffer over-read via {"1":1, with no trailing newline if cJSON_Par…

  • Low 2.9

    cJSON 1.7.15 might allow a denial of service via a crafted JSON document such as {"a": true, "b": [ null,99999999999999…

  • High 7.6

    cJSON v1.7.17 was discovered to contain a segmentation violation, which can trigger through the second parameter of fun…

  • Unscored —

    cJSON v1.7.16 was discovered to contain a segmentation violation via the function cJSON_InsertItemInArray at cJSON.c.

  • Unscored —

    cJSON v1.7.16 was discovered to contain a segmentation violation via the function cJSON_SetValuestring at cJSON.c.

  • Unscored —

    DaveGamble/cJSON cJSON 1.7.8 is affected by: Improper Check for Unusual or Exceptional Conditions. The impact is: Null …

  • Unscored —

    cJSON before 1.7.11 allows out-of-bounds access, related to multiline comments.

  • Unscored —

    cJSON before 1.7.11 allows out-of-bounds access, related to \x00 in a string literal.

  • Unscored —

    Dave Gamble cJSON version 1.7.6 and earlier contains a CWE-772 vulnerability in cJSON library that can result in Denial…