CVE-2026-141471
CRITICAL 9.1CVSS 4.0Mongoose: Built-in TLS client accepts a server certificate after issuer signature verification fails
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.
- Published
- 1 Dec 2026
- Last modified
- 3 Dec 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-295
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | CRITICAL 9.1 | CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| CVE List | GitHub_M | CVSS 4.0 | CRITICAL 9.1 | CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | cesanta | mongoosecpe:2.3:a:cesanta:mongoose:*:*:*:*:*:*:*:* |
>= 7.17, < 7.24 | 7.24 |
| CVE List | cesanta | mongoose | = >= 7.17, < 7.24 |
References
- https://github.com/cesanta/mongoose/commit/ca5ca3403c08c93f71b833ee24985345aff58dfd · Patch, x_refsource_MISC
- https://github.com/cesanta/mongoose/releases/tag/7.24 · Release Notes, x_refsource_MISC
- https://github.com/cesanta/mongoose/security/advisories/GHSA-wv74-vfp5-x4cp · Vendor Advisory, Exploit, x_refsource_CONFIRM
History
- 3 Dec 2026 03:06 UTC · NVD: status Awaiting Analysis → Analyzed; affected list changed (1 entry)
- 1 Dec 2026 21:37 UTC · NVD: first stored (published 1 Dec 2026)
- 1 Dec 2026 20:49 UTC · CVE List: first stored (published 1 Dec 2026)