Skip to main content
VulnerabilityPublished Updated

CVE-2026-40347: Fastmcp · python-multipart affected by Denial of Service via large multipart preamble or epilogue data

Affects fastmcpSource GCVE Database

0
Compare
Authoritative record:CVE-2026-40347· Medium 5.3

Not known to be exploited · CVSS 5.3 Medium : upgrade to 3.2.4 when convenient.

Data as of 3 Nov 2026, 22:58 UTC

CVSS 3.1 base score
5.3Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 28% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 3.2.4
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 17 Apr 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 3 Nov 2026.

What to do

Upgrade fastmcp to 3.2.4.

Affected software

ProductAffectedFixed in
Homebrewfastmcppkg:brew/fastmcpOther threatsAffected
  • >=2.12.3 <3.2.4
Fixed in
  • 3.2.4

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade fastmcp to version 3.2.4 or later. This version includes fixes that optimize multipart parsing by skipping ahead on leading CR/LF data and discarding epilogue data immediately after the closing boundary, mitigating the denial of service risk.

Description

A denial of service vulnerability in fastmcp's python-multipart parser allows attackers to send crafted multipart/form-data requests with large preamble or epilogue sections, causing excessive CPU consumption during parsing. This degrades availability by slowing request handling but does not typically cause complete service outage. The issue is fixed in version 3.2.4.

References

Community reviews

Loading reviews…