CVE-2026-32145 Details
Description
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.
A denial-of-service vulnerability has been identified in the Gleam Wisp web framework, specifically in versions 0.2.0 prior to 2.2.2. The issue arises in the multipart form body parsing, where the parser bypasses configured size limits for both the body and files. This flaw allows an unauthenticated attacker to send large multipart form submissions that exhaust server memory or disk space. The vulnerability is rooted in the parsing logic, which fails to properly account for data chunks that do not contain the multipart boundary, leading to uncontrolled resource consumption.
Users can upgrade to Wisp version 2.2.2, which addresses the vulnerability by ensuring that the multipart parser correctly enforces the maximum body size limits. Alternatively, a reverse proxy can be deployed in front of the application to enforce request body size limits, rejecting large multipart requests before they reach the vulnerable parser.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 2, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://cna.erlef.org/cves/CVE-2026-32145.html | EEF | PatchThird Party Advisory |
| https://github.com/gleam-wisp/wisp/commit/7a978748e12ab29db232c222254465890e1a4a90 | EEF | Patch |
| https://github.com/gleam-wisp/wisp/security/advisories/GHSA-8645-p2v4-73r2 | EEF | Vendor Advisory |
| https://osv.dev/vulnerability/EEF-CVE-2026-32145 | EEF | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-770 | Allocation of Resources Without Limits or Throttling | EEF |
Affected Products
| Product | Versions |
|---|---|
| gleam-wisp wisp | >= 0.2.0, < 2.2.2 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | EEF |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 22, 2026 | Initial Analysis | [email protected] |
| Apr 6, 2026 | CVE Modified | EEF |
| Apr 2, 2026 | New CVE Received | EEF |