{"affected":[{"package":{"ecosystem":"Hex","name":"wisp","purl":"pkg:hex/wisp"},"ranges":[{"events":[{"introduced":"0.2.0"},{"fixed":"2.2.2"}],"type":"SEMVER"}],"versions":["0.2.0","0.3.0","0.4.0","0.5.0","0.6.0","0.7.0","0.8.0","0.9.0","0.10.0","0.11.0","0.12.0","0.13.0","0.14.0","0.15.0","0.16.0","1.0.0","1.1.0","1.2.0","1.3.0","1.4.0","1.5.1","1.5.2","1.5.3","1.6.0","1.7.0","1.8.0","2.0.0-rc1","2.0.0","2.0.1","2.1.0","2.1.1","2.2.0","2.2.1"]},{"ranges":[{"events":[{"introduced":"d8e722e22ccb42bda9d0b6248658d37ab4e9b376"},{"fixed":"7a978748e12ab29db232c222254465890e1a4a90"}],"repo":"https://github.com/gleam-wisp/wisp.git","type":"GIT"}]}],"aliases":["GHSA-8645-p2v4-73r2","CVE-2026-32145"],"credits":[{"name":"John Downey","type":"FINDER"},{"name":"Louis Pilfold","type":"REMEDIATION_DEVELOPER"}],"database_specific":{"capec_ids":["CAPEC-130"],"cpe_ids":["cpe:2.3:a:gleam-wisp:wisp:*:*:*:*:*:*:*:*"],"cwe_ids":["CWE-770"]},"details":"## Summary\n\nAllocation of Resources Without Limits or Throttling vulnerability in gleam-wisp wisp allows a denial of service via multipart form body parsing.\n\nThe 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.\n\nAn unauthenticated attacker can exhaust server memory or disk by sending arbitrarily large multipart form submissions in a single HTTP request.\n\nThis issue affects wisp: from 0.2.0 before 2.2.2.\n\n## Workaround\n\nDeploy a reverse proxy (such as nginx or HAProxy) in front of the wisp application and configure it to enforce request body size limits.","id":"EEF-CVE-2026-32145","modified":"2026-07-30T18:21:59.326222Z","published":"2026-04-02T10:30:47.485Z","references":[{"type":"ADVISORY","url":"https://github.com/gleam-wisp/wisp/security/advisories/GHSA-8645-p2v4-73r2"},{"type":"WEB","url":"https://cna.erlef.org/cves/CVE-2026-32145.html"},{"type":"FIX","url":"https://github.com/gleam-wisp/wisp/commit/7a978748e12ab29db232c222254465890e1a4a90"},{"type":"PACKAGE","url":"https://hex.pm/packages/wisp"}],"related":[],"schema_version":"1.7.3","severity":[{"score":"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","type":"CVSS_V4"}],"summary":"Multipart form body parser bypasses body size limits in wisp","upstream":[]}