AI-assisted summary built from NVD and CISA data. Verify against the linked sources before acting.

Summary

Mongoose versions 7.17 through 7.24 can accept an attacker-controlled server certificate chain in a specific built-in TLS client configuration. This can undermine the client’s verification of the server’s identity.

Impact: TLS certificate verification bypass

Affected technologies

  • Cesanta Mongoose 7.17 through 7.24

Avoid the affected built-in TLS client configuration with a single DER CA certificate and ensure server certificate chains are securely validated.

Details

   
CVSS 9.1 (Critical)
Vendor / product Cesanta mongoose
Published 2026-12-01
Weakness CWE-295
Vector 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

Original description

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 unparsea

References

← Threat intelligence dashboard