Streaming Parser Vulnerability in Fastify's Multipart Parser
CVE-2026-128835
What is CVE-2026-128835?
A vulnerability exists in the streaming parser of the @fastify/busboy package, affecting versions 1.0.0 through 3.2.5. This issue arises when a multipart part's header block does not terminate before the next boundary, leading the Dicer parser to count it as an open part. As a result, neither finish nor error events are emitted, causing requests to hang indefinitely. An unauthenticated request of approximately 100 bytes can trigger this stall, leading to resource leaks as the unfinished handler remains attached even when the client disconnects. This can result in excessive consumption of resources, including files, database connections, and concurrency slots, until the application is restarted. To mitigate this issue, users are advised to upgrade to version 3.2.6 of @fastify/busboy, or as a temporary workaround, configure Fastify's handler timeout to release hung handlers and their associated resources.
Affected Version(s)
@fastify/busboy 0 < 3.2.6
@fastify/busboy 3.2.6
