VULNERABILITY INTELLIGENCE

CVE-2026-29975

CVSS score7.5 HIGH
EPSS probability0.42%
CISA KEVNot currently listed
Published2026-05-08
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

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.

Weakness classification

  • 134c704f-9b21-4f2e-91b3-4a467353bcc0: CWE-835

Primary references