{
    "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-11-20T03:12:57.475Z"
    },
    "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"
                        }
                    ]
                },
                {
                    "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",
                    "vendor": "gleam-wisp",
                    "versions": [
                        {
                            "changes": [
                                {
                                    "at": "494476767cb29b905f364f07838d3c164a3c0571",
                                    "status": "unaffected"
                                },
                                {
                                    "at": "7a978748e12ab29db232c222254465890e1a4a90",
                                    "status": "unaffected"
                                }
                            ],
                            "lessThan": "*",
                            "status": "affected",
                            "version": "d8e722e22ccb42bda9d0b6248658d37ab4e9b376",
                            "versionType": "git"
                        }
                    ]
                }
            ],
            "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"
                }
            ],
            "datePublic": "2026-04-02T10:30:47.000Z",
            "descriptions": [
                {
                    "lang": "en",
                    "supportingMedia": [
                        {
                            "base64": false,
                            "type": "text/html",
                            "value": "<p>Allocation of Resources Without Limits or Throttling vulnerability in gleam-wisp wisp allows a denial of service via multipart form body parsing.</p>\n<p>The <code>multipart_body</code> function bypasses configured <code>max_body_size</code> and <code>max_files_size</code> limits. When a multipart boundary is not present in a chunk, the parser takes the <code>MoreRequiredForBody</code> 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 <code>decrement_quota</code>. The same pattern exists in <code>multipart_headers</code>, where <code>MoreRequiredForHeaders</code> recurses without calling <code>decrement_body_quota</code>.</p>\n<p>An unauthenticated attacker can exhaust server memory or disk by sending arbitrarily large multipart form submissions in a single HTTP request.</p>\n<p>This issue affects wisp: from 0.2.0 before 2.2.2.</p>"
                        },
                        {
                            "base64": false,
                            "type": "text/markdown",
                            "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."
                        }
                    ],
                    "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",
                        "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-11-20T03:12:57.475Z"
            },
            "references": [
                {
                    "name": "Allocation of Resources Without Limits or Throttling in wisp",
                    "tags": [
                        "vendor-advisory",
                        "related"
                    ],
                    "url": "https://github.com/gleam-wisp/wisp/security/advisories/GHSA-8645-p2v4-73r2"
                },
                {
                    "name": "EEF CNA record for CVE-2026-32145",
                    "tags": [
                        "related"
                    ],
                    "url": "https://cna.erlef.org/cves/CVE-2026-32145.html"
                },
                {
                    "name": "OSV record EEF-CVE-2026-32145",
                    "tags": [
                        "related"
                    ],
                    "url": "https://osv.dev/vulnerability/EEF-CVE-2026-32145"
                },
                {
                    "name": "Introducing commit d8e722e in gleam-wisp/wisp",
                    "tags": [
                        "related"
                    ],
                    "url": "https://github.com/gleam-wisp/wisp/commit/d8e722e22ccb42bda9d0b6248658d37ab4e9b376"
                },
                {
                    "name": "Fix commit 4944767 in gleam-wisp/wisp",
                    "tags": [
                        "patch"
                    ],
                    "url": "https://github.com/gleam-wisp/wisp/commit/494476767cb29b905f364f07838d3c164a3c0571"
                },
                {
                    "name": "Fix commit 7a97874 in gleam-wisp/wisp",
                    "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": "<p>Deploy a reverse proxy (such as nginx or HAProxy) in front of the wisp application and configure it to enforce request body size limits.</p>"
                        },
                        {
                            "base64": false,
                            "type": "text/markdown",
                            "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."
                }
            ]
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-04-02T13:29:06.824466Z",
                                "id": "CVE-2026-32145",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "yes"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2026-04-06T19:47:22.060Z"
                }
            }
        ]
    }
}