PT-2019-5668 · Dave Gamble · Cjson

Published

2019-07-19

·

Updated

2025-07-22

·

CVE-2019-1010239

CVSS v2.0

7.8

High

VectorAV:N/AC:L/Au:N/C:N/I:N/A:C
Name of the Vulnerable Software and Affected Versions DaveGamble/cJSON versions 1.7.8
Description The issue is related to an improper check for unusual or exceptional conditions, which can lead to a null dereference. This can cause a denial of service when a crafted JSON file is used as an attack vector. The vulnerable component is the cJSON GetObjectItemCaseSensitive() function.
Recommendations For DaveGamble/cJSON version 1.7.8, update to version 1.7.9 or later to resolve the issue. As a temporary workaround, consider restricting the use of the cJSON GetObjectItemCaseSensitive() function until a patch is available. Avoid using crafted JSON files that could exploit this issue until the update is applied.

Exploit

Fix

DoS

NULL Pointer Dereference

Improper Check for Exceptional Conditions

Weakness Enumeration

Related Identifiers

BDU:2020-04950
CVE-2019-1010239

Affected Products

Cjson