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.
{
"sources": [
{
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-73251",
"database_specific": {
"status": "Received"
},
"published": "2026-08-20T18:16:45.743Z",
"id": "CVE-2026-73251",
"modified": "2026-08-20T20:17:46.350Z",
"imported": "2026-08-23T06:20:36.648Z",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-73251"
},
{
"html_url": "https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-63494",
"modified": "2026-08-20T19:50:32Z",
"id": "EUVD-2026-63494",
"published": "2026-08-20T17:34:50Z",
"affected": {
"Cesanta:Mongoose": [
"< 7.23"
]
},
"imported": "2026-08-23T06:20:06.544Z",
"url": "https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-63494"
}
],
"license": "CC-BY-4.0"
}