Skip to content
Heist/ feed
HighFix available

@fastify/busboy vulnerable to Denial of Service via oversized multipart boundary

Type: advisorySource: OSV1 source record

### Impact Versions of `@fastify/busboy` from 3.1.0 and prior to 3.2.1 are vulnerable to a Denial of Service. The vendored streaming multipart search stores its default skip distance in a `Uint8Array(256)`. A multipart boundary of exactly 252 bytes makes the search needle 256 bytes, and the table entry wraps to zero, so a crafted request keeps the search in a CPU-bound loop and stalls the Node.js event loop. An unauthenticated client can trigger this with a single small request. Applications that use `@fastify/busboy` to parse multipart/form-data, directly or through `@fastify/multipart`, are affected. ### Patches Fixed in version 3.2.1. ### Workarounds Validate the multipart boundary before parsing and reject any boundary longer than the RFC 2046 limit of 70 characters (for example at a reverse proxy or in an onRequest hook). Upgrading to 3.2.1 removes the issue.

Announced Group revision 1
Original source ↗

GHSA-xjh9-v7x6-24jw

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:GHSA-xjh9-v7x6-24jw

@fastify/busboy

Source reference: /affected/0/package/name

Affected versions
Not stated in this record
Fixed versions
3.2.1

Source reference: /affected/0/ranges

Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "ranges": [
      {
        "type": "SEMVER",
        "events": [
          {
            "introduced": "3.1.0"
          },
          {
            "fixed": "3.2.1"
          }
        ]
      }
    ],
    "package": {
      "name": "@fastify/busboy",
      "purl": "pkg:npm/%40fastify/busboy",
      "ecosystem": "npm"
    },
    "database_specific": {
      "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-xjh9-v7x6-24jw/GHSA-xjh9-v7x6-24jw.json"
    }
  }
]
Related CVEs
CVE-2026-19484

Source reference: /aliases

Publisher severity

high

Source reference: /database_specific/severity

Event
#72765 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement