Improper Certificate Validation Affecting cesanta/mongoose package, versions [,7.22)


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.21% (12th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-CESANTAMONGOOSE-19233307
  • published23 Aug 2026
  • disclosed21 Aug 2026
  • creditUnknown

Introduced: 21 Aug 2026

NewCVE-2026-73253  (opens in a new tab)
CWE-295  (opens in a new tab)

How to fix?

Upgrade cesanta/mongoose to version 7.22 or higher.

Overview

cesanta/mongoose is a networking library for C/C++. It implements event-driven non-blocking APIs for TCP, UDP, HTTP, WebSocket, MQTT.

Affected versions of this package are vulnerable to Improper Certificate Validation via the mg_match function used in certificate verification. An attacker can intercept and modify TLS traffic by presenting a wildcard certificate for a parent domain, which is incorrectly accepted for deeper subdomains due to improper wildcard matching.

CVSS Base Scores

version 4.0
version 3.1