# CVE-2026-134170: Cesanta Mongoose 7.22 before 7.24 Out-of-Bounds Read via mg_timegm

- Severity: High 8.2 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.70%, higher than 54% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-20T22:30:36.568Z
- Modified: 2026-11-23T17:17:33.377Z
- Weaknesses: CWE-129
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- cesanta mongoose: from 7.22 before 7.24

## Every score

- VulnCheck: CVSS: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: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/cesanta/mongoose/security/advisories/GHSA-wc32-gjw7-5g65> (exploit, vendor-advisory)
- <https://github.com/cesanta/mongoose/commit/7fccc2b75f64f416ba1c7fd4f5072ae33b44d578> (patch)
- <https://github.com/cesanta/mongoose/releases/tag/7.24> (release-notes)
- <https://github.com/cesanta/mongoose/blob/7.23/src/util.c#L14-L25> (technical-description)
- <https://github.com/cesanta/mongoose/blob/7.23/src/tls_builtin.c#L1407-L1423> (technical-description)
- <https://www.vulncheck.com/advisories/cesanta-mongoose-7.22-before-7.24-out-of-bounds-read-via-mg-timegm> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-134170](https://www.cve.org/CVERecord?id=CVE-2026-134170), CVE Terms of Use, modified 2026-11-23
- NVD: [CVE-2026-134170](https://nvd.nist.gov/vuln/detail/CVE-2026-134170), Public domain, modified 2026-11-23

---

Page: https://cve.day/CVE-2026-134170 · Whole record: https://cve.day/CVE-2026-134170.json · Rebuilt by cve.day 2026-11-25T22:59:52.481Z
