VYPR

Cjson

by Davegamble/cjson

Source repositories

CVEs (17)

  • CVE-2025-57052CriSep 3, 2025
    risk 0.64cvss 9.8epss 0.01

    cJSON 1.5.0 through 1.7.18 allows out-of-bounds access via the decode_array_index_from_pointer function in cJSON_Utils.c, allowing remote attackers to bypass array bounds checking and access restricted data via malformed JSON pointer strings containing alphanumeric characters.

  • CVE-2019-11835CriMay 9, 2019
    risk 0.64cvss 9.8epss 0.03

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

  • CVE-2019-11834CriMay 9, 2019
    risk 0.64cvss 9.8epss 0.03

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

  • CVE-2018-1000217CriAug 20, 2018
    risk 0.64cvss 9.8epss 0.02

    Dave Gamble cJSON version 1.7.3 and earlier contains a CWE-416: Use After Free vulnerability in cJSON library that can result in Possible crash, corruption of data or even RCE. This attack appear to be exploitable via Depends on how application uses cJSON library. If application…

  • CVE-2016-10749CriApr 29, 2019
    risk 0.57cvss 9.8epss 0.02

    parse_string in cJSON.c in cJSON before 2016-10-02 has a buffer over-read, as demonstrated by a string that begins with a " character and ends with a \ character.

  • CVE-2018-1000216HigAug 20, 2018
    risk 0.57cvss 8.8epss 0.01

    Dave Gamble cJSON version 1.7.2 and earlier contains a CWE-415: Double Free vulnerability in cJSON library that can result in Possible crash or RCE. This attack appear to be exploitable via Attacker must be able to force victim to print JSON data, depending on how cJSON library…

  • CVE-2026-29036HigAug 11, 2026
    risk 0.49cvss 7.5epss 0.00

    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 by supplying crafted…

  • CVE-2024-31755HigApr 26, 2024
    risk 0.49cvss 7.6epss 0.01

    cJSON v1.7.17 was discovered to contain a segmentation violation, which can trigger through the second parameter of function cJSON_SetValuestring at cJSON.c.

  • CVE-2023-50472HigDec 14, 2023
    risk 0.49cvss 7.5epss 0.01

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

  • CVE-2023-50471HigDec 14, 2023
    risk 0.49cvss 7.5epss 0.02

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

  • CVE-2018-1000215HigAug 20, 2018
    risk 0.49cvss 7.5epss 0.02

    Dave Gamble cJSON version 1.7.6 and earlier contains a CWE-772 vulnerability in cJSON library that can result in Denial of Service (DoS). This attack appear to be exploitable via If the attacker can force the data to be printed and the system is in low memory it can force a leak…

  • CVE-2026-67215HigJul 29, 2026
    risk 0.42cvss 7.5epss 0.00

    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 grafts duplicated…

  • CVE-2026-16554MedJul 27, 2026
    risk 0.33cvss epss 0.00

    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 characters, causing…

  • CVE-2026-67216MedJul 29, 2026
    risk 0.31cvss 5.9epss 0.00

    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 nesting depth. A small,…

  • CVE-2026-67217MedJul 29, 2026
    risk 0.27cvss 5.3epss 0.00

    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 is detached and…

  • CVE-2023-53154LowMay 23, 2025
    risk 0.19cvss 2.9epss 0.00

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

  • CVE-2019-1010239HigJul 19, 2019
    risk 0.00cvss 7.5epss 0.02

    DaveGamble/cJSON cJSON 1.7.8 is affected by: Improper Check for Unusual or Exceptional Conditions. The impact is: Null dereference, so attack can cause denial of service. The component is: cJSON_GetObjectItemCaseSensitive() function. The attack vector is: crafted json file. The…