CVE-2025-7338: Multer Denial of Service Vulnerability via Malformed Request

multer Updated 02 Oct 2025

Summary

17/07/2025
Yes i
High
7.5

CVE-2025-7338: Multer vulnerable to Denial of Service via unhandled exception from malformed request. Affects multer versions >= 1.4.4-lts.1, < 2.0.2. Fixed in 2.0.2. 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 Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Multer is a middleware for handling multipart/form-data, primarily used for uploading files in Node.js applications. It simplifies the process of handling file uploads and provides various features such as file size limits and storage options. However, certain versions of Multer are vulnerable to a Denial of Service (DoS) attack due to unhandled exceptions triggered by malformed requests.

Vulnerability Detail

A vulnerability exists in Multer versions >= 1.4.4-lts.1 and < 2.0.2 that allows attackers to send malformed requests. These requests can cause unhandled exceptions, leading to the crashing of the application process. This vulnerability can be exploited to disrupt service availability, making it critical for developers to address it promptly.

How To Fix

Minimum fixed version

2.0.2

This is the first release that contains the fix.

npm install multer@2.0.2

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

Workaround

Currently, there are no workarounds available for this vulnerability. The best course of action is to upgrade to the patched version as soon as possible.

Conclusion

The vulnerability identified as CVE-2025-7338 in Multer poses a significant risk of Denial of Service due to unhandled exceptions from malformed requests. Users are strongly advised to upgrade to version 2.0.2 to mitigate this risk and ensure the stability of their applications.

See every vulnerability recorded for multer →

Share this vulnerability

FAQ

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

Multer versions >= 1.4.4-lts.1 and < 2.0.2 are affected by this vulnerability.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. You can check your application using the Vulert playground at Vulert Scanner without any signup.

If left unaddressed, this vulnerability can lead to Denial of Service attacks, causing your application to crash and become unavailable to users.

Currently, there are no specific workarounds available. The recommended action is to upgrade to the patched version as soon as possible.

Related vulnerabilities

Recent vulnerabilities recorded for multer.

How To Fix

Minimum fixed version

2.0.2

This is the first release that contains the fix.

npm install multer@2.0.2

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