Vulnerability 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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://gist.github.com/dwilliams27/b99fd41be5d6848691797042cbfc1103
- https://github.com/MaJerle/lwjson/blob/develop/lwjson/src/lwjson/lwjson_stream.c
- https://github.com/MaJerle/lwjson/tree/develop
- https://gist.github.com/dwilliams27/b99fd41be5d6848691797042cbfc1103
FAQ
What is CVE-2026-29975?
CVE-2026-29975 is a vulnerability with a CVSS score of 7.5 (HIGH). 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 on...
How severe is CVE-2026-29975?
CVE-2026-29975 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-29975?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.