Davegamble Cjson vulnerabilities
16 known vulnerabilities affecting davegamble/cjson.
Total CVEs
16
CISA KEV
0
Public exploits
0
Exploited in wild
0
Severity breakdown
CRITICAL5HIGH10MEDIUM1
Vulnerabilities
Page 1 of 1
CVE-2025-57052P3CRITICALCVSS 9.8≥ 1.5.0, ≤ 1.7.182025-09-03
CVE-2025-57052 [CRITICAL] CWE-125 CVE-2025-57052: cJSON 1.5.0 through 1.7.18 allows out-of-bounds access via the decode_array_index_from_pointer funct
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.
nvdosv
CVE-2019-11834P3CRITICALCVSS 9.8fixed in 1.7.112019-05-09
CVE-2019-11834 [CRITICAL] CWE-125 CVE-2019-11834: cJSON before 1.7.11 allows out-of-bounds access, related to \x00 in a string literal.
cJSON before 1.7.11 allows out-of-bounds access, related to \x00 in a string literal.
nvdosv
CVE-2026-29036P3HIGHCVSS 7.5≥ 1.5.0, ≤ 1.7.192026-08-11
CVE-2026-29036 [HIGH] CWE-706 CVE-2026-29036: cJSON versions 1.5.0 through 1.7.19 contain an incorrectly-resolved name or reference vulnerability
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 JSON Pointer escape sequences (~0 or ~1) in patch paths. Attackers can sub
nvd
CVE-2026-87933P3HIGHCVSS 7.3v1.7.0v1.7.1+18 more2026-09-10
CVE-2026-87933 [HIGH] CWE-119 CVE-2026-87933: A vulnerability was found in DaveGamble cJSON up to 1.7.19. The affected element is the function cJS
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.
nvd
CVE-2019-11835P3CRITICALCVSS 9.8fixed in 1.7.112019-05-09
CVE-2019-11835 [CRITICAL] CWE-125 CVE-2019-11835: cJSON before 1.7.11 allows out-of-bounds access, related to multiline comments.
cJSON before 1.7.11 allows out-of-bounds access, related to multiline comments.
nvdosv
CVE-2018-1000217P3CRITICALCVSS 9.8fixed in 1.7.42018-08-20
CVE-2018-1000217 [CRITICAL] CWE-416 CVE-2018-1000217: Dave Gamble cJSON version 1.7.3 and earlier contains a CWE-416: Use After Free vulnerability in cJSO
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 provides network interface then can be exploited over a network,
nvd
CVE-2026-16554P3HIGHCVSS 7.8v1.7.192026-07-27
CVE-2026-16554 [HIGH] CWE-190 CVE-2026-16554: cJSON library is vulnerable to an integer overflow in the print_string_ptr() function in cJSON.c on
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 the output buffer to be allocated based on an underestimated length. When c
nvd
CVE-2016-10749P3CRITICALCVSS 9.8fixed in 0.0.02019-04-29
CVE-2016-10749 [CRITICAL] CWE-125 CVE-2016-10749: parse_string in cJSON.c in cJSON before 2016-10-02 has a buffer over-read, as demonstrated by a stri
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.
nvd
CVE-2026-67215P3HIGHCVSS 7.5≤ 1.7.192026-07-29
CVE-2026-67215 [HIGH] CWE-674 CVE-2026-67215: cJSON through 1.7.19 is vulnerable to uncontrolled recursion leading to stack exhaustion when an unt
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 subtrees to amplify document depth beyond the parser's nesting limit: cJSON_Delet
nvd
CVE-2026-67216P3HIGHCVSS 7.5≤ 1.7.192026-07-29
CVE-2026-67216 [HIGH] CWE-407 CVE-2026-67216: cJSON through 1.7.19 contains an inefficient algorithmic complexity flaw in cJSON_Compare(). When co
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, deeply nested document of a few hundred bytes (depth around 40) compared f
nvd
CVE-2018-1000216P3HIGHCVSS 8.8fixed in 1.7.32018-08-20
CVE-2018-1000216 [HIGH] CWE-415 CVE-2018-1000216: Dave Gamble cJSON version 1.7.2 and earlier contains a CWE-415: Double Free vulnerability in cJSON l
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 is used this could be either local or over a network. This vulnerabili
nvd
CVE-2023-50471P3HIGHCVSS 7.5v1.7.162023-12-14
CVE-2023-50471 [HIGH] CWE-476 CVE-2023-50471: cJSON v1.7.16 was discovered to contain a segmentation violation via the function cJSON_InsertItemIn
cJSON v1.7.16 was discovered to contain a segmentation violation via the function cJSON_InsertItemInArray at cJSON.c.
nvdosv
CVE-2023-50472P3HIGHCVSS 7.5v1.7.162023-12-14
CVE-2023-50472 [HIGH] CWE-476 CVE-2023-50472: cJSON v1.7.16 was discovered to contain a segmentation violation via the function cJSON_SetValuestri
cJSON v1.7.16 was discovered to contain a segmentation violation via the function cJSON_SetValuestring at cJSON.c.
nvdosv
CVE-2018-1000215P3HIGHCVSS 7.5≤ 1.7.62018-08-20
CVE-2018-1000215 [HIGH] CWE-772 CVE-2018-1000215: Dave Gamble cJSON version 1.7.6 and earlier contains a CWE-772 vulnerability in cJSON library that c
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 of memory. This vulnerability appears to have been fixed in 1.7.7.
nvdosv
CVE-2019-1010239P4HIGHCVSS 7.5v1.7.82019-07-19
CVE-2019-1010239 [HIGH] CWE-476 CVE-2019-1010239: DaveGamble/cJSON cJSON 1.7.8 is affected by: Improper Check for Unusual or Exceptional Conditions. T
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 fixed version is: 1.7.9 and later.
nvdosv
CVE-2026-67217P4MEDIUMCVSS 5.3≤ 1.7.192026-07-29
CVE-2026-67217 [MEDIUM] CWE-696 CVE-2026-67217: cJSON through 1.7.19 applies RFC 6902 JSON Patch operations non-atomically in apply_patch() in cJSON
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 deleted before the operation is fully validated, so the target document is mu
nvd