CVE-2026-77078: Multer Denial of Service via Crafted Multipart Field Names

multer Updated 08 Sep 2026

Summary

08/09/2026
Yes i
High
7.5

CVE-2026-77078: multer vulnerable to Denial of Service via crafted multipart field names. Affects multer versions < 2.3.0. Fixed in 2.3.0. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Multer is a middleware for handling multipart/form-data, primarily used for uploading files in Node.js applications. It simplifies the process of parsing incoming request bodies, allowing developers to easily manage file uploads and form submissions. However, due to its reliance on field name parsing, Multer is vulnerable to specific crafted inputs that can lead to severe issues, including application crashes.

Vulnerability Detail

A vulnerability in Multer allows a remote, unauthenticated attacker to crash the Node.js process by sending a single multipart/form-data request with specially crafted text field names. This results in an uncaught RangeError: Invalid array length during the field parsing process, which is not handled by the application error handler, leading to a termination of the Node.js process. All applications using Multer to parse multipart requests are at risk.

How To Fix

Latest published version: 2.5.0 as of 23 Oct 2026

npm install multer@2.5.0

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

2.3.0

This is the first release that contains the fix.

npm install multer@2.3.0

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There are currently no known workarounds for this vulnerability. The best course of action is to update to the patched version as soon as possible.

Conclusion

Multer's vulnerability (CVE-2026-77078) poses a significant risk to applications that rely on it for handling multipart/form-data requests. By upgrading to version 2.3.0 or later, developers can mitigate this risk and ensure their applications remain stable and secure.

See every vulnerability recorded for multer →

Share this vulnerability

FAQ

The CVSS score of this vulnerability is 7.5, indicating a high severity level.

You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without needing to sign up.

If left unaddressed, this vulnerability can allow attackers to crash your Node.js application, leading to service disruptions and potential data loss.

Yes, the vulnerability affects all versions of Multer prior to 2.3.0. Upgrading to this version or later is essential for protection.

Yes, after updating to version 2.3.0 or later, Multer should be safe to use without the risk of this specific Denial of Service vulnerability.

Related vulnerabilities

Recent vulnerabilities recorded for multer.

How To Fix

Latest published version: 2.5.0 as of 23 Oct 2026

npm install multer@2.5.0

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

2.3.0

This is the first release that contains the fix.

npm install multer@2.3.0

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback