CVE Catalog

CVE-2026-29975

High
Published: Translated: NVD NIST

Summary

lwjson version 1.8.1 contains an improper input validation vulnerability in the JSON parser. The end-of-string detection logic incorrectly identifies escaped quote characters, leading to applications hanging when processing valid JSON strings.

Risk Assessment

An attacker can send well-formed JSON, causing applications to hang and resulting in denial of service. This can lead to significant disruptions in the operation of systems using lwjson.

Recommendation

It is recommended to update lwjson to the latest version that addresses this vulnerability. Additionally, monitoring applications using lwjson for potential attacks is advisable.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS