What’s Vulnerable › Vulnerabilities
CVE-2026-32145: Multipart form body parser bypasses body size limits in wisp
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.6% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-04-02 · updated 2026-10-26
- Weakness: CWE-770
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.
Affected products
- gleam-wisp wisp: from 0.2.0 before 2.2.2 — fixed in 2.2.2
How to fix
Upgrade to a fixed version: gleam-wisp wisp 2.2.2. Check the vendor advisory for mitigations.
References
- https://cna.erlef.org/cves/CVE-2026-32145.html
- https://github.com/gleam-wisp/wisp/commit/7a978748e12ab29db232c222254465890e1a4a90
- https://github.com/gleam-wisp/wisp/security/advisories/GHSA-8645-p2v4-73r2
- https://osv.dev/vulnerability/EEF-CVE-2026-32145
Get alerted when CVE-2026-32145 or the next vulnerability affects your stack