CVE-2026-73253

CRITICAL CVSS 4.0: 9.1 EPSS 0.34%
Updated Oct 18, 2026
Cesanta
Parameter Value
CVSS 9.1 (CRITICAL)
Affected Versions before 7.22
Fixed In 7.22
Type CWE-295 (Improper Certificate Validation)
Vendor Cesanta
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
Present
Additional conditions required
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
None
No disruption

CVSS Vector v4.0

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Cesanta Mongoose
cpe:2.3:a:cesanta:mongoose:*:*:*:*:*:*:*:*
— 7.22