Cesanta Mongoose 7.22 before 7.24 Out-of-Bounds Read via mg_timegm
CVE-2026-134170Published 20 Nov 2026, 22:30 UTC
Real-world risk
0.8/ 10Low
Routine
If the vulnerable configuration applies to you: 1.7
PreliminaryFrom the CVSS vector only · confidence low
CVSS
8.2
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from VulnCheck)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| mongooseCommon | >= 7.22, < 7.24 | 7.24 |
What to do
Update to a fixed version: 7.24.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Denial of serviceCrash or resource exhaustion only | From the CVSS vector | 0.40 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | UncommonNeeds a non-default feature that a minority enables | From the CVSS vector | 0.45 |
| Reliability | HardNarrow race, needs an extra info leak, needs a man-in-the-middle position, or must be chained with another bug | From the CVSS vector | 0.45 |
Threat level T3: Public proof of concept (× 0.95)
A qualifying GitHub proof of concept, an unverified Exploit-DB entry, CISA's SSVC says PoC, or a reference tagged as an exploit
- Reference tagged as exploit (link)
- CISA SSVC: proof of concept
EPSS 0.7% chance of exploitation in 30 days (percentile 55), as of 2026-12-03.
The arithmetic
- Prerequisites multiplied together0.203
- Threat T3: Public proof of concept0.950
- 10 × impact 0.4 × prerequisites 0.2025 × threat 0.950.769
- Rounded to one decimal between 0.1 and 100.8
Exploitation and evidence timeline
- 20 Nov 2026 Published
- 3 Dec 2026 Reference tagged as exploit first seen
- 3 Dec 2026 CISA SSVC: proof of concept first seen
- 3 Dec 2026 Risk 0.8 (cvss fallback)
Weakness
CWE-129
References
- https://github.com/cesanta/mongoose/security/advisories/GHSA-wc32-gjw7-5g65exploit, vendor-advisory
- https://github.com/cesanta/mongoose/commit/7fccc2b75f64f416ba1c7fd4f5072ae33b44d578patch
- https://github.com/cesanta/mongoose/releases/tag/7.24release-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
- https://www.vulncheck.com/advisories/cesanta-mongoose-7.22-before-7.24-out-of-bounds-read-via-mg-timegmthird-party-advisory
- CVE-2026-134170 on CVE.org