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.
Metrics
Affected Vendors & Products
References
History
Wed, 13 May 2026 11:00:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Majerle
Majerle lwjson |
|
| Vendors & Products |
Majerle
Majerle lwjson |
Fri, 08 May 2026 23:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Title | Infinite Loop in lwjson Streaming Parser Causing Denial of Service |
Fri, 08 May 2026 21:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Title | Improper String Parsing Leads to Application Hang in lwjson Streaming Parser | |
| Weaknesses | CWE-679 |
Fri, 08 May 2026 19:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Title | Improper String Parsing Leads to Application Hang in lwjson Streaming Parser | |
| Weaknesses | CWE-679 |
Fri, 08 May 2026 18:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Weaknesses | CWE-835 | |
| Metrics |
cvssV3_1
|
Fri, 08 May 2026 16:00:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Description | 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 |
|
Status: PUBLISHED
Assigner: mitre
Published:
Updated: 2026-05-08T18:07:25.688Z
Reserved: 2026-03-04T00:00:00.000Z
Link: CVE-2026-29975
Updated: 2026-05-08T18:05:49.894Z
Status : Deferred
Published: 2026-05-08T16:16:10.213
Modified: 2026-05-12T14:51:21.830
Link: CVE-2026-29975
No data.