CVE Catalog

CVE-2026-32145

High
Published: Translated: NVD NIST

Summary

CVE-2026-32145 in the gleam-wisp library has a resource allocation issue without limits, which can lead to denial of service via multipart form body parsing. The multipart_body function bypasses the configured max_body_size and max_files_size limits, allowing excessively large data submissions.

Risk Assessment

An unauthenticated attacker can exhaust server memory or disk space by sending arbitrarily large multipart form submissions in a single HTTP request, potentially causing service outages.

Recommendation

It is recommended to update the gleam-wisp library to version 2.2.2 or later to mitigate this vulnerability. Additionally, implementing further mechanisms to limit the size of submitted data is advisable.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS