p PatchFirst

CVE-2026-73251

CVE-2026-73251 · Mongoose Built-in TLS: CA-bundle certificate chain accepted without any signature verification

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

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 while tls->ca_der.len remains zero, and mg_tls_recv_cert() uses tls_bundle_find() to accept a Common Name match without calling mg_tls_verify_cert_signature(). A forged self-signed certificate can therefore satisfy hostname and CertificateVerify checks and enable interception, credential disclosure, traffic modification, and malicious responses. This issue is fixed in version 7.23.

CVSS 9.3 · Critical · EPSS 0.2% · Fix available

Published
Updated

Stack: system

Affected products and versions

  • mongoose

    Versions
    • < 7.23: Affected

    No fix published

  • mongoose Debian:14

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

    Update to 7.23+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 →