#VU111817 Out-of-bounds write in Mongoose - CVE-2021-26530

 

#VU111817 Out-of-bounds write in Mongoose - CVE-2021-26530

Published: June 23, 2025


Vulnerability identifier: #VU111817
Vulnerability risk: High
CVSSv4.0: CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2021-26530
CWE-ID: CWE-787
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
Mongoose
Software vendor:
Cesanta Software Ltd.

Description

The vulnerability allows a remote attacker to compromise vulnerable system.

The vulnerability exists due to a boundary error within the mg_tls_init() function. A remote attacker can initiate multiple connection requests to exhaust available memory pool, trigger an out-of-bounds write and execute arbitrary code on the target system.


Remediation

Install updates from vendor's website.

External links