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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.7
- **CVSS:** 8.7 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: None; User interaction: None; Confidentiality impact: None; Integrity impact: None; Availability impact: High; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.88% (percentile 57, 2026-11-26)
- **CWE:** CWE-770
- **Published:** 2026-04-02T10:30:47.485Z
- **Modified:** 2026-11-20T04:17:11.390Z

## Who should check

- Anyone running gleam-wisp wisp \>= 0.2.0, \< 2.2.2
- Anyone running gleam-wisp wisp \>= d8e722e22ccb42bda9d0b6248658d37ab4e9b376, \< \*

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

## Affected and fixed versions

- gleam-wisp wisp: \>= 0.2.0, \< 2.2.2 (cvelist)
- gleam-wisp wisp: \>= d8e722e22ccb42bda9d0b6248658d37ab4e9b376, \< \* (cvelist)

## Mitigation

- Upgrade wisp to 2.2.2 or later.
- 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.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-32145. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-32145.md
Affected: gleam-wisp wisp >= 0.2.0, < 2.2.2; gleam-wisp wisp >= d8e722e22ccb42bda9d0b6248658d37ab4e9b376, < *
Fixed in: gleam-wisp wisp 2.2.2

Steps:
1. Search this machine and project for gleam-wisp wisp: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-32145 being exploited?

There is no confirmed exploitation: CVE-2026-32145 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.88% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-32145?

High: CVSS 8.7 (v4.0, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-32145?

gleam-wisp wisp \>= 0.2.0, \< 2.2.2; gleam-wisp wisp \>= d8e722e22ccb42bda9d0b6248658d37ab4e9b376, \< \*.

### Is there a fix for CVE-2026-32145?

Yes. Fixed in gleam-wisp wisp 2.2.2. Upgrade wisp to 2.2.2 or later. 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.

### How do I check if I'm affected by CVE-2026-32145?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/gleam-wisp/wisp/security/advisories/GHSA-8645-p2v4-73r2>
- patch: <https://cna.erlef.org/cves/CVE-2026-32145.html>
- patch: <https://github.com/gleam-wisp/wisp/commit/d8e722e22ccb42bda9d0b6248658d37ab4e9b376>
- patch: <https://github.com/gleam-wisp/wisp/commit/494476767cb29b905f364f07838d3c164a3c0571>
- patch: <https://github.com/gleam-wisp/wisp/commit/7a978748e12ab29db232c222254465890e1a4a90>
- other: <https://osv.dev/vulnerability/EEF-CVE-2026-32145>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-32145>

HTML: <https://flawdb.com/CVE-2026-32145> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-32145>
