CVE-2017-7185 in Cesanta Mongoose Embedded Web Server Library and 1 more product
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.
Affects 2 products from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Cesanta | Mongoose Embedded Web Server Library | ≤ 6.7 |
| Cesanta | Mongoose Os | ≤ 1.2 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Reported · reference |
Official description
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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2017-7185 |
|---|---|
| BreachSpider ID | BS-2017-GLOBAL-156688-H |
| CVSS vector | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Published | 2017-04-10 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-416: Use After Free
Software references memory after it has been freed, leading to corruption, crashes, or code execution.
Analysis AI-written, not human-reviewed
A use-after-free vulnerability in the mg_http_multipart_wait_for_boundary function in Mongoose Embedded Web Server Library and Mongoose OS allows remote attackers to cause a denial of service (crash) through a multipart/form-data POST request without a MIME boundary string.
The vulnerability occurs when the server processes a multipart/form-data POST request that lacks a MIME boundary string. This causes the server to improperly handle memory, leading to a use-after-free condition, which can be exploited to crash the server.
Questions
What is CVE-2017-7185?
A use-after-free vulnerability in the mg_http_multipart_wait_for_boundary function in Mongoose Embedded Web Server Library and Mongoose OS allows remote attackers to cause a denial of service (crash) through a multipart/form-data POST request without a MIME boundary string.
What is the CVSS score for CVE-2017-7185?
CVE-2017-7185 has CVSS 7.5 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. EPSS: 12.3%.
Is CVE-2017-7185 actively exploited?
Public exploit available for CVE-2017-7185. Exploitation risk elevated.
How do I remediate CVE-2017-7185?
Priority: HIGH.
What systems are affected by CVE-2017-7185?
CVE-2017-7185 affects Cesanta Mongoose Embedded Web Server Library, Mongoose Os.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Cesanta","product":"Mongoose Embedded Web Server Library","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.