CVE-2017-7185Cesanta Mongoose Embedded Web Server Library
High 7.5 No auth neededHigh EPSS
Follow: this CVE · Cesanta · Cesanta Mongoose Embedded Web Server Library We alert you by email or Slack (account required).
- Priority
- 61
- CVSS 3.0
- 7.5
- EPSS
- 12.3% probability of exploitation in 30 days · percentile 97
- Auth required
- No
- Published
- Apr 10, 2017
- 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:N/I:N/A:H
What happens
Use-after-free vulnerability in the mg_http_multipart_wait_for_boundary function in mongoose.c in Cesanta Mongoose Embedded Web Server Library 6.7 and earlier and Mongoose OS 1.2 and earlier allows remote attackers to cause a denial of service (crash) via a multipart/form-data POST request without a MIME boundary string.
What to do
- Apply the vendor's security update for Mongoose Embedded Web Server Library.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| cesanta | mongoose_embedded_web_server_library | ≤ 6.7 |
| cesanta | mongoose_os | ≤ 1.2 |
Official sources
References
Links published by the sources. Open them with care.
- www.securityfocus.com
- www.securityfocus.com Third Party Advisory VDB Entry
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory
- www.compass-security.com Exploit Technical Description Third Party Advisory
- www.exploit-db.com