{"id":"CVE-2021-27425","aliases":["EUVD-2021-14179","GHSA-2vmf-rc4q-xhgw"],"status":"published","title":"Cesanta Software Mongoose-OS Integer Overflow or Wraparound","description":"Cesanta Software Mongoose-OS v2.17.0 is vulnerable to integer wrap-around in function mm_malloc. This improper memory assignment can lead to arbitrary memory allocation, resulting in unexpected behavior such as a crash or a remote code injection/execution.","severity":{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.01675,"percentile":0.77062,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-190"],"published":"2022-05-03T20:21:39Z","modified":"2026-06-17T03:44:50Z","products":[{"vendor":"cesanta","product":"mongoose_os"},{"vendor":"cesanta software","product":"mongoose-os"}],"references":[{"url":"https://www.cisa.gov/uscert/ics/advisories/icsa-21-119-04","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","US Government Resource"]},{"url":"https://github.com/cesanta/mongoose-os","tags":["x_refsource_CONFIRM","x_transferred","Product","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-27425"},{"url":"https://github.com/advisories/GHSA-2vmf-rc4q-xhgw"}],"sources":{"cve":[{"id":"CVE-2021-27425","title":"Cesanta Software Mongoose-OS Integer Overflow or Wraparound","description":"Cesanta Software Mongoose-OS v2.17.0 is vulnerable to integer wrap-around in function mm_malloc. This improper memory assignment can lead to arbitrary memory allocation, resulting in unexpected behavior such as a crash or a remote code injection/execution.","status":"published","published":"2022-05-03T20:21:39Z","modified":"2025-04-16T16:25:10.282Z","cvss":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"high","assessor":"cna"}],"cwes":["CWE-190"],"updated_at":"2026-11-02T14:33:04.679189Z"}],"euvd":[{"id":"EUVD-2021-14179","description":"Cesanta Software Mongoose-OS v2.17.0 is vulnerable to integer wrap-around in function mm_malloc. This improper memory assignment can lead to arbitrary memory allocation, resulting in unexpected behavior such as a crash or a remote code injection/execution.","status":"published","published":"2022-05-03T20:21:39Z","modified":"2025-04-16T16:25:10Z","cvss":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"high"}],"updated_at":"2026-11-02T20:52:23.922531Z"}],"ghsa":[{"id":"GHSA-2vmf-rc4q-xhgw","title":"Cesanta Software Mongoose-OS v2.17.0 is vulnerable to integer wrap-around in function mm_malloc....","description":"Cesanta Software Mongoose-OS v2.17.0 is vulnerable to integer wrap-around in function mm_malloc. This improper memory assignment can lead to arbitrary memory allocation, resulting in unexpected behavior such as a crash or a remote code injection/execution.","status":"published","published":"2022-05-04T00:00:17Z","modified":"2023-02-01T05:01:31Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-190"],"updated_at":"2026-11-02T14:49:44.320253Z"}],"nvd":[{"id":"CVE-2021-27425","description":"Cesanta Software Mongoose-OS v2.17.0 is vulnerable to integer wrap-around in function mm_malloc. This improper memory assignment can lead to arbitrary memory allocation, resulting in unexpected behavior such as a crash or a remote code injection/execution.","status":"published","published":"2022-05-03T21:15:08.37Z","modified":"2026-06-17T03:44:50.12Z","cvss":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"high","assessor":"secondary"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-190"],"updated_at":"2026-11-02T14:07:06.029737Z"}]}}
