Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend large multipart form request
-
ExploitParser bypasses max_body_size limits
-
ExecutionAccumulate chunks without quota decrement
-
ImpactExhaust server memory resources
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource allocation limits
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Remote unauthenticated attacker sends multipart form data to gleam-wisp applications without properly formatted boundaries. The multipart_body parser fails to enforce max_body_size and max_files_size limits, allowing unbounded resource allocation. Affects all default gleam-wisp installations processing multipart requests. |
| Impact | This is a genuine denial of service vulnerability with moderate-to-high real-world priority. Although CVSS and EPSS scores are not provided, the attack vector is network-accessible and requires no authentication (HTTP form submission), making it directly exploitable by any remote attacker. The vulnerability is deterministic and highly reliable: an attacker can reliably exhaust server resources by sending a single large multipart request. The impact is severe-either memory exhaustion (potential crash) or disk exhaustion if the server is configured to spool to disk. The technical complexity is minimal, requiring only standard HTTP multipart form submission. Unlike high-CVSS vulnerabilities with exploit complexity factors that limit real-world impact, this flaw has straightforward attack mechanics with no mitigating factors. The fact that a vendor patch was released (version 2.2.2) and the issue was reported by the Enlightenment Foundation Fellowship (EEF) indicates this was treated as a material security flaw. Organizations running affected versions should prioritize patching. |
| Exploit ScenarioDerived | An attacker crafts an HTTP POST request with Content-Type: multipart/form-data and sends a large payload (e.g., 10 GB) split across multiple chunks, where none of the initial chunks contain a multipart boundary delimiter. The gleam-wisp parser receives each chunk, appends it to the output buffer, and recurses without decrementing the size quota. This process repeats until the server's available memory or disk space is exhausted, causing the application to hang, crash, or become unresponsive. The attack succeeds because the quota limit is only enforced at the final boundary, allowing gigabytes of data to accumulate unchecked. No authentication, specialized tools, or complex exploitation techniques are required-a simple multipart HTTP request suffices. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 02, 2026
Denial of service in gleam-wisp wisp 0.2.0 through 2.2.1 allows unauthenticated remote attackers to exhaust server memory or disk by sending arbitrarily large multipart form submissions that bypass configured size limits. The multipart_body and multipart_headers parsing functions fail to properly decrement resource quotas for chunks lacking multipart boundaries, enabling attackers to accumulate unbounded data in a single HTTP request. Patch available as of version 2.2.2.
RemediationAI
Upgrade gleam-wisp wisp to version 2.2.2 or later, which includes the fix from commit 7a978748e12ab29db232c222254465890e1a4a90. The patch corrects the quota management logic in multipart_body and multipart_headers to properly decrement limits for all chunks, not only those containing boundaries. Obtain the patched version from the official gleam-wisp repository and redeploy affected applications. If immediate patching is not possible, consider disabling multipart form handling or implementing a reverse proxy with request size limits as a temporary mitigation. See the security advisory at https://github.com/gleam-wisp/wisp/security/advisories/GHSA-8645-p2v4-73r2 for additional details.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability exists in the multipart form body parsing logic of the gleam-wisp HTTP framework (CWE-770: Allocation of Resources Without Limits or Throttling). The multipart_body function is designed to respect max_body_size and max_files_size configuration limits by decrementing a quota as data is consumed. However, when processing chunks that do not contain a multipart boundary marker, the parser takes a MoreRequiredForBody code path that appends the chunk to accumulated output but passes the quota unchanged to the recursive call. Only when a boundary is finally encountered is the quota decremented. An identical pattern occurs in multipart_headers with MoreRequiredForHeaders recursion bypassing decrement_body_quota. This allows attackers to bypass resource limits by sending many large chunks without boundary markers, accumulating data without triggering quota enforcement. The vulnerability affects gleam-wisp versions from 0.2.0 through 2.2.1 (CPE: cpe:2.3:a:gleam-wisp:wisp:*:*:*:*:*:*:*:*).
Know when Wisp gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Primary rating from Vendor (EEF) · only source for this CVE.
CVSS VectorVendor: EEF
Lifecycle Timeline
2DescriptionCVE.org
Allocation of Resources Without Limits or Throttling vulnerability in gleam-wisp wisp allows a denial of service via multipart form body parsing.
The multipart_body function bypasses configured max_body_size and max_files_size limits. When a multipart boundary is not present in a chunk, the parser takes the MoreRequiredForBody path, which appends the chunk to the output but passes the quota unchanged to the recursive call. Only the final chunk containing the boundary is counted via decrement_quota. The same pattern exists in multipart_headers, where MoreRequiredForHeaders recurses without calling decrement_body_quota.
An unauthenticated attacker can exhaust server memory or disk by sending arbitrarily large multipart form submissions in a single HTTP request.
This issue affects wisp: from 0.2.0 before 2.2.2.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
EUVD-2026-18186
GHSA-8645-p2v4-73r2
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB