CVE-2023-49552
Description
An Out of Bounds Write in Cesanta mjs 2.20.0 allows a remote attacker to cause a denial of service via the mjs_op_json_stringify function in the msj.c file.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Cesanta mjs 2.20.0 has a stack overflow in mjs_op_json_stringify, enabling remote denial of service via crafted input.
Vulnerability
Cesanta mjs version 2.20.0 (commit b1b6eac) contains a stack overflow vulnerability in the mjs_op_json_stringify function within mjs.c [1]. This out-of-bounds write occurs when processing specially crafted JSON input, leading to a denial of service condition.
Exploitation
An attacker can exploit this vulnerability by providing a malicious input file (e.g., poc) to the mjs interpreter [1]. No authentication or special privileges are required; the attacker only needs to deliver the crafted input to the target system. The provided steps to reproduce involve compiling mjs with clang and running ./mjs -f poc, which triggers a stack overflow as confirmed by AddressSanitizer [1].
Impact
Successful exploitation results in a denial of service due to a stack overflow crash [1]. The ASAN report shows a DEADLYSIGNAL error, indicating the program terminates abnormally. No evidence of arbitrary code execution or data exfiltration is provided in the available references.
Mitigation
As of the publication date, no official patch has been released for this vulnerability [1]. Users are advised to avoid processing untrusted input with mjs version 2.20.0 and monitor the repository for future updates. If possible, consider using alternative JSON processing libraries until a fix is available.
AI Insight generated on May 25, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
2- Cesanta/mjsdescription
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
1News mentions
0No linked articles in our index yet.