# CVE-2026-29975: lwjson 1.8.1 contains an improper input validation vulnerability in the streaming JSON parser (lwjsonstream.c).

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.75%, higher than 51% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-08T00:00:00.000Z
- Modified: 2026-06-17T10:29:58.687Z
- Weaknesses: CWE-835
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a

## References

- <https://gist.github.com/dwilliams27/b99fd41be5d6848691797042cbfc1103> (exploit)
- <https://github.com/MaJerle/lwjson/tree/develop>
- <https://github.com/MaJerle/lwjson/blob/develop/lwjson/src/lwjson/lwjson_stream.c#L362-L364>

## Sources

- CVE List: [CVE-2026-29975](https://www.cve.org/CVERecord?id=CVE-2026-29975), CVE Terms of Use, modified 2026-05-08
- NVD: [CVE-2026-29975](https://nvd.nist.gov/vuln/detail/CVE-2026-29975), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-29975 · Whole record: https://cve.day/CVE-2026-29975.json · Rebuilt by cve.day 2026-11-25T22:59:21.092Z
