Infinite Loop in lwjson Streaming Parser Causing Denial of Service
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| n/a | n/a | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Majerle | Lwjson |
|
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.417% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Majerle
Majerle lwjson |
|
| Vendors & Products |
Majerle
Majerle lwjson |
| Type | Values Removed | Values Added |
|---|---|---|
| Title | Infinite Loop in lwjson Streaming Parser Causing Denial of Service |
| Type | Values Removed | Values Added |
|---|---|---|
| Title | Improper String Parsing Leads to Application Hang in lwjson Streaming Parser | |
| Weaknesses | CWE-679 |
| Type | Values Removed | Values Added |
|---|---|---|
| Title | Improper String Parsing Leads to Application Hang in lwjson Streaming Parser | |
| Weaknesses | CWE-679 |
| Type | Values Removed | Values Added |
|---|---|---|
| Weaknesses | CWE-835 | |
| Metrics |
cvssV3_1
|
| 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 |
|