← Vulnerability feed

Vulnerability record · CVE-2025-51495 · published 29 September 2025

CVE-2025-51495: Cesanta mongoose integer overflow vulnerability

Cesanta · Mongoose

An integer overflow vulnerability exists in the WebSocket component of Mongoose 7.5 thru 7.17. By sending a specially crafted WebSocket request, an attacker can cause the application to crash. If downstream vendors integrate this component improperly, the issue may lead to a buffer overflow.

7.5 CVSS 3.1 High EPSS 0.43% · top 65.5% CWE-190 · Integer overflow
7.5CVSS 3.1 base score
0.43%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
3References, 1 tagged exploit
17 Jun 2026Last modified by NVD

Description

An integer overflow vulnerability exists in the WebSocket component of Mongoose 7.5 thru 7.17. By sending a specially crafted WebSocket request, an attacker can cause the application to crash. If downstream vendors integrate this component improperly, the issue may lead to a buffer overflow.

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

Affected products

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

References

Track CVE-2025-51495 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.

9.8CVE-2024-42383Cesanta mongoose vulnerabilityUse of Out-of-range Pointer Offset vulnerability in Cesanta Mongoose Web Server v7.14 allows to write a NULL byte value beyond the memory space dedic…EPSS 0.27%9.8CVE-2020-25756Cesanta mongoose classic buffer overflow vulnerabilityA buffer overflow vulnerability exists in the mg_get_http_header function in Cesanta Mongoose 6.18 due to a lack of bounds checking. A crafted HTTP h…EPSS 1.6%9.8CVE-2019-19307Cesanta mongoose out-of-bounds read vulnerabilityAn integer overflow in parse_mqtt in mongoose.c in Cesanta Mongoose 6.16 allows an attacker to achieve remote DoS (infinite loop), or possibly cause …EPSS 42%9.8CVE-2019-12951Cesanta mongoose out-of-bounds write vulnerabilityAn issue was discovered in Mongoose before 6.15. The parse_mqtt() function in mg_mqtt.c has a critical heap-based buffer overflow.EPSS 2.0%9.8CVE-2018-20353Cesanta mongoose use after free vulnerabilityAn invalid read of 8 bytes due to a use-after-free vulnerability during a "NULL test" in the mg_http_get_proto_data function in mongoose.c in Cesanta…EPSS 3.6%9.8CVE-2018-20354Cesanta mongoose use after free vulnerabilityAn invalid read of 8 bytes due to a use-after-free vulnerability during a "return" in the mg_http_get_proto_data function in mongoose.c in Cesanta Mo…EPSS 3.6%9.8CVE-2018-20355Cesanta mongoose use after free vulnerabilityAn invalid write of 8 bytes due to a use-after-free vulnerability in the mg_http_free_proto_data_cgi function call in mongoose.c in Cesanta Mongoose …EPSS 3.6%9.8CVE-2018-20356Cesanta mongoose use after free vulnerabilityAn invalid read of 8 bytes due to a use-after-free vulnerability in the mg_http_free_proto_data_cgi function call in mongoose.c in Cesanta Mongoose E…EPSS 3.6%

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