{"id":"JLSEC-2026-1377","aliases":["JLSEC-2026-1377"],"related":["CVE-2026-73253","EUVD-2026-63500"],"kind":"vulnerability","state":"published","title":"Mongoose is an embedded web server and network library.","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.","summaryFormat":"markdown","summarySource":"jlsec","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.","format":"markdown","source":"jlsec"}],"published":"2026-08-24T13:43:17.899Z","modified":"2026-08-24T14:00:03.437Z","severities":[{"scorer":"Julia Security Advisories","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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"}],"cwes":[],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Julia","package":"Mongoose_jll","purl":"pkg:julia/Mongoose_jll?uuid=0a8a3f5b-4c0e-5906-8e29-5b3fee15539c","source":"jlsec"}],"references":[{"url":"https://github.com/cesanta/mongoose/commit/a9df523f76f43a38bd53b4232b9cfd4c16869e71","tags":["web"],"sources":["jlsec"]},{"url":"https://github.com/cesanta/mongoose/pull/3611","tags":["web"],"sources":["jlsec"]},{"url":"https://github.com/cesanta/mongoose/releases/tag/7.22","tags":["web"],"sources":["jlsec"]},{"url":"https://github.com/cesanta/mongoose/security/advisories/GHSA-jp6g-796f-39vp","tags":["web"],"sources":["jlsec"]}],"credits":[],"sources":[{"source":"jlsec","name":"Julia Security Advisories","id":"JLSEC-2026-1377","url":"https://osv.dev/vulnerability/JLSEC-2026-1377","licence":"CC-BY-4.0","modified":"2026-08-24T14:00:03.437Z"}],"updatedAt":"2026-11-25T22:56:25.960Z"}