Out-of-bounds read in Mongoose - CVE-2026-52061
Published: August 12, 2026
Vulnerability details
The vulnerability allows a remote attacker to disclose sensitive information or cause a denial of service.
The vulnerability exists due to an out-of-bounds read in the mg_tls_recv_cert() function when parsing a TLS Certificate handshake message. A remote attacker can send a specially crafted Certificate message to disclose sensitive information or cause a denial of service.
The issue can be triggered during the TLS handshake before any application-layer authentication and is also reachable on the server side when mutual TLS processes a malicious client certificate.