Use After Free in Cesanta Mongoose

CVE-2018-20354

An invalid read of 8 bytes due to a use-after-free vulnerability during a "return" in the mg_http_get_proto_data function 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.

Vulnerability class: Use-After-Free

Published · last modified .

CVSS v3 metric

CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

EPSS exploit prediction

EPSS: 0.036 (89.3th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 89th percentile — 89.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2018-20354: held from 0.036 to 0.036.

EPSS over last 30 days · oldest: 0.036 · newest: 0.036 · change: 0.000

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2018-20354?
CVE-2018-20354 is a critical-severity vulnerability in Cesanta Mongoose, classified under Use After Free. CVSS score: 9.8/10. Published 2019-06-10.
How severe is CVE-2018-20354?
Critical severity. CVSS v3 base score is 9.8 out of 10.