Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-141471: critical-severity vulnerability (CVSS 9.1) in cesanta mongoose.
What happened
Original description from the source: Mongoose is an embedded web server and network library. From 7.17 until 7.24, Mongoose's MG_TLS_BUILTIN client in src/tls_builtin.c can accept an attacker-controlled server certificate chain when configured with a single DER CA certificate and processing a peer-provided chain, because mg_tls_verify_cert_signature() can return a negative issuer-key parsing result that callers negate as though verification succeeded. A crafted issuer with the trusted CA subject and public-key bytes but an unparseable RSA encoding can pair with an attacker-self-signed leaf that is not signed by the trusted CA, allowing a redirected client connection to complete a TLS 1.3 handshake and exchange application data without the trusted CA private key. This issue is fixed in 7.24.
Why it matters
Critical severity, CVSS 9.1.
Affected products and versions
cesanta mongoose >= 7.17, < 7.24
| Product | Versions | Fixed in |
|---|---|---|
| cesanta mongoose | >= 7.17, < 7.24 | — |
Action recommended by the source
See the official references for the fix or mitigation.
Sources and references
- https://github.com/cesanta/mongoose/security/advisories/GHSA-wv74-vfp5-x4cp — CVE Program
- https://github.com/cesanta/mongoose/commit/ca5ca3403c08c93f71b833ee24985345aff58dfd — CVE Program
- https://github.com/cesanta/mongoose/releases/tag/7.24 — CVE Program
Weaknesses (CWE): CWE-295
Relevant change history
Published
Preliminary advisory published.