CyberSecBulletin

Cesanta vulnerabilities

We track 26 vulnerabilities in Cesanta products across 3 products. 26 are rated high or critical, and none are known to be exploited. The most recent was published on October 14, 2026.

26vulnerabilities
7critical
19high
0exploited
8.1average CVSS score

Latest Cesanta vulnerabilities

  • 7.5 High severity

    Mongoose is an embedded web server and network library.

    CVE-2026-73261Cesanta

    Mongoose is an embedded web server and network library. Prior to 7.23, the built-in TCP/IP stack enabled by MG_ENABLE_TCPIP in src/net_builtin.c does not reject a TCP option whose declared opts[1] length exceeds the remaining option bytes. In handle_opt(), a N

  • 7.5 High severity

    mongoose: Out-of-bounds Read

    CVE-2026-73260Cesanta

    Mongoose is an embedded web server and network library. Prior to 7.23, the built-in TLS certificate parser selected by MG_TLS_BUILTIN fails to verify that a long-form DER element length fits within the remaining certificate buffer. In mg_der_to_tlv() and mg_de

  • 7.5 High severity

    mongoose: Out-of-bounds Read

    CVE-2026-73252Cesanta

    Mongoose is an embedded web server and network library. Prior to 7.23, the built-in TLS stack selected by MG_TLS_BUILTIN in src/tls_builtin.c accepts a TLS 1.3 record whose decrypted size is exactly the 16-byte authentication tag with no plaintext or ContentTy

  • 8.8 High severity

    mongoose: Heap-based Buffer Overflow

    CVE-2026-63626Cesanta

    Mongoose is an embedded web server and network library. Prior to 7.23, ppp_handle_ipv6cp() in src/l2_ppp.c trusts the 16-bit IPv6CP len field without checking it against the received payload size. On a PPP or PPPoE link using MG_ENABLE_TCPIP and MG_ENABLE_IPV6

  • 7.3 High severity

    mJS: Improper Restriction of Operations within the Bounds of a Memory Buffer

    CVE-2026-86716Cesanta

    A vulnerability was determined in Cesanta mJS up to 1.26. Affected is the function skip_spaces_and_comments of the file src/mjs_tok.c. Executing a manipulation can lead to heap-based buffer overflow. The attack can be launched remotely. The exploit has been pu

  • 9.1 Critical severity

    mongoose: Inconsistent Interpretation of HTTP Requests

    CVE-2026-73257Cesanta

    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

  • 9.1 Critical severity

    mongoose: Inconsistent Interpretation of HTTP Requests

    CVE-2026-73256Cesanta

    Mongoose 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 sending a request with Transfer-Encoding: chunked and conflicting framing. The http_cb() function in sr

  • 9.1 Critical severity

    mongoose: Improper Certificate Validation

    CVE-2026-73253Cesanta

    Mongoose is an embedded web server and network library. Prior to version 7.22, an on-path network attacker with a wildcard certificate for a parent domain can impersonate deeper subdomains to a client using the built-in TLS stack. The mg_tls_verify_cert_san()

  • 9.1 Critical severity

    mongoose: Improper Certificate Validation

    CVE-2026-73251Cesanta

    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

  • 7.5 High severity

    Mongoose: Out-of-bounds Read

    CVE-2026-11404Cesanta

    Cesanta Mongoose before 7.22 contains an out-of-bounds read in the built-in TLS server function mg_tls_server_recv_hello(), which uses an attacker-controlled session_id_len byte from a TLS ClientHello as a buffer index without validating it against the length

  • 7.5 High severity

    Mongoose: Improper Resource Shutdown or Release

    CVE-2026-6985Cesanta

    A weakness has been identified in Cesanta Mongoose up to 7.20. This vulnerability affects the function handle_opt of the file /src/net_builtin.c of the component TCP Option Handler. This manipulation of the argument optlen causes infinite loop. The attack is p

  • 8.1 High severity

    Mongoose: Improper Authorization

    CVE-2026-5246Cesanta

    A vulnerability was determined in Cesanta Mongoose up to 7.20. Affected is the function mg_tls_verify_cert_signature of the file mongoose.c of the component P-384 Public Key Handler. Executing a manipulation can lead to authorization bypass. The attack can be

  • 8.1 High severity

    Mongoose: Improper Restriction of Operations within the Bounds of a Memory Buffer

    CVE-2026-5245Cesanta

    A vulnerability was found in Cesanta Mongoose up to 7.20. This impacts the function handle_mdns_record of the file mongoose.c of the component mDNS Record Handler. Performing a manipulation of the argument buf results in stack-based buffer overflow. Remote exp

  • 9.8 Critical severity

    Mongoose: Improper Restriction of Operations within the Bounds of a Memory Buffer

    CVE-2026-5244Cesanta

    A vulnerability has been found in Cesanta Mongoose up to 7.20. This affects the function mg_tls_recv_cert of the file mongoose.c of the component TLS 1.3 Handler. Such manipulation of the argument pubkey leads to heap-based buffer overflow. The attack may be l

  • 7.5 High severity

    Mongoose: Integer Overflow or Wraparound

    CVE-2025-51495Cesanta

    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 issu

  • 7.5 High severity

    Mongoose Web Server: Improper Neutralization of Delimiters

    CVE-2024-42392Cesanta

    Improper Neutralization of Delimiters vulnerability in Cesanta Mongoose Web Server v7.14 allows to trigger an infinite loop bug if the input string contains unexpected characters.

  • 7.5 High severity

    Mongoose Web Server: Use of Out-of-range Pointer Offset

    CVE-2024-42386Cesanta

    Use of Out-of-range Pointer Offset vulnerability in Cesanta Mongoose Web Server v7.14 allows an attacker to send an unexpected TLS packet and produce a segmentation fault on the application.

  • 7.0 High severity

    Mongoose Web Server: Improper Neutralization of Delimiters

    CVE-2024-42385Cesanta

    Improper Neutralization of Delimiters vulnerability in Cesanta Mongoose Web Server v7.14 allows to trigger an out-of-bound memory write if the PEM certificate contains unexpected characters.

  • 7.5 High severity

    Mongoose Web Server: Integer Overflow or Wraparound

    CVE-2024-42384Cesanta

    Integer Overflow or Wraparound vulnerability in Cesanta Mongoose Web Server v7.14 allows an attacker to send an unexpected TLS packet and produce a segmentation fault on the application.

  • 9.8 Critical severity

    Mongoose Web Server: Use of Out-of-range Pointer Offset

    CVE-2024-42383Cesanta

    Use 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 dedicated for the hostname field.

  • 7.5 High severity

    mongoose: NULL Pointer Dereference

    CVE-2024-35492Cesanta

    Cesanta Mongoose commit b316989 was discovered to contain a NULL pointer dereference via the scpy function at src/fmt.c. This vulnerability allows attackers to cause a Denial of Service (DoS) via a crafted MQTT packet.

  • 7.5 High severity

    Mjs: Out-of-bounds Read

    CVE-2023-49552Cesanta

    An Out of Bounds Write in Cesanta mjs 2.20.0 allows a remote attacker to cause a denial of service via the mjs_op_json_stringify function in the msj.c file.

  • 9.8 Critical severity

    Mjs: Out-of-bounds Write

    CVE-2023-43338Cesanta

    Cesanta mjs v2.20.0 was discovered to contain a function pointer hijacking vulnerability via the function mjs_get_ptr(). This vulnerability allows attackers to execute arbitrary code via a crafted input.

  • 8.8 High severity

    Mongoose: Out-of-bounds Write

    CVE-2023-2905CesantaEPSS 1.01%

    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 configur

  • 7.5 High severity

    Mongoose: Improper Validation of Specified Quantity in Input

    CVE-2023-34188CesantaEPSS 1%

    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 respon

  • 7.5 High severity

    cesanta/mongoose: Files or Directories Accessible to External Parties

    CVE-2022-25299Cesanta/mongooseEPSS 1.39%

    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.