cve.bz

CVE-2026-73251 cesanta mongoose: Improper Certificate Validation

9.3 criticalEPSS 0.2%Fix available

Critical (9.3) in cesanta mongoose. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
Mongoose is an embedded web server and network library. Prior to 7.23, a network attacker can impersonate a TLS server to a Mongoose client configured with a multi-certificate CA bundle. In src/tls_builtin.c, the mg_tls_init() function stores the bundle in tls->ca_bundle_der while tls->ca_der.len remains zero, and mg_tls_recv_cert() uses tls_bundle_find() to accept a Common Name match without calling mg_tls_verify_cert_signature(). A forged self-signed certificate can therefore satisfy hostname and CertificateVerify checks and enable interception, credential disclosure, traffic modification, and malicious responses. This issue is fixed in version 7.23.

Severity

CVSS 4.0

9.3 critical
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

CVSS 3.1

9.1 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 9th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: total, assessed 2026-08-20. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-295 Improper Certificate Validation
OWASP Top 10
A07:2025 Authentication Failures
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-73251 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-73251?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-73251?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-73251 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
cesanta:mongoosebefore 7.23

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian14mongoose7.23+ds-1DEBIAN-CVE-2026-73251
Ubuntu26.10mongooseno fix listedUBUNTU-CVE-2026-73251

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Critical.

Red Hat's statement

A flaw was found in Mongoose, an embedded web server and networking library, which Red Hat tracks with a Critical impact rating. When a Mongoose client uses the built-in TLS implementation and is configured with a multi-certificate CA bundle, server certificates are matched by name without their cryptographic signatures being verified. A remote network attacker can therefore present a forged, self-signed certificate to impersonate a trusted TLS server, enabling interception of encrypted communications, disclosure of sensitive credentials, and modification of network traffic. Within the Red Hat ecosystem, this issue currently affects only Fedora and EPEL community projects (the mongoose, flmsg, and smplayer components); no supported Red Hat-branded products are listed as affected. Although the flaw is rated Critical overall, the Red Hat CVSS score (7.4, Important) is lower than the NIST score (9.1, Critical) because successful exploitation requires a client using the built-in TLS stack with a CA bundle configured, which increases attack complexity.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-73251.

Attack patterns (CAPEC)

  • CAPEC-459 Creating a Rogue Certification Authority Certificate Likelihood: Medium · Severity: Very High
  • CAPEC-475 Signature Spoofing by Improper Validation Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON