CVE-2026-77078: multer vulnerable to Denial of Service via crafted multipart field names

Published Aug 28, 2026
·
Updated

multer is a middleware for handling multipart/form-data in Node.js. A small multipart request containing two specially crafted text field names can cause an uncaught RangeError (Invalid array length) that terminates the Node.js process. The first field uses a very large numeric array index to allocate a maximum-length sparse array, and a second field then pushes past that length, which throws inside the append-field dependency and is not caught by multer. All versions before 2.3.0 are affected, and the issue is a remotely triggerable denial of service. The issue is fixed in multer 2.3.0. Upgrade to multer 2.3.0 to remediate.

Affected Software

1 affected component
npm/multer<2.3.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade multer to a version that resolves this vulnerability.

    Fixed in 2.3.0

Event History

Aug 28, 2026
CVE Published
via MITRE·08:03 PM
Data Sourced
via MITRE·08:03 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed to this denial-of-service issue?

Applications using multer versions before 2.3.0 are affected when they process multipart/form-data requests. Because the attack is remotely triggerable and requires no privileges or user interaction, any reachable multipart upload endpoint using an affected version is potentially exposed.

2

What does an attacker need to send to trigger the failure?

An attacker can send a small multipart request containing two specially crafted text field names. The first uses a very large numeric array index and the second causes a push beyond the resulting maximum-length sparse array, leading to an uncaught RangeError that terminates the Node.js process.

3

How can I remediate the issue?

Upgrade multer to version 2.3.0. The vulnerability affects all versions earlier than 2.3.0.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203