CVE-2026-32145
HIGH 8.7CVSS 4.0Multipart 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.
- Published
- 2 Apr 2026
- Last modified
- 25 Nov 2026
- Assigned by
- 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
- NVD status
- Modified
- Weakness
- CWE-770
- Also known as
- EEF-CVE-2026-32145GHSA-8645-p2v4-73r2
- Sources
- NVDJSONCVE ListJSONOSV EEF-CVE-2026-32145JSONOSV GHSA-8645-p2v4-73r2JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 6b3ad84c-e1a6-4bf7-a703-f496b71e49db (Secondary) | CVSS 4.0 | HIGH 8.7 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| CVE List | EEF | CVSS 4.0 | HIGH 8.7 | 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 |
| OSV | GitHub | 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 | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| CVE List | CISA-ADP | SSVC | Exploitation: none; Automatable: yes; Technical Impact: partial |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | gleam-wisp | wispcpe:2.3:a:gleam-wisp:wisp:*:*:*:*:*:*:*:* |
>= 0.2.0, < 2.2.2 | 2.2.2 |
| CVE List | https://repo.hex.pm | wispcpe:2.3:a:gleam-wisp:wisp:*:*:*:*:*:*:*:* |
>= 0.2.0, < 2.2.2 | 2.2.2 |
| CVE List | https://github.com | gleam-wisp/wispcpe:2.3:a:gleam-wisp:wisp:*:*:*:*:*:*:*:* |
>= d8e722e22ccb42bda9d0b6248658d37ab4e9b376 | |
| OSV | Hex | wisp | >= 0.2.0, < 2.2.2 | 2.2.2 |
| OSV | Hex | wisp | < 2.2.2 | 2.2.2 |
References
- https://cna.erlef.org/cves/CVE-2026-32145.html · Patch, Third Party Advisory, related, WEB
- https://github.com/gleam-wisp/wisp/commit/494476767cb29b905f364f07838d3c164a3c0571 · patch, FIX
- https://github.com/gleam-wisp/wisp/commit/7a978748e12ab29db232c222254465890e1a4a90 · Patch, FIX, WEB
- https://github.com/gleam-wisp/wisp/commit/d8e722e22ccb42bda9d0b6248658d37ab4e9b376 · related, WEB
- https://github.com/gleam-wisp/wisp/security/advisories/GHSA-8645-p2v4-73r2 · Vendor Advisory, vendor-advisory, related, ADVISORY, WEB
- https://osv.dev/vulnerability/EEF-CVE-2026-32145 · Third Party Advisory, related, WEB
- https://hex.pm/packages/wisp · PACKAGE
- https://nvd.nist.gov/vuln/detail/CVE-2026-32145 · ADVISORY
- https://github.com/gleam-wisp/wisp · PACKAGE
History
- 25 Nov 2026 20:32 UTC · CVE List: first stored (published 2 Apr 2026)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 2 Apr 2026)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 3 Apr 2026)
- 25 Nov 2026 20:10 UTC · NVD: first stored (published 2 Apr 2026)