# JLSEC-2026-1377: Mongoose is an embedded web server and network library.

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-08-24T13:43:17.899Z
- Modified: 2026-08-24T14:00:03.437Z
- Related: CVE-2026-73253, EUVD-2026-63500

## Description

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.

(As written by Julia Security Advisories.)

## Affected

- Mongoose_jll (Julia): all versions

## References

- <https://github.com/cesanta/mongoose/commit/a9df523f76f43a38bd53b4232b9cfd4c16869e71> (web)
- <https://github.com/cesanta/mongoose/pull/3611> (web)
- <https://github.com/cesanta/mongoose/releases/tag/7.22> (web)
- <https://github.com/cesanta/mongoose/security/advisories/GHSA-jp6g-796f-39vp> (web)

## Sources

- Julia Security Advisories: [JLSEC-2026-1377](https://osv.dev/vulnerability/JLSEC-2026-1377), CC-BY-4.0, modified 2026-08-24

---

Page: https://cve.day/JLSEC-2026-1377 · Whole record: https://cve.day/JLSEC-2026-1377.json · Rebuilt by cve.day 2026-11-25T22:56:25.960Z
