CVE-2026-73251

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:cesanta:mongoose:*:*:*:*:*:*:*:*

History

18 Oct 2026, 20:10

Type Values Removed Values Added
Summary
  • (es) Mongoose es un servidor web incrustado y una biblioteca de red. Antes de la 7.23, un atacante de red puede suplantar un servidor TLS a un cliente Mongoose configurado con un paquete de CA de múltiples certificados. En src/tls_builtin.c, la función mg_tls_init() almacena el paquete en tls -> ca_bundle_der mientras que tls -> ca_der.len permanece en cero, y mg_tls_recv_cert() utiliza tls_bundle_find() para aceptar una coincidencia de Nombre Común sin llamar a mg_tls_verify_cert_signature(). Un certificado autofirmado falsificado puede, por lo tanto, satisfacer las comprobaciones de nombre de host y CertificateVerify y permitir la interceptación, la divulgación de credenciales, la modificación del tráfico y respuestas maliciosas. Este problema está corregido en la versión 7.23.

29 Sep 2026, 15:38

Type Values Removed Values Added
CPE cpe:2.3:a:cesanta:mongoose:*:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 9.1
First Time Cesanta mongoose
Cesanta
References () https://github.com/cesanta/mongoose/commit/2988bc9df3a5efc9539471cb7455975fa25df483 - () https://github.com/cesanta/mongoose/commit/2988bc9df3a5efc9539471cb7455975fa25df483 - Patch
References () https://github.com/cesanta/mongoose/releases/tag/7.23 - () https://github.com/cesanta/mongoose/releases/tag/7.23 - Release Notes
References () https://github.com/cesanta/mongoose/security/advisories/GHSA-qj6j-2692-v2r8 - () https://github.com/cesanta/mongoose/security/advisories/GHSA-qj6j-2692-v2r8 - Vendor Advisory

Information

Published : 2026-08-20 18:16

Updated : 2026-10-18 20:10


NVD link : CVE-2026-73251

Mitre link : CVE-2026-73251

CVE.ORG link : CVE-2026-73251


JSON object : View

Products Affected

cesanta

  • mongoose
CWE
CWE-295

Improper Certificate Validation