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."
Conclusion & alert: CVE-2021-31875 is rated High Exploit Risk (83.7/100): CVSS Critical severity, with medium exploitation likelihood (EPSS 2.17%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). EPSS rose +1.56% over the last day, indicating growing attacker interest. Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.61% | 2.17% | +1.56% |
| 2 | 2026-06-01 | 0.55% | 0.61% | +0.06% |
| 3 | 2025-11-21 | — | 0.55% | — |
Full EPSS history (18 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 9.8 | 3.1 | CRITICAL |
|
3.9 | 5.9 | [email protected] |
| 7.5 | 2.0 | HIGH |
|
10.0 | 6.4 | [email protected] |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| cesanta | mongooseos_mjs | 1.26 | cpe:2.3:a:cesanta:mongooseos_mjs:1.26:*:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| https://github.com/418sec/mjs/pull/2 | Patch Third Party Advisory |
| https://github.com/cesanta/mjs/releases/tag/1.26 | Release Notes Third Party Advisory |
| https://huntr.dev/bounties/1-other-mjs/ | Exploit Third Party Advisory |