Multer is a node.js middleware for handling `multipart/form-data`. Versions prior to 2.0.0 are vulnerable to a resource exhaustion and memory leak issue due to improper stream handling. When the HTTP request stream emits an error, the internal `busboy` stream is not closed, violating Node.js stream safety guidance. This leads to unclosed streams accumulating over time, consuming memory and file descriptors. Under sustained or repeated failure conditions, this can result in denial of service, requiring manual server restarts to recover. All users of Multer handling file uploads are potentially impacted. Users should upgrade to 2.0.0 to receive a patch. No known workarounds are available.
Metrics
Affected Vendors & Products
References
History
Tue, 27 May 2025 21:15:00 +0000
Type | Values Removed | Values Added |
---|---|---|
Metrics |
ssvc
|
Mon, 19 May 2025 19:30:00 +0000
Type | Values Removed | Values Added |
---|---|---|
Description | Multer is a node.js middleware for handling `multipart/form-data`. Versions prior to 2.0.0 are vulnerable to a resource exhaustion and memory leak issue due to improper stream handling. When the HTTP request stream emits an error, the internal `busboy` stream is not closed, violating Node.js stream safety guidance. This leads to unclosed streams accumulating over time, consuming memory and file descriptors. Under sustained or repeated failure conditions, this can result in denial of service, requiring manual server restarts to recover. All users of Multer handling file uploads are potentially impacted. Users should upgrade to 2.0.0 to receive a patch. No known workarounds are available. | |
Title | Multer vulnerable to Denial of Service via memory leaks from unclosed streams | |
Weaknesses | CWE-401 | |
References |
| |
Metrics |
cvssV3_1
|

Status: PUBLISHED
Assigner: GitHub_M
Published: 2025-05-19T19:18:38.018Z
Updated: 2025-05-27T20:28:27.244Z
Reserved: 2025-05-14T10:32:43.529Z
Link: CVE-2025-47935

Updated: 2025-05-20T14:29:29.512Z

Status : Awaiting Analysis
Published: 2025-05-19T20:15:25.863
Modified: 2025-05-21T20:25:16.407
Link: CVE-2025-47935

No data.