# CVE-2021-27425: Cesanta Software Mongoose-OS Integer Overflow or Wraparound

- Severity: High 7.3 (CVSS:3.1, scored by icscert) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.68%, higher than 77% of CVEs (2026-12-01)
- Published: 2022-05-03T20:21:39.000Z
- Modified: 2026-06-17T03:44:50.120Z
- Weaknesses: CWE-190
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: icscert

## 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.

(As written by CVE List.)

## Affected

- Cesanta Software Mongoose-OS: 2.17.0
- cesanta mongoose_os: 2.17.0

## Every score

- icscert: CVSS:3.1 7.3 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://www.cisa.gov/uscert/ics/advisories/icsa-21-119-04> (third-party-advisory, us-government-resource)
- <https://github.com/cesanta/mongoose-os> (product, third-party-advisory)

## Sources

- CVE List: [CVE-2021-27425](https://www.cve.org/CVERecord?id=CVE-2021-27425), CVE Terms of Use, modified 2025-04-16
- NVD: [CVE-2021-27425](https://nvd.nist.gov/vuln/detail/CVE-2021-27425), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-27425 · Whole record: https://cve.day/CVE-2021-27425.json · Rebuilt by cve.day 2026-11-25T22:58:07.443Z
