p PatchFirst

PatchFirst · Vulnerabilidades recientes

Vulnerabilidades de cjson

Vulnerabilidades publicadas para cjson en los últimos 30 días: 0. Incluidas en el catálogo KEV: 0.

Filtrar vulnerabilidades
Borrar filtros

Vulnerabilidades: 17

  1. CVE-2026-87933

    Media · CVSS 6.9EPSS 0,53%Sin corrección publicada

    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 and could be used. The pull request to fix this issue awaits acceptance.

    Publicación Actualización
  2. CVE-2026-29036

    Alta · CVSS 8.7EPSS 0,44%Sin corrección publicada

    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 by supplying crafted JSON Pointer escape sequences (~0 or ~1) in patch paths. Attackers can submit malicious RFC 6902 JSON Patch input to applications using cJSONUtils_ApplyPatches() or cJSONUtils_ApplyPatchesCaseSensitive() to silently corrupt data or delete unintended keys, potentially bypassing authorization controls in applications that rely on JSON Patch for access-controlled data mo

    Publicación Actualización
  3. CVE-2026-67217

    Media · CVSS 6.9EPSS 0,43%Sin corrección publicada

    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 is detached and deleted before the operation is fully validated, so the target document is mutated while cJSONUtils_ApplyPatches() or cJSONUtils_ApplyPatchesCaseSensitive() returns a failure status. An attacker who can supply the patch document can destroy addressable members of the target document even though the API reports that the patch failed, defeating the all-or-nothing behavior cal

    Publicación Actualización
  4. CVE-2026-67216

    Alta · CVSS 8.2EPSS 0,65%Sin corrección publicada

    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 nesting depth. A small, deeply nested document of a few hundred bytes (depth around 40) compared for equality consumes hours of CPU, and the cost roughly doubles with each additional level of nesting. An application that calls cJSON_Compare() on attacker-influenced JSON that is structurally equal to a reference document is exposed to a denial-of-service condition.

    Publicación Actualización
  5. CVE-2026-67215

    Alta · CVSS 8.7EPSS 0,7%Sin corrección publicada

    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 grafts duplicated subtrees to amplify document depth beyond the parser's nesting limit: cJSON_Delete() recurses with no depth bound, and the cJSON_Duplicate() guard CJSON_CIRCULAR_LIMIT is set to 10000, ten times the parser's 1000-level nesting limit and high enough to overflow a default thread stack. An attacker who can supply the patch document can crash the process, resulting in denial of s

    Publicación Actualización
  6. CVE-2026-16554

    Media · CVSS 5.1EPSS 0,37%Sin corrección publicada

    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 characters, causing the output buffer to be allocated based on an underestimated length. When cJSON_PrintBuffered() is used with a pre-allocated buffer, the subsequent write loop overflows the heap allocation. An attacker supplying a crafted JSON string to an application using cJSON on a 32-bit platform can cause a heap buffer overflow, potentially leading to remote code execution, inform

    Publicación Actualización
  7. CVE-2025-57052

    Crítica · CVSS 9.8EPSS 1,03%Corrección disponible

    CVE-2025-57052

    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.

    • Actualiza a 1.7.15-1+deb12u4
    Publicación Actualización
  8. CVE-2024-31755

    Alta · CVSS 7.6EPSS 0,82%Corrección disponible

    CVE-2024-31755

    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.

    • Actualiza a 1.7.15-1+deb12u2
    Publicación Actualización
  9. CVE-2019-1010239

    Alta · CVSS 7.5EPSS 2,42%Corrección disponible

    CVE-2019-1010239

    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.

    • Actualiza a 1.7.10-1
    Publicación Actualización
  10. CVE-2018-1000215

    Alta · CVSS 7.5EPSS 1,69%Corrección disponible

    CVE-2018-1000215

    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.

    • Actualiza a 1.7.7-1
    Publicación Actualización

Comprueba tu servidor

Compara tu pila y las versiones instaladas con las bases actuales de vulnerabilidades.

Comprueba tu servidor →