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

- Severity: High 8.7 (CVSS:4.0, scored by EEF) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.73%, higher than 55% of CVEs (2026-12-01)
- Published: 2026-04-02T10:30:47.485Z
- Modified: 2026-11-25T17:23:04.442Z
- Also known as: GHSA-8645-p2v4-73r2, EEF-CVE-2026-32145
- Weaknesses: CWE-770
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: EEF

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

(As written by CVE List.)

## Affected

- wisp: from 0.2.0 before 2.2.2
- gleam-wisp/wisp: from d8e722e22ccb42bda9d0b6248658d37ab4e9b376 before *
- wisp (Hex): before 2.2.2; from 0.2.0 before 2.2.2
- https://github.com/gleam-wisp/wisp: from d8e722e22ccb42bda9d0b6248658d37ab4e9b376 before 494476767cb29b905f364f07838d3c164a3c0571; before 7a978748e12ab29db232c222254465890e1a4a90
- gleam-wisp wisp: from 0.2.0 before 2.2.2

## Every score

- EEF: CVSS:4.0 8.7 High `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`
- GitHub: CVSS:4.0 High `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`
- Erlang Ecosystem Foundation: CVSS:4.0 `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`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/gleam-wisp/wisp/security/advisories/GHSA-8645-p2v4-73r2> (advisory, related, vendor-advisory, web)
- <https://cna.erlef.org/cves/CVE-2026-32145.html> (patch, related, third-party-advisory, web)
- <https://osv.dev/vulnerability/EEF-CVE-2026-32145> (related, third-party-advisory, web)
- <https://github.com/gleam-wisp/wisp/commit/d8e722e22ccb42bda9d0b6248658d37ab4e9b376> (related, web)
- <https://github.com/gleam-wisp/wisp/commit/494476767cb29b905f364f07838d3c164a3c0571> (fix, patch)
- <https://github.com/gleam-wisp/wisp/commit/7a978748e12ab29db232c222254465890e1a4a90> (fix, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-32145> (advisory)
- <https://github.com/gleam-wisp/wisp> (package)
- <https://hex.pm/packages/wisp> (package)

## Sources

- CVE List: [CVE-2026-32145](https://www.cve.org/CVERecord?id=CVE-2026-32145), CVE Terms of Use, modified 2026-11-20
- GitHub Advisory Database: [GHSA-8645-p2v4-73r2](https://github.com/advisories/GHSA-8645-p2v4-73r2), CC-BY-4.0, modified 2026-04-06
- Erlang Ecosystem Foundation: [EEF-CVE-2026-32145](https://osv.dev/vulnerability/EEF-CVE-2026-32145), CC-BY-4.0, modified 2026-11-25
- NVD: [CVE-2026-32145](https://nvd.nist.gov/vuln/detail/CVE-2026-32145), Public domain, modified 2026-11-20

---

Page: https://cve.day/CVE-2026-32145 · Whole record: https://cve.day/CVE-2026-32145.json · Rebuilt by cve.day 2026-11-25T22:59:17.768Z
