What’s Vulnerable › Vulnerabilities

CVE-2025-7338: Multer vulnerable to Denial of Service via unhandled exception from malformed request

Description

Multer is a node.js middleware for handling `multipart/form-data`. A vulnerability that is present starting in version 1.4.4-lts.1 and prior to version 2.0.2 allows an attacker to trigger a Denial of Service (DoS) by sending a malformed multi-part upload request. This request causes an unhandled exception, leading to a crash of the process. Users should upgrade to version 2.0.2 to receive a patch. No known workarounds are available.

Affected products

How to fix

Upgrade to a fixed version: multer 2.0.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-7338 or the next vulnerability affects your stack