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

 

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

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


Vulnerability identifier: #VU111830
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-26528
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_http_serve_file function in Cesanta Mongoose HTTP server 7.0 is vulnerable to remote OOB write attack via connection request after exhausting memory pool.


How to mitigate CVE-2021-26528

Install update from vendor's website.

Sources