BreachSpiderVerified, not vibes

CVE-2017-7185 in Cesanta Mongoose Embedded Web Server Library and 1 more product

High 7.5 Public exploit reported

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.

CVSS 3.07.5
EPSS12.3%
EPSS percentile97th
FixUnknown

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

VendorProductAffected 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-exploitedNot in the CISA KEV catalog
Public exploitReported · 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 IDCVE-2017-7185
BreachSpider IDBS-2017-GLOBAL-156688-H
CVSS vectorCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published2017-04-10
Last modified2026-06-17
Weakness (CWE)
SourceNVD

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"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.