Critical severity9.8NVD Advisory· Published Apr 29, 2021· Updated Jun 17, 2026
CVE-2021-31875
CVE-2021-31875
Description
In mjs_json.c in Cesanta MongooseOS mJS 1.26, a maliciously formed JSON string can trigger an off-by-one heap-based buffer overflow in mjs_json_parse, which can potentially lead to redirection of control flow. NOTE: the original reporter disputes the significance of this finding because "there isn’t very much of an opportunity to exploit this reliably for an information leak, so there isn’t any real security impact."
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
3- cpe:2.3:a:cesanta:mongooseos_mjs:1.26:*:*:*:*:*:*:*
- Cesanta MongooseOS/mJSdescription
Patches
Vulnerability mechanics
References
3- github.com/418sec/mjs/pull/2nvdPatchThird Party Advisory
- huntr.dev/bounties/1-other-mjs/nvdExploitThird Party Advisory
- github.com/cesanta/mjs/releases/tag/1.26nvdRelease NotesThird Party Advisory
News mentions
0No linked articles in our index yet.