Incorrect Behavior Order Affecting cjson package, versions *


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.25% (17th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN12-CJSON-18392528
  • published30 Jul 2026
  • disclosed29 Jul 2026

Introduced: 29 Jul 2026

NewCVE-2026-67217  (opens in a new tab)
CWE-696  (opens in a new tab)

How to fix?

There is no fixed version for Debian:12 cjson.

NVD Description

Note: Versions mentioned in the description apply only to the upstream cjson package and not the cjson package as distributed by Debian. See How to fix? for Debian:12 relevant fixed versions and status.

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 callers rely on to reject bad patches.

CVSS Base Scores

version 3.1