CVE-2017-7185 EXPLOIT
7.5
HIGH · CVSS 3.0 · EPSS 12.3% (pctl 96)
Patch early
A public exploit exists.
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.
Scoring
| CVSS | 7.5 (HIGH, v3.0) |
|---|---|
| Vector | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| EPSS | 12.25% — more likely to be exploited than 96% of all CVEs |
| Weakness | CWE-416 |
| On CISA KEV | no |
| Public exploit | yes |
| Published | 2017-04-10 |
| Last modified | 2026-06-17 |
Affected (2)
| Vendor | Product |
|---|---|
| cesanta | mongoose embedded web server library |
| cesanta | mongoose os |
Public exploits
| Source | Title | Date |
|---|---|---|
| exploit-db | Cesanta Mongoose OS - Use-After-Free | 2017-04-06 |
References
- http://www.securityfocus.com/archive/1/540355/100/0/threaded
- http://www.securityfocus.com/bid/97370
- https://github.com/cesanta/mongoose-os/commit/042eb437973a202d00589b13d628181c6de5cf5b
- https://github.com/cesanta/mongoose/commit/b8402ed0733e3f244588b61ad5fedd093e3cf9cc
- https://www.compass-security.com/fileadmin/Datein/Research/Advisories/CVE-2017-7185_mongoose_os_use_after_free.txt
- https://www.exploit-db.com/exploits/41826/
- http://www.securityfocus.com/archive/1/540355/100/0/threaded
- http://www.securityfocus.com/bid/97370
- https://github.com/cesanta/mongoose-os/commit/042eb437973a202d00589b13d628181c6de5cf5b
- https://github.com/cesanta/mongoose/commit/b8402ed0733e3f244588b61ad5fedd093e3cf9cc
- https://www.compass-security.com/fileadmin/Datein/Research/Advisories/CVE-2017-7185_mongoose_os_use_after_free.txt
- https://www.exploit-db.com/exploits/41826/
→ the Explorer · watch your stack · NVD