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: 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-26528
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_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.


Affected software

Mongoose

How to mitigate CVE-2021-26528

Install update from vendor's website.


External References

Related Security Bulletins