CVE-2017-7185 — Use-after-free vulnerability in the mg_http_multipart_wait_for_boundary function
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 PO
Published
2017-04-10T15:59:00.503
Last modified
2026-05-13T00:24:29.033
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
01What is this vulnerability?
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.
02Affected products
No structured affected-product list available — see references below for vendor advisories.
03Active exploitation status
Not currently listed on the CISA Known Exploited Vulnerabilities (KEV) catalog. EPSS is the best forward-looking signal — see the EPSS row above.
04Recommended remediation
- Patch to a fixed version listed in the vendor advisory (see references below).
- Mitigate with WAF rules, network egress filters, or feature flags where the patch is not yet available.
- Hunt historical logs for exploitation indicators — see Detection signatures below.
05Technical details
For the full vendor write-up, exploit chains, and reference implementations, see the references list in section 09.
06Detection signatures
Ask SARA in chat to draft a starting detection for this CVE in your stack of choice.
07Related CVEs
No directly-cited follow-up CVEs in the KB record for this advisory. The references list in section 09 carries the vendor cross-references.
08Timeline
- Published: 2017-04-10T15:59:00.503
- Last modified: 2026-05-13T00:24:29.033
09References
- www.securityfocus.com — http://www.securityfocus.com/archive/1/540355/100/0/threaded
- www.securityfocus.com — http://www.securityfocus.com/bid/97370
- github.com — https://github.com/cesanta/mongoose-os/commit/042eb437973a202d00589b13d628181c6d…
- github.com — https://github.com/cesanta/mongoose/commit/b8402ed0733e3f244588b61ad5fedd093e3cf…
- www.compass-security.com — https://www.compass-security.com/fileadmin/Datein/Research/Advisories/CVE-2017-7…
- www.exploit-db.com — https://www.exploit-db.com/exploits/41826/
- www.securityfocus.com — http://www.securityfocus.com/archive/1/540355/100/0/threaded
- www.securityfocus.com — http://www.securityfocus.com/bid/97370
- github.com — https://github.com/cesanta/mongoose-os/commit/042eb437973a202d00589b13d628181c6d…
- github.com — https://github.com/cesanta/mongoose/commit/b8402ed0733e3f244588b61ad5fedd093e3cf…
Want this in your SOAR or SIEM?
SARA's API returns EPSS, CVSS, KEV, and an analyst-grade summary in one call.
Read the API reference →