CVE-2025-48997: Multer vulnerable to Denial of Service via unhandled exception
Impact
A vulnerability in Multer versions >=1.4.4-lts.1, <2.0.1 allows an attacker to trigger a Denial of Service (DoS) by sending an upload file request with an empty string field name. This request causes an unhandled exception, leading to a crash of the process.
Patches
Users should upgrade to 2.0.1
Workarounds
None
References
https://github.com/expressjs/multer/commit/35a3272b611945155e046dd5cef11088587635e9 https://github.com/expressjs/multer/issues/1233 https://github.com/expressjs/multer/pull/1256
Other sources
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.1 allows an attacker to trigger a Denial of Service (DoS) by sending an upload file request with an empty string field name. This request causes an unhandled exception, leading to a crash of the process. Users should upgrade to 2.0.1 to receive a patch. No known workarounds are available.
— MITRE
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2025-48997?
CVE-2025-48997 has a high severity rating as it allows for a Denial of Service (DoS) attack.
How do I fix CVE-2025-48997?
To fix CVE-2025-48997, upgrade Multer to version 2.0.1 or later.
What versions of Multer are affected by CVE-2025-48997?
CVE-2025-48997 affects Multer versions from 1.4.4-lts.1 up to, but not including, 2.0.1.
What attack vector is exploited in CVE-2025-48997?
CVE-2025-48997 is exploited by sending an upload file request with an empty string as the field name.
Is there a particular environment where CVE-2025-48997 is more vulnerable?
CVE-2025-48997 is particularly vulnerable in Node.js applications that utilize Multer for handling multipart form data.