@fastify/busboy vulnerable to Denial of Service via a skipped last part that fills its stream buffer
Summary
| CVE | CVE-2026-135275 |
|---|---|
| State | PUBLISHED |
| Assigner | openjs |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-12-02 09:17:10 UTC |
| Updated | 2026-12-02 09:17:10 UTC |
| Description | @fastify/busboy is a streaming parser for HTML form data, including multipart/form-data uploads, used by Fastify through @fastify/multipart. In versions from 1.0.0 before 3.2.7, when the final part of a multipart body is one the parser skips, such as a part with an invalid or missing Content-Disposition header or a part beyond a configured files, fields, or parts limit, and that part holds at least one stream buffer of data, the parser pauses the incoming write and never releases it because the closing delimiter has already been processed. The parser then emits neither a finish nor an error event, so the upload request never completes and stays pending even after the client disconnects. A single unauthenticated upload of about 67 KB is enough to leave a request hanging, and repeated requests can exhaust server resources, affecting any application that passes untrusted multipart/form-data to the parser directly or through @fastify/multipart. The issue is fixed in @fastify/busboy 3.2.7, and users should upgrade to 3.2.7 or later. There is no complete workaround, but setting Fastify's handlerTimeout option limits how long a stalled handler holds its resources. |
Risk And Classification
Primary CVSS: v3.1 7.5 HIGH from ce714d77-add3-4f53-aff5-83d477b104bb
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Problem Types: CWE-400 | CWE-459 | CWE-400 CWE-400: Uncontrolled Resource Consumption | CWE-459 CWE-459: Incomplete Cleanup
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | ce714d77-add3-4f53-aff5-83d477b104bb | Secondary | 7.5 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| 3.1 | CNA | CVSS | 7.5 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | @fastifybusboy | @fastify/busboy | affected 1.0.0 3.2.7 semver | Not specified |
| CNA | @fastifybusboy | @fastify/busboy | unaffected 3.2.7 semver | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| cna.openjsf.org/security-advisories.html | ce714d77-add3-4f53-aff5-83d477b104bb | cna.openjsf.org | |
| github.com/fastify/busboy/security/advisories/GHSA-5mv5-vr5f-hmvr | ce714d77-add3-4f53-aff5-83d477b104bb | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: M1S0-0 (en)
CNA: mcollina (en)
CNA: UlisesGascon (en)
There are currently no legacy QID mappings associated with this CVE.