Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-134170: high-severity vulnerability (CVSS 8.2) in cesanta mongoose.
What happened
Original description from the source: 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.
Why it matters
High severity, CVSS 8.2.
Affected products and versions
cesanta mongoose >= 7.22, < 7.24
| Product | Versions | Fixed in |
|---|---|---|
| cesanta mongoose | >= 7.22, < 7.24 | — |
Action recommended by the source
See the official references for the fix or mitigation.
Sources and references
- https://github.com/cesanta/mongoose/security/advisories/GHSA-wc32-gjw7-5g65 — CVE Program
- https://github.com/cesanta/mongoose/commit/7fccc2b75f64f416ba1c7fd4f5072ae33b44d578 — CVE Program
- https://github.com/cesanta/mongoose/releases/tag/7.24 — CVE Program
- https://github.com/cesanta/mongoose/blob/7.23/src/util.c#L14-L25 — CVE Program
- https://github.com/cesanta/mongoose/blob/7.23/src/tls_builtin.c#L1407-L1423 — CVE Program
- https://www.vulncheck.com/advisories/cesanta-mongoose-7.22-before-7.24-out-of-bounds-read-via-mg-timegm — CVE Program
Weaknesses (CWE): CWE-129
Relevant change history
Published
Preliminary advisory published.