VendorsCesantamongooseall versions
Vulnerabilities

Cesanta Mongoose

Ranked by severity, then by exploit likelihood. Click a CVE ID for its full record.

47CVEs
CVE-2019-19307
An 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 an out-of-bounds write, by sending a crafted MQTT protocol packet.
Published 2019-11-26 · Modified
9.8EPSS 0.416
CVE-2017-2894
An exploitable stack buffer overflow vulnerability exists in the MQTT packet parsing functionality of Cesanta Mongoose 6.8. A specially crafted MQTT SUBSCRIBE packet can cause a stack buffer overflow resulting in remote code execution. An attacker needs to send a specially crafted MQTT packet over the network to trigger this vulnerability.
Published 2017-11-07 · Modified
9.8EPSS 0.310
CVE-2018-20353
An 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 Mongoose Embedded Web Server Library 6.13 and earlier allows a denial of service (application crash) or remote code execution.
Published 2019-06-10 · Modified
9.8EPSS 0.036
CVE-2018-20354
An 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 Mongoose Embedded Web Server Library 6.13 and earlier allows a denial of service (application crash) or remote code execution.
Published 2019-06-10 · Modified
9.8EPSS 0.036
CVE-2018-20356
An 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 Embedded Web Server Library 6.13 and earlier allows a denial of service (application crash) or remote code execution.
Published 2019-06-10 · Modified
9.8EPSS 0.036
CVE-2018-20355
An 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 Embedded Web Server Library 6.13 and earlier allows a denial of service (application crash) or remote code execution.
Published 2019-06-10 · Modified
9.8EPSS 0.036
CVE-2017-2892
An exploitable arbitrary memory read vulnerability exists in the MQTT packet parsing functionality of Cesanta Mongoose 6.8. A specially crafted MQTT packet can cause an arbitrary out-of-bounds memory read and write potentially resulting in information disclosure, denial of service and remote code execution. An attacker needs to send a specially crafted MQTT packet over the network to trigger this vulnerability.
Published 2017-11-07 · Modified
9.8EPSS 0.030
CVE-2017-2891
An exploitable use-after-free vulnerability exists in the HTTP server implementation of Cesanta Mongoose 6.8. An ordinary HTTP POST request with a CGI target can cause a reuse of previously freed pointer potentially resulting in remote code execution. An attacker needs to send this HTTP request over the network to trigger this vulnerability.
Published 2017-11-07 · Modified
9.8EPSS 0.028
CVE-2017-2922
An exploitable memory corruption vulnerability exists in the Websocket protocol implementation of Cesanta Mongoose 6.8. A specially crafted websocket packet can cause a buffer to be allocated while leaving stale pointers which leads to a use-after-free vulnerability which can be exploited to achieve remote code execution. An attacker needs to send a specially crafted websocket packet over the network to trigger this vulnerability.
Published 2017-11-07 · Modified
9.8EPSS 0.026
CVE-2017-2921
An exploitable memory corruption vulnerability exists in the Websocket protocol implementation of Cesanta Mongoose 6.8. A specially crafted websocket packet can cause an integer overflow, leading to a heap buffer overflow and resulting in denial of service and potential remote code execution. An attacker needs to send a specially crafted websocket packet over network to trigger this vulnerability.
Published 2017-11-07 · Modified
9.8EPSS 0.024
CVE-2019-12951
An issue was discovered in Mongoose before 6.15. The parse_mqtt() function in mg_mqtt.c has a critical heap-based buffer overflow.
Published 2019-06-24 · Modified
9.8EPSS 0.020
CVE-2020-25756
A 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 header can exploit this bug. NOTE: a committer has stated "this will not happen in practice.
Published 2020-09-18 · Modified
9.8EPSS 0.016
CVE-2022-25299
Arbitrary File Write
Published 2022-02-18 · Modified
9.8EPSS 0.014
CVE-2026-5244
Cesanta Mongoose TLS 1.3 mongoose.c mg_tls_recv_cert heap-based overflow
Published 2026-04-02 · Analyzed
9.8EPSS 0.008
CVE-2024-42383
Use of Out-of-range Pointer Offset in Mongoose Web Server library
Published 2024-11-18 · Analyzed
9.8EPSS 0.003
CVE-2018-18764
An exploitable arbitrary memory read vulnerability exists in the MQTT packet-parsing functionality of Cesanta Mongoose 6.13. It is a heap-based buffer over-read in a parse_mqtt getu16 call. A specially crafted MQTT SUBSCRIBE packet can cause an arbitrary out-of-bounds memory read potentially resulting in information disclosure and denial of service. An attacker needs to send a specially crafted MQTT packet over the network to trigger this vulnerability.
Published 2018-10-28 · Modified
9.1EPSS 0.018
CVE-2018-18765
An exploitable arbitrary memory read vulnerability exists in the MQTT packet-parsing functionality of Cesanta Mongoose 6.13. It is a heap-based buffer over-read in mg_mqtt_next_subscribe_topic. A specially crafted MQTT SUBSCRIBE packet can cause an arbitrary out-of-bounds memory read potentially resulting in information disclosure and denial of service. An attacker needs to send a specially crafted MQTT packet over the network to trigger this vulnerability.
Published 2018-10-28 · Modified
9.1EPSS 0.018
CVE-2021-26529
The mg_tls_init function in Cesanta Mongoose HTTPS server 7.0 and 6.7-6.18 (compiled with mbedTLS support) is vulnerable to remote OOB write attack via connection request after exhausting memory pool.
Published 2021-02-08 · Modified
9.1EPSS 0.015
CVE-2021-26528
The mg_http_serve_file function in Cesanta Mongoose HTTP server 7.0 is vulnerable to remote OOB write attack via connection request after exhausting memory pool.
Published 2021-02-08 · Modified
9.1EPSS 0.015
CVE-2021-26530
The mg_tls_init function in Cesanta Mongoose HTTPS server 7.0 (compiled with OpenSSL support) is vulnerable to remote OOB write attack via connection request after exhausting memory pool.
Published 2021-02-08 · Modified
9.1EPSS 0.015
CVE-2023-2905
Cesanta Mongoose MQTT Message Parsing Heap Overflow
Published 2023-08-09 · Modified
8.8EPSS 0.010
CVE-2020-25887
Buffer overflow in mg_resolve_from_hosts_file in Mongoose 6.18, when reading from a crafted hosts file.
Published 2023-08-22 · Modified
8.8EPSS 0.007
CVE-2017-2895
An exploitable arbitrary memory read vulnerability exists in the MQTT packet parsing functionality of Cesanta Mongoose 6.8. A specially crafted MQTT SUBSCRIBE packet can cause an arbitrary out-of-bounds memory read potentially resulting in information disclosure and denial of service. An attacker needs to send a specially crafted MQTT packet over the network to trigger this vulnerability.
Published 2017-11-07 · Modified
8.2EPSS 0.013
CVE-2024-42386
Use of Out-of-range Pointer Offset in Mongoose Web Server library
Published 2024-11-18 · Modified
8.2EPSS 0.004
CVE-2026-5245
Cesanta Mongoose mDNS Record mongoose.c handle_mdns_record stack-based overflow
Published 2026-04-02 · Analyzed
8.1EPSS 0.006
CVE-2026-5246
Cesanta Mongoose P-384 Public Key mongoose.c mg_tls_verify_cert_signature authorization
Published 2026-04-02 · Analyzed
8.1EPSS 0.006
CVE-2017-2909
An infinite loop programming error exists in the DNS server functionality of Cesanta Mongoose 6.8 library. A specially crafted DNS request can cause an infinite loop resulting in high CPU usage and Denial Of Service. An attacker can send a packet over the network to trigger this vulnerability.
Published 2017-11-07 · Modified
7.8EPSS 0.014
CVE-2017-2893
An exploitable NULL pointer dereference vulnerability exists in the MQTT packet parsing functionality of Cesanta Mongoose 6.8. An MQTT SUBSCRIBE packet can cause a NULL pointer dereference leading to server crash and denial of service. An attacker needs to send a specially crafted MQTT packet over the network to trigger this vulnerability.
Published 2017-11-07 · Modified
7.5EPSS 0.249
CVE-2019-13503
mq_parse_http in mongoose.c in Mongoose 6.15 has a heap-based buffer over-read.
Published 2019-07-11 · Modified
7.5EPSS 0.014
CVE-2018-10945
The mg_handle_cgi function in mongoose.c in Mongoose 6.11 allows remote attackers to cause a denial of service (heap-based buffer over-read and application crash, or NULL pointer dereference) via an HTTP request, related to the mbuf_insert function.
Published 2018-06-19 · Modified
7.5EPSS 0.014
CVE-2023-34188
The HTTP server in Mongoose before 7.10 accepts requests containing negative Content-Length headers. By sending a single attack payload over TCP, an attacker can cause an infinite loop in which the server continuously reparses that payload, and does not respond to any other requests.
Published 2023-06-23 · Modified
7.5EPSS 0.010
CVE-2026-6985
Cesanta Mongoose TCP Option net_builtin.c handle_opt infinite loop
Published 2026-04-25 · Analyzed
7.5EPSS 0.009
CVE-2024-42384
Integer Overflow or Wraparound in Mongoose Web Server library
Published 2024-11-18 · Modified
7.5EPSS 0.005
CVE-2025-51495
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.
Published 2025-09-29 · Analyzed
7.5EPSS 0.004
CVE-2024-42392
Improper Neutralization of Delimiters in Mongoose Web Server library
Published 2024-11-18 · Modified
7.5EPSS 0.002
CVE-2024-42385
Improper Neutralization of Delimiters in Mongoose Web Server library
Published 2024-11-18 · Modified
7.0EPSS 0.001
CVE-2018-19587
In Cesanta Mongoose 6.13, a SIGSEGV exists in the mongoose.c mg_mqtt_add_session() function.
Published 2018-11-27 · Modified
6.5EPSS 0.009
CVE-2024-42387
Use of Out-of-range Pointer Offset in Mongoose Web Server library
Published 2024-11-18 · Analyzed
5.3EPSS 0.003
CVE-2024-42388
Use of Out-of-range Pointer Offset in Mongoose Web Server library
Published 2024-11-18 · Analyzed
5.3EPSS 0.003
CVE-2024-42389
Use of Out-of-range Pointer Offset in Mongoose Web Server library
Published 2024-11-18 · Analyzed
5.3EPSS 0.003
1 / 2Next →