Cesanta Mongoose

56 CVEs affecting Cesanta Mongoose. Latest disclosed: 2026-08-20. Critical: 20, High: 13.

Top CVEs affecting Cesanta Mongoose
CVESeverityScorePublishedSummary
CVE-2022-25299Critical9.82022-02-18This 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 wri…
CVE-2020-25756Critical9.82020-09-18A 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…
CVE-2019-19307Critical9.82019-11-26An 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-…
CVE-2019-12951Critical9.82019-06-24An issue was discovered in Mongoose before 6.15. The parse_mqtt() function in mg_mqtt.c has a critical heap-based buffer overflow.
CVE-2018-20356Critical9.82019-06-10An 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 We…
CVE-2018-20355Critical9.82019-06-10An 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 W…
CVE-2018-20354Critical9.82019-06-10An 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 Emb…
CVE-2018-20353Critical9.82019-06-10An 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…
CVE-2017-2922Critical9.82017-11-07An exploitable memory corruption vulnerability exists in the Websocket protocol implementation of Cesanta Mongoose 6.8. A specially crafted websocket packet ca…
CVE-2017-2921Critical9.82017-11-07An exploitable memory corruption vulnerability exists in the Websocket protocol implementation of Cesanta Mongoose 6.8. A specially crafted websocket packet ca…
CVE-2017-2894Critical9.82017-11-07An exploitable stack buffer overflow vulnerability exists in the MQTT packet parsing functionality of Cesanta Mongoose 6.8. A specially crafted MQTT SUBSCRIBE…
CVE-2017-2892Critical9.82017-11-07An exploitable arbitrary memory read vulnerability exists in the MQTT packet parsing functionality of Cesanta Mongoose 6.8. A specially crafted MQTT packet can…
CVE-2017-2891Critical9.82017-11-07An 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 c…
CVE-2026-73257Critical9.12026-08-20Mongoose is an embedded web server and network library. Priro to version 7.22, a remote unauthenticated attacker can send an HTTP request containing both Conte…
CVE-2026-73256Critical9.12026-08-20Mongoose is an embedded web server and network library. Prior to 7.22, a remote unauthenticated attacker can exploit an HTTP/1.0 reverse-proxy deployment by se…
CVE-2021-26530Critical9.12021-02-08The 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 a…
CVE-2021-26529Critical9.12021-02-08The 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 connect…
CVE-2021-26528Critical9.12021-02-08The 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 poo…
CVE-2018-18765Critical9.12018-10-29An exploitable arbitrary memory read vulnerability exists in the MQTT packet-parsing functionality of Cesanta Mongoose 6.13. It is a heap-based buffer over-rea…
CVE-2018-18764Critical9.12018-10-29An exploitable arbitrary memory read vulnerability exists in the MQTT packet-parsing functionality of Cesanta Mongoose 6.13. It is a heap-based buffer over-rea…