Use of Out-of-range Pointer Offset in Mongoose - #VU168687
Published: November 20, 2026
Vulnerability details
The vulnerability allows a remote attacker to cause a denial of service by crashing the Mongoose process.
The vulnerability exists due to the use of an out-of-range pointer offset in mg_tls_verify_cert_signature() when parsing X.509 ECDSA signatures without checking the encoded lengths against the signature buffer bounds. A remote attacker can present a malformed peer certificate during a handshake with a Mongoose endpoint configured to verify peer certificates using built-in TLS to trigger an out-of-bounds read and crash the process before certificate trust is established.