Mongoose is an embedded web server and network library. Prior to version 7.22, an on-path network attacker with a wildcard certificate for a parent domain can impersonate deeper subdomains to a client using the built-in TLS stack. The mg_tls_verify_cert_san() and mg_tls_verify_cert_cn() functions in src/tls_builtin.c call mg_match(), whose wildcard can cross DNS label boundaries, so a pattern such as *.example.com can match foo.bar.example.com. The resulting hostname verification bypass permits interception and modification of TLS traffic. This issue is fixed in version 7.22.
{
"license": "CC-BY-4.0",
"sources": [
{
"database_specific": {
"status": "Received"
},
"published": "2026-08-20T18:16:45.940Z",
"imported": "2026-08-23T06:20:12.239Z",
"id": "CVE-2026-73253",
"modified": "2026-08-20T19:17:01.203Z",
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-73253",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-73253"
},
{
"id": "EUVD-2026-63500",
"published": "2026-08-20T17:41:02Z",
"affected": {
"Cesanta:Mongoose": [
"< 7.22"
]
},
"imported": "2026-08-23T06:20:06.545Z",
"url": "https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-63500",
"html_url": "https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-63500",
"modified": "2026-08-20T18:36:17Z"
}
]
}