CVE-2026-29975

7.5

MaJerle · lwjson

An improper input validation vulnerability in the lwjson streaming parser allows remote unauthenticated attackers to cause a denial of service via a crafted JSON string.

Executive summary

An improper input validation vulnerability in the lwjson streaming parser allows remote attackers to cause a denial of service by sending a crafted JSON string that hangs parsing indefinitely.

Vulnerability

This is an improper input validation vulnerability located in the streaming JSON parser file lwjson_stream.c, triggered by faulty end-of-string detection logic requiring zero authentication from a remote attacker.

Business impact

A successful exploit of this vulnerability results in service downtime as dependent applications hang indefinitely while attempting to parse the malformed JSON string. With a CVSS score of 7.5, this high severity flaw directly threatens system availability, potentially disrupting critical operations and requiring manual service restarts to recover.

Remediation

Immediate Action: Review the vendor repository for updates addressing the parser logic in lwjson_stream.c, and apply patches as soon as they become available.

Proactive Monitoring: Monitor application resource utilization for unexpected CPU spikes or hanging worker threads associated with incoming JSON parsing requests.

Compensating Controls: Implement strict input validation and payload size limits at the network edge or via a Web Application Firewall to drop suspicious JSON payloads before they reach the parser.

Exploitation status

Public Exploit Available: Yes, a public proof-of-concept gist is referenced in the advisory details.

Analyst recommendation

Given the high severity and potential for complete service disruption, organizations utilizing the lwjson library must prioritize remediation. System administrators should monitor the upstream GitHub repository for official patch releases and apply updates immediately upon availability to ensure system stability.

Sources