Out-of-bounds read in Mongoose - #VU168684
Published: November 20, 2026
Vulnerability details
The vulnerability allows a remote attacker to disclose memory contents on 32-bit systems or crash the process on 64-bit systems.
The vulnerability exists due to an out-of-bounds read in mg_timegm when Mongoose's built-in TLS stack converts a certificate timestamp without checking the month before indexing a lookup table. A remote attacker can present a certificate with a malformed timestamp during the TLS handshake to expose memory contents through certificate validation outcomes or cause a denial of service.