Heap-based Buffer Overflow in cJSON Library's parse_string Function

Heap-based Buffer Overflow in cJSON Library's parse_string Function

CVE-2016-4303 · CRITICAL Severity

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

The parse_string function in cjson.c in the cJSON library mishandles UTF8/16 strings, which allows remote attackers to cause a denial of service (crash) or execute arbitrary code via a non-hex character in a JSON string, which triggers a heap-based buffer overflow.

Learn more about our Web Application Penetration Testing UK.