Skip to content

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

CriticalCVSS 9.3 EPSS 0.19%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: total
Technology
UbuntuDebian

Description

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.

Upgrade path

3 packages: 2 fixed, 1 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/mongoose(Ubuntu 26.10) All versions No fix listed No fix yet
cesanta mongoose < 7.23; = < 7.23 7.23 Fixed
debian/mongoose(Debian 14) < 7.23+ds-1; = 7.21+ds-1; = 7.21+ds-1~bpo13+1; = 7.21+ds-2 +3 more 7.23+ds-1 Fixed

Affected products

ProductAffected versionsFixed in
cesanta mongoose = < 7.23 No fix listed
debian/mongoose(Debian:14) < 7.23+ds-1 7.23+ds-1
debian/mongoose(Debian:14) = 7.21+ds-1 No fix listed
debian/mongoose(Debian:14) = 7.21+ds-1~bpo13+1 No fix listed
debian/mongoose(Debian:14) = 7.21+ds-2 No fix listed
debian/mongoose(Debian:14) = 7.22+ds-1 No fix listed
debian/mongoose(Debian:14) = 7.22+ds-1~bpo13+1 No fix listed
debian/mongoose(Debian:14) = 7.23+ds-1~bpo13+1 No fix listed
ubuntu/mongoose(Ubuntu:26.10) All versions No fix listed
cesanta mongoose < 7.23 7.23

References