PT-2026-165226
CVE-2026-141471
·
Published
2026-12-01
·
Updated
2026-12-02
Description by
CVSS 4.0
9.1
CriticalMetricsAV: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
Name of the Vulnerable Software and Affected Versions
Mongoose versions 7.17 through 7.23
Description
The 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. This occurs because the
mg tls verify cert signature() function can return a negative issuer-key parsing result that is incorrectly negated by callers, leading the system to treat the verification as successful. An attacker can use a crafted issuer containing the trusted CA subject and public-key bytes with an unparseable RSA encoding paired with an attacker-self-signed leaf. This allows a redirected client connection to complete a TLS 1.3 handshake and exchange application data without the trusted CA private key.Recommendations
Update to version 7.24.
Found an issue in the description? Have something to add? Feel free to write us 👾