@fastify/multipart vulnerable to DoS due to unlimited number of parts
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-770.
Summary
@fastify/multipart is a Fastify plugin to parse the multipart content-type. Prior to versions 7.4.1 and 6.0.1, @fastify/multipart may experience denial of service due to a number of situations in which an unlimited number of parts are accepted. This includes the multipart body parser accepting an unlimited number of file parts, the multipart body parser accepting an unlimited number of field parts, and the multipart body parser accepting an unlimited number of empty parts as field parts. This is fixed in v7.4.1 (for Fastify v4.x) and v6.0.1 (for Fastify v3.x). There are no known workarounds.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| fastify | fastify-multipart | before 6.0.1; 7.0.0 to before 7.4.1 | 6.0.1, 7.4.1 | Patch available | CNA |
| — | @fastify/multipart (npm) | before 6.0.1 | 6.0.1 | Patch available | GHSA-hpp2-2cr5-pf6g |
| — | @fastify/multipart (npm) | 7.0.0 to before 7.4.1 | 7.4.1 | Patch available | GHSA-hpp2-2cr5-pf6g |
- fastify-multipart Vendorfastify Affected before 6.0.1; 7.0.0 to before 7.4.1 Fixed in 6.0.1, 7.4.1 Patch available CNA
- @fastify/multipart (npm) Vendor— Affected before 6.0.1 Fixed in 6.0.1 Patch available GHSA-hpp2-2cr5-pf6g
- @fastify/multipart (npm) Vendor— Affected 7.0.0 to before 7.4.1 Fixed in 7.4.1 Patch available GHSA-hpp2-2cr5-pf6g
Remediation
- Fix · CNA fastify-multipart (fastify) Fixed in 6.0.1, 7.4.1
- Fix · GHSA-hpp2-2cr5-pf6g @fastify/multipart (npm) Fixed in 6.0.1 Advisory →
- Fix · GHSA-hpp2-2cr5-pf6g @fastify/multipart (npm) Fixed in 7.4.1 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2023-25576
- 2026-10-03 Alias added: GHSA-hpp2-2cr5-pf6g
References
Advisory 5
More Fastify-multipart vulnerabilities
- TI-2026-15210 @fastify/multipart vulnerable to Denial of Service via aborted upload after fileSize limit CVSS 3.1HIGH 7.5
- TI-2026-15859 @fastify/multipart vulnerable to Denial of Service via temporary file leak on aborted upload CVSS 3.1HIGH 7.5
- TI-2021-06170 Denial of service (DoS) in fastify-multipart CVSS 3.1HIGH 7.5
- TI-2020-06554 Uncontrolled resource consumption in fastify-multipart CVSS 3.1HIGH 7.5
Sources
- CVE-2023-25576 · CVE Program
- CVE-2023-25576 · NVD
- FIRST EPSS
- GHSA-hpp2-2cr5-pf6g · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences