{"id":"CVE-2026-134170","summary":"Cesanta Mongoose 7.22 before 7.24 Out-of-Bounds Read via mg_timegm","details":"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.","aliases":["GHSA-wc32-gjw7-5g65"],"modified":"2026-11-21T00:00:09.567441969Z","published":"2026-11-20T22:30:36.568Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/134xxx/CVE-2026-134170.json","unresolved_ranges":[{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"7.22"},{"fixed":"7.24"}]}]},{"extracted_events":[{"source":"CPE_FIELD","strategy":"CPEApplicability","range":[{"introduced":"7.22"},{"fixed":"7.24"}]}]},{"extracted_events":[{"source":"DESCRIPTION","range":[{"introduced":"7.22"},{"fixed":"7.24"}]}]}],"cna_assigner":"VulnCheck","cwe_ids":["CWE-129"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/134xxx/CVE-2026-134170.json"},{"type":"PACKAGE","url":"https://github.com/cesanta/mongoose"},{"type":"ARTICLE","url":"https://github.com/cesanta/mongoose/blob/7.23/src/tls_builtin.c#L1407-L1423"},{"type":"ARTICLE","url":"https://github.com/cesanta/mongoose/blob/7.23/src/util.c#L14-L25"},{"type":"FIX","url":"https://github.com/cesanta/mongoose/commit/7fccc2b75f64f416ba1c7fd4f5072ae33b44d578"},{"type":"ADVISORY","url":"https://github.com/cesanta/mongoose/releases/tag/7.24"},{"type":"ADVISORY","url":"https://github.com/cesanta/mongoose/security/advisories/GHSA-wc32-gjw7-5g65"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-134170"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/cesanta-mongoose-7.22-before-7.24-out-of-bounds-read-via-mg-timegm"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/cesanta/mongoose","events":[{"introduced":"0"},{"fixed":"7fccc2b75f64f416ba1c7fd4f5072ae33b44d578"},{"fixed":"91b87a6bd8568f101680d4fc0db3d8773f74eb6c"}],"database_specific":{"extracted_events":[{"range":[{"fixed":"7fccc2b75f64f416ba1c7fd4f5072ae33b44d578"}],"source":"REFERENCES_COMMIT"},{"original_tag":"7.24","range":[{"fixed":"91b87a6bd8568f101680d4fc0db3d8773f74eb6c"}],"source":"REFERENCES_TAG"}]}}],"versions":["7.23","7.22","7.21","7.20","7.19","7.18","7.17","7.16","7.15","7.14","7.13","7.12","7.11","7.8","7.7","7.6","7.5","7.4","7.3","7.2","7.1","7.0","6.18","6.17","6.16","6.15","6.14","6.13","6.12","6.11","6.10","6.9","6.7","6.6","6.5","6.4","6.3","6.2","6.1","6.0","5.6","5.5_20140120","5.5","5.4","5.3","5.2","5.1","5.0","4.1","4.0","3.8","3.7","3.6","3.5","3.4","3.3","3.2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-134170.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}