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.
{
"license": "CC-BY-4.0",
"sources": [
{
"affected": {
"cesanta:mongoose": [
">= 7.17, < 7.24"
]
},
"database_specific": {
"status": "Analyzed"
},
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-141471",
"id": "CVE-2026-141471",
"imported": "2026-12-03T21:20:36.287Z",
"modified": "2026-12-03T01:17:54.060Z",
"published": "2026-12-01T21:17:11.010Z",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-141471"
},
{
"affected": {
"Cesanta:Mongoose": [
"7.17, < 7.24"
]
},
"html_url": "https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-140703",
"id": "EUVD-2026-140703",
"imported": "2026-12-03T21:20:36.289Z",
"modified": "2026-12-01T20:29:58Z",
"published": "2026-12-01T20:29:58Z",
"url": "https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-140703"
}
]
}