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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-295"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/141xxx/CVE-2026-141471.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "7.17"
},
{
"fixed": "7.24"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "ca5ca3403c08c93f71b833ee24985345aff58dfd"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "7.24",
"range": [
{
"fixed": "91b87a6bd8568f101680d4fc0db3d8773f74eb6c"
}
],
"source": "REFERENCES_TAG"
}
]
}