CVE-2026-32145 Multipart form body parser bypasses body size limits in wisp
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| gleam-wisp wisp | >= 0.2.0, < 2.2.2; >= d8e722e22ccb42bda9d0b6248658d37ab4e9b376, < 494476767cb29b905f364f07838d3c164a3c0571 | 2.2.2, 494476767cb29b905f364f07838d3c164a3c0571 | Fixed |
| hex wisp(Hex) | < 2.2.2 | 2.2.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| hex wisp(Hex) | < 2.2.2 | 2.2.2 |
| gleam-wisp wisp | >= 0.2.0, < 2.2.2 | 2.2.2 |
| gleam-wisp wisp | >= d8e722e22ccb42bda9d0b6248658d37ab4e9b376, < 494476767cb29b905f364f07838d3c164a3c0571 | 494476767cb29b905f364f07838d3c164a3c0571 |
References
- Allocation of Resources Without Limits or Throttling in wisp related vendor-advisory
- EEF CNA record for CVE-2026-32145 patch related third-party-advisory
- OSV record EEF-CVE-2026-32145 related third-party-advisory
- Fix commit 7a97874 in gleam-wisp/wisp patch
- nvd.nist.gov third-party-advisory
- github.com
- Introducing commit d8e722e in gleam-wisp/wisp related
- Fix commit 4944767 in gleam-wisp/wisp patch
- ENISA EUVD EUVD-2026-18186 third-party-advisory