{"id":"CVE-2026-134170","state":"PUBLISHED","title":"Cesanta Mongoose 7.22 before 7.24 Out-of-Bounds Read via mg_timegm","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.","publishedAt":"2026-11-20T22:30:36.568Z","updatedAt":"2026-11-20T22:30:36.568Z","severity":{"score":8.2,"label":"High","version":"4.0","vector":"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","source":"VulnCheck"},"assigner":"VulnCheck","products":["cesanta mongoose"],"affected":[{"vendor":"cesanta","product":"mongoose","packageURL":"pkg:github/cesanta/mongoose","defaultStatus":"unaffected","versions":[{"version":"7.22","status":"affected","lessThan":"7.24","versionType":"custom"}],"repo":"https://github.com/cesanta/mongoose"}],"references":["https://github.com/cesanta/mongoose/security/advisories/GHSA-wc32-gjw7-5g65","https://github.com/cesanta/mongoose/commit/7fccc2b75f64f416ba1c7fd4f5072ae33b44d578","https://github.com/cesanta/mongoose/releases/tag/7.24","https://github.com/cesanta/mongoose/blob/7.23/src/util.c#L14-L25","https://github.com/cesanta/mongoose/blob/7.23/src/tls_builtin.c#L1407-L1423","https://www.vulncheck.com/advisories/cesanta-mongoose-7.22-before-7.24-out-of-bounds-read-via-mg-timegm"],"weaknesses":["CWE-129"],"ingestedAt":"2026-11-20T22:40:06.197Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/134xxx/CVE-2026-134170.json","commit":"93fae22e92b1438e1184d31077a0fcc8c2734e05","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-134170","state":"PUBLISHED","datePublished":"2026-11-20T22:30:36.568Z","dateUpdated":"2026-11-20T22:30:36.568Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-11-20T22:01:22.686Z"},"containers":{"cna":{"title":"Cesanta Mongoose 7.22 before 7.24 Out-of-Bounds Read via mg_timegm","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"cesanta","product":"mongoose","packageURL":"pkg:github/cesanta/mongoose","defaultStatus":"unaffected","versions":[{"version":"7.22","status":"affected","lessThan":"7.24","versionType":"custom"}],"repo":"https://github.com/cesanta/mongoose"}],"references":[{"url":"https://github.com/cesanta/mongoose/security/advisories/GHSA-wc32-gjw7-5g65","tags":["vendor-advisory"],"name":"GitHub Security Advisory (GHSA-wc32-gjw7-5g65)"},{"url":"https://github.com/cesanta/mongoose/commit/7fccc2b75f64f416ba1c7fd4f5072ae33b44d578","tags":["patch"]},{"url":"https://github.com/cesanta/mongoose/releases/tag/7.24","tags":["release-notes"],"name":"mongoose 7.24 Release Notes"},{"url":"https://github.com/cesanta/mongoose/blob/7.23/src/util.c#L14-L25","tags":["technical-description"]},{"url":"https://github.com/cesanta/mongoose/blob/7.23/src/tls_builtin.c#L1407-L1423","tags":["technical-description"]},{"url":"https://www.vulncheck.com/advisories/cesanta-mongoose-7.22-before-7.24-out-of-bounds-read-via-mg-timegm","name":"VulnCheck Advisory: Cesanta Mongoose 7.22 before 7.24 Out-of-Bounds Read via mg_timegm","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"NETWORK","attackComplexity":"HIGH","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":8.2,"baseSeverity":"HIGH"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","baseScore":5.9,"baseSeverity":"MEDIUM"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-129","lang":"en","description":"Improper Validation of Array Index","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-11-20T22:30:36.568Z"},"datePublic":"2026-11-20T13:39:24.000Z","cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:cesanta:mongoose:*:*:*:*:*:*:*:*","versionStartIncluding":"7.22","versionEndExcluding":"7.24"}]}]}],"credits":[{"lang":"en","value":"Bruno Alvarenga","type":"finder"},{"lang":"en","value":"Allan Victor","type":"finder"}],"x_generator":{"engine":"vulncheck-endgame"}}}}}