multer vulnerable to Denial of Service via crafted multipart field names
Description
Published by the National Vulnerability Database
Aug 28, 2026
Published to the GitHub Advisory Database
Sep 8, 2026
Reviewed
Sep 8, 2026
Last updated
Sep 8, 2026
Impact
A vulnerability in multer allows a remote, unauthenticated attacker to crash the Node.js process with a single
multipart/form-datarequest. Two specially crafted text field names cause an uncaughtRangeError: Invalid array lengthinside multer's field parsing, which is not routed to the application error handler and terminates the process. All applications using multer to parse multipart requests are affected.Patches
Users should upgrade to
2.3.0.Workarounds
None.
References