{"id":"CVE-2026-73253","aliases":["CVE-2026-73253"],"related":[],"kind":"vulnerability","state":"published","title":"Mongoose: TLS Hostname Verification Bypass via Overly Permissive Wildcard Matching","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Mongoose es un servidor web incrustado y una biblioteca de red. Antes de la versión 7.22, un atacante de red en la ruta con un certificado comodín para un dominio padre puede suplantar subdominios más profundos a un cliente utilizando la pila TLS integrada. Las funciones mg_tls_verify_cert_san() y mg_tls_verify_cert_cn() en src/tls_builtin.c llaman a mg_match(), cuyo comodín puede cruzar los límites de las etiquetas DNS, por lo que un patrón como '*.example.com' puede coincidir con 'foo.bar.example.com'. La omisión resultante de la verificación del nombre de host permite la interceptación y modificación del tráfico TLS. Este problema está solucionado en la versión 7.22.","source":"nvd"}],"published":"2026-08-20T17:41:02.495Z","modified":"2026-10-18T20:10:00.110Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","score":9.1,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","score":9.1,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1,"rating":"CRITICAL"}],"cwes":["CWE-295"],"affected":[{"ranges":[{"version":"< 7.22","status":"affected"}],"vendor":"cesanta","product":"mongoose","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"7.22"}],"vendor":"cesanta","product":"mongoose","cpe":"cpe:2.3:a:cesanta:mongoose:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/cesanta/mongoose/security/advisories/GHSA-jp6g-796f-39vp","tags":["exploit","vendor-advisory","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/cesanta/mongoose/pull/3611","tags":["issue-tracking","patch","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/cesanta/mongoose/commit/a9df523f76f43a38bd53b4232b9cfd4c16869e71","tags":["patch","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/cesanta/mongoose/releases/tag/7.22","tags":["release-notes","x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2026-08-20T18:33:38.834Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-73253","url":"https://www.cve.org/CVERecord?id=CVE-2026-73253","licence":"CVE Terms of Use","modified":"2026-08-20T18:36:17.262Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-73253","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-73253","licence":"Public domain","modified":"2026-10-18T20:10:00.110Z"}],"updatedAt":"2026-11-25T22:59:34.682Z","epss":{"score":0.002,"percentile":0.10375,"date":"2026-12-01T12:00:22.000Z"}}