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.
References
Configurations
No configuration.
History
08 May 2026, 19:16
| Type | Values Removed | Values Added |
|---|---|---|
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 7.5 |
| CWE | CWE-835 | |
| References | () https://gist.github.com/dwilliams27/b99fd41be5d6848691797042cbfc1103 - |
08 May 2026, 16:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-05-08 16:16
Updated : 2026-05-12 14:51
NVD link : CVE-2026-29975
Mitre link : CVE-2026-29975
CVE.ORG link : CVE-2026-29975
JSON object : View
Products Affected
No product.
CWE
CWE-835
Loop with Unreachable Exit Condition ('Infinite Loop')
