{"id":"UBUNTU-CVE-2026-134170","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.","modified":"2026-11-25T17:45:52Z","published":"2026-11-20T23:16:00Z","upstream":["CVE-2026-134170"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-134170"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-134170"},{"type":"REPORT","url":"https://github.com/cesanta/mongoose/security/advisories/GHSA-wc32-gjw7-5g65"},{"type":"REPORT","url":"https://github.com/cesanta/mongoose/commit/7fccc2b75f64f416ba1c7fd4f5072ae33b44d578"},{"type":"REPORT","url":"https://github.com/cesanta/mongoose/blob/7.23/src/tls_builtin.c#L1407-L1423"},{"type":"REPORT","url":"https://github.com/cesanta/mongoose/blob/7.23/src/util.c#L14-L25"},{"type":"REPORT","url":"https://github.com/cesanta/mongoose/commit/7fccc2b75f64f416ba1c7fd4f5072ae33b44d578"},{"type":"REPORT","url":"https://github.com/cesanta/mongoose/releases/tag/7.24"},{"type":"REPORT","url":"https://www.vulncheck.com/advisories/cesanta-mongoose-7.22-before-7.24-out-of-bounds-read-via-mg-timegm"}],"affected":[{"package":{"name":"mongoose","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/mongoose?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.21+ds-1","7.21+ds-2","7.22+ds-1","7.23+ds-1"],"ecosystem_specific":{"binaries":[{"binary_name":"mongoose-webserver-source","binary_version":"7.23+ds-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-134170.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"CNA"},{"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","source":"CNA"},{"type":"Ubuntu","score":"medium","source":"SELF"}]}