Fastify @fastify/busboy and Undici: Denial of service via multipart form parsing (CVE-2026-128835)
A vulnerability in the Dicer parser used by @fastify/busboy and undici allows an unauthenticated attacker to cause resource exhaustion and service failure via crafted multipart form requests that cause request handlers to hang indefinitely.
CVE search metadata
CVE search record: CVE-2026-128835. Severity: high. CVSS: 7.5. KEV: no. Product: @fastify/busboy, undici. Brief: Fastify @fastify/busboy and Undici: Denial of service via multipart form parsing (CVE-2026-128835). Brief link: https://feed.craftedsignal.io/briefs/2026-11-busboy-dos-cve-2026-128835/
Triage facts
Revision 1- Applicability
- @fastify/busboy, undici
- Evidence
- Unknown
- Severity
- Low
- Action
- Elevated
- Sources
- 1 public source
- Freshness
- Revision 1Nov 16, 16:58 UTC
- Vulnerabilities
- 1 CVE
- Source quality
- A2Roughly even chance
Overview
The @fastify/busboy streaming parser for multipart form data is vulnerable to a denial of service (DoS) condition when processing malformed multipart requests. In affected versions (1.0.0 through 3.2.5), a multipart part with an unterminated header block causes the underlying Dicer parser to fail to emit a finish or error event, resulting in a hung request handler. When integrated with @fastify/multipart, these hung handlers are not released upon client disconnection, leading to the exhaustion of system resources including file descriptors, database connections, and concurrency slots, ultimately requiring a process restart. The same parser vulnerability exists in undici versions 5.25.3 through 6.7.0.
Impact
A single unauthenticated request of approximately one hundred bytes can trigger the stall. Repeated requests lead to memory and resource exhaustion, rendering the application unavailable until the process is restarted.
Recommendation
- Upgrade @fastify/busboy to version 3.2.6 or later to include the fix for the Dicer parser.
- Review and update dependencies for undici to versions outside the 5.25.3 through 6.7.0 range if utilizing the formData methods.
- As a temporary mitigation, configure Fastify's handler timeout to ensure that hung request handlers are terminated by the framework, allowing for the release of associated system resources.
Mitigations
Upgrade @fastify/busboy to version 3.2.6 or later.
Configure Fastify handler timeouts to release resources from hung requests.
Gaps
- Lack of specific WAF signatures to detect multipart headers that are not terminated before the next boundary.