{"id":"JLSEC-2026-2422","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.","modified":"2026-12-04T20:00:04.201716277Z","published":"2026-12-04T19:49:13.191Z","upstream":["CVE-2026-141471","EUVD-2026-140703"],"database_specific":{"license":"CC-BY-4.0","sources":[{"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","html_url":"https://nvd.nist.gov/vuln/detail/CVE-2026-141471","database_specific":{"status":"Analyzed"},"affected":{"cesanta:mongoose":["\u003e= 7.17, \u003c 7.24"]},"id":"CVE-2026-141471","imported":"2026-12-03T21:20:36.287Z"},{"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","html_url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-140703","affected":{"Cesanta:Mongoose":["7.17, \u003c 7.24"]}}]},"references":[{"type":"WEB","url":"https://github.com/cesanta/mongoose/commit/ca5ca3403c08c93f71b833ee24985345aff58dfd"},{"type":"WEB","url":"https://github.com/cesanta/mongoose/releases/tag/7.24"},{"type":"WEB","url":"https://github.com/cesanta/mongoose/security/advisories/GHSA-wv74-vfp5-x4cp"}],"affected":[{"package":{"name":"Mongoose_jll","ecosystem":"Julia","purl":"pkg:julia/Mongoose_jll?uuid=0a8a3f5b-4c0e-5906-8e29-5b3fee15539c"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"database_specific":{"source":"https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2026/JLSEC-2026-2422.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","source":"NVD"},{"type":"CVSS_V4","score":"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","source":"CNA"}]}