p PatchFirst

CVE-2026-11404

CVE-2026-11404 · Cesanta Mongoose Out-of-Bounds Read in MG_TLS_BUILTIN ClientHello Session ID Parsing

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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 of received data. A remote, unauthenticated attacker can send a single crafted ClientHello with an oversized session id length to read past the receive buffer, crashing any HTTPS, MQTTS, or WSS service built on MG_TLS_BUILTIN.

CVSS 8.7 · High · EPSS 0.6% · Fix available

Published
Updated

Stack: system

Affected products and versions

  • mongoose

    Versions
    • ≥ 0, < 7.22: Affected (custom)

    Update to 7.22

  • mongoose Debian:14

    Versions
    • 7.21+ds-1
    • 7.21+ds-1~bpo13+1
    • 7.21+ds-2
    • 7.22+ds-1~bpo13+1
    Affected ranges
    • ECOSYSTEM: < 7.22+ds-1

    Update to 7.22+ds-1

  • mongoose Ubuntu:26.10

    Versions
    • 7.21+ds-1
    • 7.21+ds-2
    • 7.22+ds-1
    • 7.23+ds-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →