CVE-2026-134170
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Mitigation details
CVE-2026-134170 NameCVE-2026-134170 DescriptionCesanta 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…
CVE-2026-134170
| Name | CVE-2026-134170 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| mongoose (PTS) | forky | 7.23+ds-1 | vulnerable |
| sid | 7.24+ds-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| mongoose | source | (unstable) | 7.24+ds-1 |
Notes
https://github.com/cesanta/mongoose/security/advisories/GHSA-wc32-gjw7-5g65
https://github.com/cesanta/mongoose/commit/7fccc2b75f64f416ba1c7fd4f5072ae33b44d578 (7.24)
Apply commands
https://github.com/cesanta/mongoose/security/advisories/GHSA-wc32-gjw7-5g65https://github.com/cesanta/mongoose/commit/7fccc2b75f64f416ba1c7fd4f5072ae33b44d578 (7.24)
OS impact
Debian Fixed 2 releases
| Version | Package | Status | Fixed in |
|---|---|---|---|
| sid | mongoose |
Fixed | 7.24+ds-1 |
| forky | mongoose |
Fixed | 7.24+ds-1 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| cesanta | mongoose | {"startIncluding":"7.22","endExcluding":"7.24"} | 7.24 |
References
- https://github.com/cesanta/mongoose/blob/7.23/src/tls_builtin.c#L1407-L1423
- https://github.com/cesanta/mongoose/blob/7.23/src/util.c#L14-L25
- https://github.com/cesanta/mongoose/commit/7fccc2b75f64f416ba1c7fd4f5072ae33b44d578
- https://github.com/cesanta/mongoose/releases/tag/7.24
- https://github.com/cesanta/mongoose/security/advisories/GHSA-wc32-gjw7-5g65
- https://www.vulncheck.com/advisories/cesanta-mongoose-7.22-before-7.24-out-of-bounds-read-via-mg-timegm
- https://security-tracker.debian.org/tracker/CVE-2026-134170
CWEs
CWE-129
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.