CVE-2026-29975
JSON

7.5high

lwjson 1.8.1 contains an improper input validation vulnerability in the streaming JSON parser (lwjsonstream.c).

Severity
7.5high CVSS:3.1 by CISA-ADP
Exploit likelihood
0.75% (higher than 51% of CVEs)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List

Classification

CWE-835

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-29975 changed 2026-05-08CVE Terms of Use
NVDCVE-2026-29975 changed 2026-06-17Public domain