Cesanta Mongoose 7.22 before 7.24 with the built-in TLS stack contains an out-of-bounds read in mg_timegm() that
Source GCVE Database
Not known to be exploited · CVSS 8.2 High : upgrade to 7.24 soon.
Data as of 21 Nov 2026, 01:57 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 8.2 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 5.9 |
- Patch
- Available – fixed in 7.24
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 20 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 20 Nov 2026.
What to do
Upgrade mongoose to 7.24.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| cesantamongoose | Affected
| Fixed in
|
GitHubmongoosepkg:github/mongooseOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
If you cannot patch yet, consider blocking or filtering TLS connections presenting suspicious or malformed certificates if feasible.
Description
Cesanta Mongoose versions 7.22 up to but not including 7.24 with the built-in TLS stack have an out-of-bounds read vulnerability in the mg_timegm() function. This flaw allows remote attackers to cause a denial of service by crashing the process during TLS handshake when presented with a crafted X.509 certificate containing invalid month values in the certificate validity period.
References
- github.com/cesanta/mongoose/security/advisories/GHSA-wc32-gjw7-5g65 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-134170 (opens in a new tab)
- github.com/cesanta/mongoose/commit/7fccc2b75f64f416ba1c7fd4f5072ae33b44d578 (opens in a new tab)
- github.com/cesanta/mongoose/blob/7.23/src/tls_builtin.c (opens in a new tab)
- github.com/cesanta/mongoose/blob/7.23/src/util.c (opens in a new tab)
- github.com/cesanta/mongoose/releases/tag/7.24 (opens in a new tab)
- vulncheck.com/advisories/cesanta-mongoose-7.22-before-7.24-out-of-bounds-read-via-mg-timegm (opens in a new tab)