VYPR

Mongoose

by Cesanta

Source repositories

CVEs (57)

  • CVE-2019-19307CriNov 26, 2019
    risk 0.67cvss 9.8epss 0.42

    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.

  • CVE-2017-2894CriNov 7, 2017
    risk 0.66cvss 9.8epss 0.31

    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…

  • CVE-2020-25756CriSep 18, 2020
    risk 0.64cvss 9.8epss 0.02

    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.

  • CVE-2018-20356CriJun 10, 2019
    risk 0.64cvss 9.8epss 0.04

    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.

  • CVE-2018-20355CriJun 10, 2019
    risk 0.64cvss 9.8epss 0.04

    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.

  • CVE-2018-20354CriJun 10, 2019
    risk 0.64cvss 9.8epss 0.04

    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.

  • CVE-2018-20353CriJun 10, 2019
    risk 0.64cvss 9.8epss 0.04

    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.

  • CVE-2017-2922CriNov 7, 2017
    risk 0.64cvss 9.8epss 0.03

    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…

  • CVE-2017-2921CriNov 7, 2017
    risk 0.64cvss 9.8epss 0.02

    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…

  • CVE-2017-2892CriNov 7, 2017
    risk 0.64cvss 9.8epss 0.03

    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…

  • CVE-2017-2891CriNov 7, 2017
    risk 0.64cvss 9.8epss 0.03

    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…

  • CVE-2021-26530CriFeb 8, 2021
    risk 0.59cvss 9.1epss 0.01

    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.

  • CVE-2021-26529CriFeb 8, 2021
    risk 0.59cvss 9.1epss 0.01

    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.

  • CVE-2021-26528CriFeb 8, 2021
    risk 0.59cvss 9.1epss 0.01

    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.

  • CVE-2018-18765CriOct 29, 2018
    risk 0.59cvss 9.1epss 0.02

    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…

  • CVE-2018-18764CriOct 29, 2018
    risk 0.59cvss 9.1epss 0.02

    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…

  • CVE-2020-25887HigAug 22, 2023
    risk 0.57cvss 8.8epss 0.01

    Buffer overflow in mg_resolve_from_hosts_file in Mongoose 6.18, when reading from a crafted hosts file.

  • CVE-2026-73251CriAug 20, 2026
    risk 0.53cvss —epss 0.00

    Mongoose is an embedded web server and network library. Prior to 7.23, a network attacker can impersonate a TLS server to a Mongoose client configured with a multi-certificate CA bundle. In src/tls_builtin.c, the mg_tls_init() function stores the bundle in tls->ca_bundle_der…

  • CVE-2017-2895HigNov 7, 2017
    risk 0.53cvss 8.2epss 0.01

    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…

  • CVE-2026-73257CriAug 20, 2026
    risk 0.52cvss 9.1epss 0.01

    Mongoose is an embedded web server and network library. Priro to version 7.22, a remote unauthenticated attacker can send an HTTP request containing both Content-Length and Transfer-Encoding: chunked. The cl_count and te_count checks in the mg_http_parse() and http_cb() paths in…

Page 1 of 3