← Back

Mongoose

mongoose

Vendor: Cesanta • 47 CVEs

CVEs (47)

CVE
VENDORS
PRODUCTS
UPDATED
PUBLISHED
CVSS
1Cesanta
1Mongoose
Jun 17, 2026
Aug 22, 2023
N/A· v4
8.8 HIGH· v3
N/A· v2
Buffer overflow in mg_resolve_from_hosts_file in Mongoose 6.18, when reading from a crafted hosts file.
1Cesanta
1Mongoose
Jun 17, 2026
Aug 9, 2023
N/A· v4
8.8 HIGH· v3
N/A· v2
Due to a failure in validating the length of a provided MQTT_CMD_PUBLISH parsed message with a variable length header, Cesanta Mongoose, an embeddable web server, version 7.10 is susceptible to a heap-based buffer overfl...Show more
Due to a failure in validating the length of a provided MQTT_CMD_PUBLISH parsed message with a variable length header, Cesanta Mongoose, an embeddable web server, version 7.10 is susceptible to a heap-based buffer overflow vulnerability in the default configuration. Version 7.9 and prior does not appear to be vulnerable. This issue is resolved in version 7.11. Show less
1Cesanta
1Mongoose
Jun 17, 2026
Jun 23, 2023
N/A· v4
7.5 HIGH· v3
N/A· v2
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 re...Show more
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.Show less
1Cesanta
1Mongoose
Jun 17, 2026
Feb 18, 2022
N/A· v4
7.5 HIGH· v3
5.0 MEDIUM· v2
This affects the package cesanta/mongoose before 7.6. The unsafe handling of file names during upload using mg_http_upload() method may enable attackers to write files to arbitrary locations outside the designated target...Show more
This affects the package cesanta/mongoose before 7.6. The unsafe handling of file names during upload using mg_http_upload() method may enable attackers to write files to arbitrary locations outside the designated target folder.Show less
1Cesanta
1Mongoose
Jun 17, 2026
Feb 8, 2021
N/A· v4
9.1 CRITICAL· v3
6.4 MEDIUM· v2
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.
1Cesanta
1Mongoose
Jun 17, 2026
Feb 8, 2021
N/A· v4
9.1 CRITICAL· v3
6.4 MEDIUM· v2
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.
1Cesanta
1Mongoose
Jun 17, 2026
Feb 8, 2021
N/A· v4
9.1 CRITICAL· v3
6.4 MEDIUM· v2
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.
1Cesanta
1Mongoose
Jun 17, 2026
Sep 18, 2020
N/A· v4
9.8 CRITICAL· v3
7.5 HIGH· v2
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...Show more
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.Show less
1Cesanta
1Mongoose
Jun 17, 2026
Nov 26, 2019
N/A· v4
9.8 CRITICAL· v3
7.5 HIGH· v2
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.
1Cesanta
1Mongoose
Jun 17, 2026
Jul 11, 2019
N/A· v4
7.5 HIGH· v3
5.0 MEDIUM· v2
mq_parse_http in mongoose.c in Mongoose 6.15 has a heap-based buffer over-read.
1Cesanta
1Mongoose
Jun 17, 2026
Jun 24, 2019
N/A· v4
9.8 CRITICAL· v3
7.5 HIGH· v2
An issue was discovered in Mongoose before 6.15. The parse_mqtt() function in mg_mqtt.c has a critical heap-based buffer overflow.
1Cesanta
1Mongoose
Nov 21, 2024
Jun 10, 2019
N/A· v4
9.8 CRITICAL· v3
7.5 HIGH· v2
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...Show more
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.Show less
1Cesanta
1Mongoose
Nov 21, 2024
Jun 10, 2019
N/A· v4
9.8 CRITICAL· v3
7.5 HIGH· v2
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...Show more
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.Show less
1Cesanta
1Mongoose
Nov 21, 2024
Jun 10, 2019
N/A· v4
9.8 CRITICAL· v3
7.5 HIGH· v2
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...Show more
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.Show less
1Cesanta
1Mongoose
Nov 21, 2024
Jun 10, 2019
N/A· v4
9.8 CRITICAL· v3
7.5 HIGH· v2
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...Show more
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.Show less
1Cesanta
1Mongoose
Nov 21, 2024
Nov 27, 2018
N/A· v4
6.5 MEDIUM· v3
4.3 MEDIUM· v2
In Cesanta Mongoose 6.13, a SIGSEGV exists in the mongoose.c mg_mqtt_add_session() function.
1Cesanta
1Mongoose
Nov 21, 2024
Oct 29, 2018
N/A· v4
9.1 CRITICAL· v3
6.4 MEDIUM· v2
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 S...Show more
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.Show less
1Cesanta
1Mongoose
Nov 21, 2024
Oct 29, 2018
N/A· v4
9.1 CRITICAL· v3
6.4 MEDIUM· v2
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 SUBSC...Show more
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.Show less
1Cesanta
1Mongoose
Nov 21, 2024
Jun 19, 2018
N/A· v4
7.5 HIGH· v3
5.0 MEDIUM· v2
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...Show more
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.Show less
1Cesanta
1Mongoose
May 13, 2026
Nov 7, 2017
N/A· v4
9.8 CRITICAL· v3
7.5 HIGH· v2
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...Show more
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.Show less