CVE-2026-134170: Cesanta Mongoose 7.22 before 7.24 Out-of-Bounds Read via mg_timegm
Cesanta Mongoose 7.22 before 7.24 with the built-in TLS stack contains an out-of-bounds read in mgtimegm() 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 Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/mongooseto a version that resolves this vulnerability.Fixed in 7.24+ds-1