{ "dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": { "cveId": "CVE-2026-32145", "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db", "state": "PUBLISHED", "assignerShortName": "EEF", "dateReserved": "2026-03-10T22:37:29.212Z", "datePublished": "2026-04-02T10:30:47.485Z", "dateUpdated": "2026-04-02T10:30:47.485Z" }, "containers": { "cna": { "affected": [ { "collectionURL": "https://repo.hex.pm", "cpes": [ "cpe:2.3:a:gleam-wisp:wisp:*:*:*:*:*:*:*:*" ], "defaultStatus": "unaffected", "modules": [ "wisp" ], "packageName": "wisp", "packageURL": "pkg:hex/wisp", "product": "wisp", "programFiles": [ "src/wisp.gleam" ], "programRoutines": [ { "name": "wisp:multipart_body/7" }, { "name": "wisp:multipart_headers/5" } ], "repo": "https://github.com/gleam-wisp/wisp", "vendor": "gleam-wisp", "versions": [ { "lessThan": "2.2.2", "status": "affected", "version": "0.2.0", "versionType": "semver" }, { "lessThan": "pkg:hex/wisp@2.2.2", "status": "affected", "version": "pkg:hex/wisp@0.2.0", "versionType": "purl" } ] }, { "collectionURL": "https://github.com", "cpes": [ "cpe:2.3:a:gleam-wisp:wisp:*:*:*:*:*:*:*:*" ], "defaultStatus": "unaffected", "modules": [ "wisp" ], "packageName": "gleam-wisp/wisp", "packageURL": "pkg:github/gleam-wisp/wisp", "product": "wisp", "programFiles": [ "src/wisp.gleam" ], "programRoutines": [ { "name": "wisp:multipart_body/7" }, { "name": "wisp:multipart_headers/5" } ], "repo": "https://github.com/gleam-wisp/wisp.git", "vendor": "gleam-wisp", "versions": [ { "lessThan": "7a978748e12ab29db232c222254465890e1a4a90", "status": "affected", "version": "d8e722e22ccb42bda9d0b6248658d37ab4e9b376", "versionType": "git" }, { "lessThan": "pkg:github/gleam-wisp/wisp@7a978748e12ab29db232c222254465890e1a4a90", "status": "affected", "version": "pkg:github/gleam-wisp/wisp@d8e722e22ccb42bda9d0b6248658d37ab4e9b376", "versionType": "purl" } ] } ], "cpeApplicability": [ { "nodes": [ { "cpeMatch": [ { "criteria": "cpe:2.3:a:gleam-wisp:wisp:*:*:*:*:*:*:*:*", "versionEndExcluding": "2.2.2", "versionStartIncluding": "0.2.0", "vulnerable": true } ], "negate": false, "operator": "OR" } ], "operator": "AND" } ], "credits": [ { "lang": "en", "type": "finder", "value": "John Downey" }, { "lang": "en", "type": "remediation developer", "value": "Louis Pilfold" } ], "descriptions": [ { "lang": "en", "supportingMedia": [ { "base64": false, "type": "text/html", "value": "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.

" } ], "value": "Allocation 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." } ], "impacts": [ { "capecId": "CAPEC-130", "descriptions": [ { "lang": "en", "value": "CAPEC-130 Excessive Allocation" } ] } ], "metrics": [ { "cvssV4_0": { "Automatable": "NOT_DEFINED", "Recovery": "NOT_DEFINED", "Safety": "NOT_DEFINED", "attackComplexity": "LOW", "attackRequirements": "NONE", "attackVector": "NETWORK", "baseScore": 8.7, "baseSeverity": "HIGH", "exploitMaturity": "NOT_DEFINED", "privilegesRequired": "NONE", "providerUrgency": "NOT_DEFINED", "subAvailabilityImpact": "NONE", "subConfidentialityImpact": "NONE", "subIntegrityImpact": "NONE", "userInteraction": "NONE", "valueDensity": "NOT_DEFINED", "vectorString": "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", "version": "4.0", "vulnAvailabilityImpact": "HIGH", "vulnConfidentialityImpact": "NONE", "vulnIntegrityImpact": "NONE", "vulnerabilityResponseEffort": "NOT_DEFINED" }, "format": "CVSS", "scenarios": [ { "lang": "en", "value": "GENERAL" } ] } ], "problemTypes": [ { "descriptions": [ { "cweId": "CWE-770", "description": "CWE-770 Allocation of Resources Without Limits or Throttling", "lang": "en", "type": "CWE" } ] } ], "providerMetadata": { "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db", "shortName": "EEF", "dateUpdated": "2026-04-02T10:30:47.485Z" }, "references": [ { "tags": [ "vendor-advisory" ], "url": "https://github.com/gleam-wisp/wisp/security/advisories/GHSA-8645-p2v4-73r2" }, { "tags": [ "patch" ], "url": "https://github.com/gleam-wisp/wisp/commit/7a978748e12ab29db232c222254465890e1a4a90" } ], "source": { "discovery": "EXTERNAL" }, "title": "Multipart form body parser bypasses body size limits in wisp", "workarounds": [ { "lang": "en", "supportingMedia": [ { "base64": false, "type": "text/html", "value": "Deploy a reverse proxy (such as nginx or HAProxy) in front of the wisp application and configure it to enforce request body size limits." } ], "value": "Deploy a reverse proxy (such as nginx or HAProxy) in front of the wisp application and configure it to enforce request body size limits." } ], "x_generator": { "engine": "Vulnogram 1.0.0" } } } }