{"id":"CVE-2026-141471","aliases":["GHSA-wv74-vfp5-x4cp"],"url":"https://o3.security/vulnerability/CVE-2026-141471","summary":"Mongoose: Built-in TLS client accepts a server certificate after issuer signature verification fails","details":"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":"2026-12-01T20:29:58.297Z","modified":"2026-12-02T21:01:47.688222126Z","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[],"fix":{"url":"https://github.com/cesanta/mongoose/commit/ca5ca3403c08c93f71b833ee24985345aff58dfd","label":"cesanta/mongoose@ca5ca34"},"references":[{"type":"WEB","url":"https://github.com/cesanta/mongoose/releases/tag/7.24"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/141xxx/CVE-2026-141471.json"},{"type":"ADVISORY","url":"https://github.com/cesanta/mongoose/security/advisories/GHSA-wv74-vfp5-x4cp"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-141471"},{"type":"FIX","url":"https://github.com/cesanta/mongoose/commit/ca5ca3403c08c93f71b833ee24985345aff58dfd"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-12-02T21:01:47.688222126Z"}}