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: 8.8 [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]
CVE-ID: CVE-2021-26529
CWE-ID: CWE-787
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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.


Affected software

Mongoose

How to mitigate CVE-2021-26529

Install update from vendor's website.


External References

Related Security Bulletins