{
  "id": "CVE-2026-32145",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-32145",
  "published_at": "2026-04-02T10:30:47.485Z",
  "title": "Multipart form body parser bypasses body size limits in wisp",
  "vendor": "gleam-wisp",
  "product": "wisp",
  "cvss": {
    "score": 8.7,
    "source": "cna",
    "vector": "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"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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.",
  "cwe": "CWE-770",
  "cpes": [
    "cpe:2.3:a:gleam-wisp:wisp:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.7,
    "nvd": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "gleam-wisp",
        "product": "wisp",
        "ranges": [
          "\u003e= 0.2.0, \u003c 2.2.2"
        ],
        "fixed_in": [
          "2.2.2"
        ]
      },
      {
        "vendor": "gleam-wisp",
        "product": "wisp",
        "ranges": [
          "\u003e= d8e722e22ccb42bda9d0b6248658d37ab4e9b376, \u003c *"
        ],
        "fixed_in": [
          "*",
          "494476767cb29b905f364f07838d3c164a3c0571",
          "7a978748e12ab29db232c222254465890e1a4a90"
        ]
      }
    ],
    "upgrade": [
      "Upgrade wisp to 2.2.2 or later.",
      "Upgrade wisp to * or 494476767cb29b905f364f07838d3c164a3c0571 or 7a978748e12ab29db232c222254465890e1a4a90 or later."
    ],
    "workarounds": [
      "Deploy a reverse proxy (such as nginx or HAProxy) in front of the wisp application and configure it to enforce request body size limits."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/gleam-wisp/wisp/security/advisories/GHSA-8645-p2v4-73r2"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/gleam-wisp/wisp/commit/d8e722e22ccb42bda9d0b6248658d37ab4e9b376"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/gleam-wisp/wisp/commit/494476767cb29b905f364f07838d3c164a3c0571"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/gleam-wisp/wisp/commit/7a978748e12ab29db232c222254465890e1a4a90"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
