PoC Monitor
← All CVEs
CVE-2026-32145published 2 Apr 2026 10:30 UTCData: JSON · API

Gleam-wisp wisp

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

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.7high · scored by CNA · CWE-770
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

gleam-wisp wisp
  • >= 0.2.0, < 2.2.2

Fixed in 2.2.2

gleam-wisp wisp
  • >= d8e722e22ccb42bda9d0b6248658d37ab4e9b376, < *

Fixed in *, 494476767cb29b905f364f07838d3c164a3c0571, 7a978748e12ab29db232c222254465890e1a4a90

Mitigation

Upgrade wisp to 2.2.2 or later.

Upgrade wisp to * or 494476767cb29b905f364f07838d3c164a3c0571 or 7a978748e12ab29db232c222254465890e1a4a90 or later.

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.

References

1 more

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published2 Apr 2026 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.