CVE-2026-134170
Cesanta Mongoose 7.22 before 7.24 Out-of-Bounds Read via mg_timegm
- State
- Published
- Severity
- 8.2 High
- Published
- Nov 20, 2026
- Updated
- Nov 20, 2026
- Reserved
- Nov 20, 2026
Description
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 8.2 High | CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N | VulnCheck |
| 3.1 | 5.9 Medium | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H | VulnCheck |
Weaknesses
- CWE-129 Improper Validation of Array Index
Affected Products
| Product | Versions |
|---|---|
mongoosecesanta |
|
References
- GitHub Security Advisory (GHSA-wc32-gjw7-5g65)vendor-advisory
- https://github.com/cesanta/mongoose/commit/7fccc2b75f64f416ba1c7fd4f5072ae33b44d578patch
- mongoose 7.24 Release Notesrelease-notes
- https://github.com/cesanta/mongoose/blob/7.23/src/util.c#L14-L25technical-description
- https://github.com/cesanta/mongoose/blob/7.23/src/tls_builtin.c#L1407-L1423technical-description
- VulnCheck Advisory: Cesanta Mongoose 7.22 before 7.24 Out-of-Bounds Read via mg_timegmthird-party-advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.