Live threats

All CVEs / Cesanta

CVE-2018-20356Cesanta Mongoose

Critical 9.8 No auth needed

Priority
74
CVSS 3.0
9.8
EPSS
3.6%
probability of exploitation in 30 days · percentile 90
Auth required
No
Published
Jun 10, 2019
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-416
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Mongoose.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
cesantamongoose≤ 6.13

Official sources

References

Links published by the sources. Open them with care.