CVE-2026-134170
Cesanta Mongoose 7.22 before 7.24 with the built-in TLS stack …
Cesanta Mongoose 7.22 before 7.24 with the built-in TLS stack contains an out-of-bounds read in mg_timegm() that allows remote attackers to crash the process via crafted X.509 certificate validity months. Attackers can present a certificate with month '00' or out-of-range values during the handshake, before signature verification, causing an unchecked dm array index and denial of service.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/cesanta/mongoose/blob/7.23/src/tls_builtin.c#L1407-L1423
- github.com/cesanta/mongoose/blob/7.23/src/util.c#L14-L25
- github.com/cesanta/mongoose/commit/7fccc2b75f64f416ba1c7fd4f5072ae33b44d578
- github.com/cesanta/mongoose/releases/tag/7.24
- github.com/cesanta/mongoose/security/advisories/GHSA-wc32-gjw7-5g65
- www.vulncheck.com/advisories/cesanta-mongoose-7.22-before-7.24-out-of-bounds-read-via-mg-t
- nvd.nist.gov/vuln/detail/CVE-2026-134170
- cve.org/CVERecord?id=CVE-2026-134170
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.