MaJerle/lwjson

MaJerle/lwjson

Releases13
Frequency4 months 3 weeks
Last Release
Stars263
Lightweight JSON parser for embedded systems

CVE History

CVEPublishedCVSS v3CVSS v2
7.5 HIGH

lwjson 1.8.1 contains an improper input validation vulnerability in the streaming JSON parser (lwjson_stream.c). The end-of-string detection logic incorrectly identifies escaped quote characters by only checking the immediately preceding character rather than counting consecutive backslashes, causing valid JSON strings ending with an escaped backslash (like "\\") to never terminate parsing. A remote attacker can send well-formed JSON to cause applications using lwjson_stream_parse() to hang indefinitely, resulting in denial of service.