← Vulnerability feed

Vulnerability record · CVE-2021-27425 · published 3 May 2022

CVE-2021-27425: Cesanta mongoose os integer overflow vulnerability

Cesanta · Mongoose Os

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.

9.8 CVSS 3.1 Critical EPSS 1.7% · top 24.1% CWE-190 · Integer overflow
9.8CVSS 3.1 base score, v2 7.5
1.7%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
4References
17 Jun 2026Last modified by NVD

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.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
https://github.com/cesanta/mongoose-os ProductThird Party Advisory
https://www.cisa.gov/uscert/ics/advisories/icsa-21-119-04 Third Party AdvisoryUS Government Resource
https://github.com/cesanta/mongoose-os ProductThird Party Advisory
https://www.cisa.gov/uscert/ics/advisories/icsa-21-119-04 Third Party AdvisoryUS Government Resource

Track CVE-2021-27425 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

7.5CVE-2017-7185Cesanta mongoose embedded web server library use after free vulnerabilityUse-after-free vulnerability in the mg_http_multipart_wait_for_boundary function in mongoose.c in Cesanta Mongoose Embedded Web Server Library 6.7 an…EPSS 12%8.4CVE-2025-48595Android Framework integer overflow enables local code executionAn integer overflow in multiple locations of the Android Framework can be turned into code execution. It allows a local attacker to escalate privileg…KEVEPSS 1.7%analysed7.8CVE-2021-30952Apple WebKit integer overflow allows code execution via crafted web contentAn integer overflow in Apple's WebKit engine was fixed by improved input validation across tvOS 15.2, macOS Monterey 12.1, Safari 15.2, iOS/iPadOS 15…KEVEPSS 7.0%analysed7.8CVE-2026-21385Qualcomm chipset firmware memory corruption via alignment integer overflowA memory corruption flaw in Qualcomm chipset firmware arises from an integer overflow when alignments are used for memory allocation (CWE-190). It af…KEVEPSS 1.2%analysed7.8CVE-2018-14634Linux kernel create_elf_tables() integer overflow privilege escalationAn integer overflow in the Linux kernel's create_elf_tables() function lets an unprivileged local user escalate privileges when a SUID or otherwise p…KEVEPSS 15%analysed7.8CVE-2025-24985Windows Fast FAT Driver integer overflow enables local code executionThe Windows Fast FAT driver contains an integer overflow that leads to a heap-based buffer overflow. A crafted FAT filesystem operation can corrupt h…KEVEPSS 3.8%analysed8.4CVE-2022-0185Linux Kernel Filesystem Context Heap Buffer OverflowThe legacy_parse_param function in the Linux kernel's Filesystem Context functionality fails to properly verify supplied parameter lengths, causing a…KEVEPSS 25%analysed7.8CVE-2024-38080Windows Hyper-V elevation of privilege via integer overflowCVE-2024-38080 is an elevation of privilege flaw in Microsoft Windows Hyper-V, tied to an integer overflow (CWE-190) per the CWE mapping, though NVD …KEVEPSS 7.1%analysed

Source: NIST National Vulnerability Database (record CVE-2021-27425), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.