Vulnerabilities · 2018 · Cesanta
CVE-2018-20356
Cesanta Mongoose vulnerability
An invalid read of 8 bytes due to a use-after-free vulnerability in the mg_http_free_proto_data_cgi function call in mongoose.c in Cesanta Mongoose Embedded Web Server Library 6.13 and earlier allows a denial of service (application crash) or remote code execution.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Mongoose. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Cesanta Mongoose runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
More vulnerabilities in Cesanta products
CVE-2025-65502CVE-2025-51495CVE-2024-42392CVE-2024-42391CVE-2024-42390CVE-2024-42389CVE-2024-42388CVE-2024-42387All 128
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.