CVE-2026-32145Multipart form body parser bypasses body size limits in wisp
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
None of the Linux distributions or Windows releases we track list an affected package for this CVE. Check the vendor-reported products below.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
What the vendor says
As published in the CVE record by EEF, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- gleam-wisp wisp: affected: 0.2.0 to before 2.2.2; fixed in
2.2.2 - gleam-wisp wisp: affected: d8e722e22ccb42bda9d0b6248658d37ab4e9b376 and later; fixed in
494476767cb29b905f364f07838d3c164a3c0571,7a978748e12ab29db232c222254465890e1a4a90
Workaround: Deploy a reverse proxy (such as nginx or HAProxy) in front of the wisp application and configure it to enforce request body size limits.
Vendor advisories:
- https://github.com/gleam-wisp/wisp/security/advisories/GHSA-8645-p2v4-73r2 (vendor-advisory)
- https://github.com/gleam-wisp/wisp/commit/494476767cb29b905f364f07838d3c164a3c0571 (patch)
- https://github.com/gleam-wisp/wisp/commit/7a978748e12ab29db232c222254465890e1a4a90 (patch)
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/d8e722e22ccb42bda9d0b6248658d37ab4e9b376
- https://github.com/gleam-wisp/wisp/commit/494476767cb29b905f364f07838d3c164a3c0571
- https://github.com/gleam-wisp/wisp/commit/7a978748e12ab29db232c222254465890e1a4a90
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.