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.
Published: 2026-04-02
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service via resource exhaustion
Action: Apply Patch
AI Analysis

Impact

A flaw in wisp’s multipart form body parser lets an attacker bypass configured size limits, allowing arbitrarily large submissions. The parser does not enforce the max_body_size or max_files_size until the final boundary, meaning chunks of data can be stored without decrementing the allocated quota. An unauthenticated attacker can exploit this to consume server memory or disk, resulting in a denial of service.

Affected Systems

The vulnerability impacts all releases of the wisp web server from version 0.2.0 up to, but not including, 2.2.2. It is specific to the gleam-wisp product.

Risk and Exploitability

The CVSS score of 8.7 indicates a high severity, while the lack of an EPSS score means current exploitation probability is unknown. The CVE is not listed in the CISA KEV catalog. Exploitation requires sending a crafted multipart/form‑data HTTP request; no authentication is required, making it readily exploitable by anyone on the network or the internet if the service is exposed.

Generated by OpenCVE AI on April 2, 2026 at 11:20 UTC.

Remediation

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


OpenCVE Recommended Actions

  • Upgrade to wisp version 2.2.2 or later to resolve the parser flaw.
  • If an upgrade is not immediately possible, place a reverse proxy such as nginx or HAProxy in front of the wisp application and configure it to enforce request body size limits.
  • Monitor server memory and disk usage for sudden spikes that may indicate a denial‑of‑service attempt.
  • Review access logs for unusually large multipart/form‑data entries and take further isolation steps if needed.

Generated by OpenCVE AI on April 2, 2026 at 11:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 02 Apr 2026 10:45:00 +0000

Type Values Removed Values Added
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.
Title Multipart form body parser bypasses body size limits in wisp
First Time appeared Gleam-wisp
Gleam-wisp wisp
Weaknesses CWE-770
CPEs cpe:2.3:a:gleam-wisp:wisp:*:*:*:*:*:*:*:*
Vendors & Products Gleam-wisp
Gleam-wisp wisp
References
Metrics cvssV4_0

{'score': 8.7, '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: EEF

Published:

Updated: 2026-04-02T10:30:47.485Z

Reserved: 2026-03-10T22:37:29.212Z

Link: CVE-2026-32145

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-04-02T11:16:21.870

Modified: 2026-04-02T11:16:21.870

Link: CVE-2026-32145

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-02T20:21:33Z

Weaknesses