Out-of-bounds write in Mongoose - CVE-2021-26529

 

Out-of-bounds write in Mongoose - CVE-2021-26529

Published: November 21, 2024 / Updated: June 23, 2025


Vulnerability identifier: #VU111829
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2021-26529
CWE-ID: CWE-787
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Cesanta Software Ltd.
Affected software:
Mongoose

Detailed vulnerability description

The vulnerability allows a remote non-authenticated attacker to damange or delete data.

The mg_tls_init function in Cesanta Mongoose HTTPS server 7.0 and 6.7-6.18 (compiled with mbedTLS support) is vulnerable to remote OOB write attack via connection request after exhausting memory pool.


How to mitigate CVE-2021-26529

Install update from vendor's website.

Sources