{"id":"CVE-2017-7185","url":"https://www.cyber-defence.io/tools/cve/CVE-2017-7185","generatedAt":"2026-10-28T21:17:52.611Z","title":"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)…","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.","published":"2017-04-10T15:59:01.000Z","lastModified":"2026-06-17T01:23:50.000Z","status":"Modified","sourceIdentifier":"cve@mitre.org","cvss":{"version":"3.0","score":7.5,"severity":"HIGH","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},"cwe":["CWE-416"],"affected":["cesanta/mongoose embedded web server library","cesanta/mongoose os"],"epss":{"score":0.12251,"percentile":0.96155,"date":"2026-10-27","history":[{"date":"2026-09-21","score":0.10599,"percentile":0.95647},{"date":"2026-09-22","score":0.12251,"percentile":0.95991}]},"kev":{"listed":false},"exploits":{"count":1,"verified":false,"firstPublished":"2017-04-06","source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[{"edbId":41826,"kind":"exploit","title":"Cesanta Mongoose OS - Use-After-Free","url":"https://www.exploit-db.com/exploits/41826","sourceUrl":"https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/hardware/dos/41826.txt","file":"exploits/hardware/dos/41826.txt","published":"2017-04-06","added":"2017-04-06","updated":"2017-04-06","author":"Compass Security","type":"dos","platform":"hardware","port":null,"verified":false,"codes":["CVE-2017-7185"],"tags":"Use After Free (UAF)","aliases":null,"applicationUrl":null,"screenshotUrl":null,"referenceUrl":null}]},"verdict":{"level":"urgent","text":"EPSS puts the probability of exploitation in the next 30 days at 12.3%, higher than 96% of all known CVEs. Patch or mitigate before the next change window."},"changes":[],"references":[{"url":"http://www.securityfocus.com/archive/1/540355/100/0/threaded","source":"cve@mitre.org"},{"url":"http://www.securityfocus.com/bid/97370","tags":["Third Party Advisory","VDB Entry"],"source":"cve@mitre.org"},{"url":"https://github.com/cesanta/mongoose-os/commit/042eb437973a202d00589b13d628181c6de5cf5b","tags":["Patch","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://github.com/cesanta/mongoose/commit/b8402ed0733e3f244588b61ad5fedd093e3cf9cc","tags":["Patch","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://www.compass-security.com/fileadmin/Datein/Research/Advisories/CVE-2017-7185_mongoose_os_use_after_free.txt","tags":["Exploit","Technical Description","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://www.exploit-db.com/exploits/41826/","source":"cve@mitre.org"},{"url":"http://www.securityfocus.com/archive/1/540355/100/0/threaded","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securityfocus.com/bid/97370","tags":["Third Party Advisory","VDB Entry"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/cesanta/mongoose-os/commit/042eb437973a202d00589b13d628181c6de5cf5b","tags":["Patch","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/cesanta/mongoose/commit/b8402ed0733e3f244588b61ad5fedd093e3cf9cc","tags":["Patch","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.compass-security.com/fileadmin/Datein/Research/Advisories/CVE-2017-7185_mongoose_os_use_after_free.txt","tags":["Exploit","Technical Description","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.exploit-db.com/exploits/41826/","source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2017-7185","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}