CVE-2025-47935 Details
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.
A denial-of-service vulnerability has been identified in Multer, a Node.js middleware for handling multipart form data, prior to version 2.0.0. The issue arises from improper stream management, where the internal 'busboy' stream is not closed when the HTTP request stream encounters an error. This oversight creates a memory leak as unclosed streams accumulate over time, consuming memory and file descriptors. Under sustained or repeated failure conditions, this can lead to a denial-of-service situation, requiring manual server restarts to recover. All users of Multer who handle file uploads are potentially affected.
Users should upgrade to Multer version 2.0.0 or later, where this vulnerability has been patched.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed May 19, 2025CISA-ADP
Assessed May 20, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/expressjs/multer/commit/2c8505f207d923dd8de13a9f93a4563e59933665 | [email protected] | Source CodeVendor |
| https://github.com/expressjs/multer/pull/1120 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://github.com/expressjs/multer/security/advisories/GHSA-44fp-w29j-9vj5 | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-401 | Missing Release of Memory after Effective Lifetime | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| expressjs multer | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 19, 2025 | New CVE Received | [email protected] |
Volerion