Out-of-bounds read in Mongoose - CVE-2026-52061

 

Out-of-bounds read in Mongoose - CVE-2026-52061

Published: August 12, 2026


Vulnerability identifier: #VU142193
CSH Severity: High
CVSS v4: 8.8 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-52061
CWE-ID: CWE-125
Exploitation vector: Remote access
Exploit availability: No public exploit available

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.


Affected software

Mongoose

How to mitigate CVE-2026-52061

Install security update from vendor's website.

Mongoose - update to 7.22

External References

Related Security Bulletins