CVE-2025-47935

Multer vulnerable to Denial of Service via memory leaks from unclosed streams

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.

Category

7.5
CVSS
Severity: High
CVSS 3.1 •
EPSS 0.04%
Affected: expressjs multer
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2025-47935?
CVE-2025-47935 has been scored as a high severity vulnerability.
How to fix CVE-2025-47935?
To fix CVE-2025-47935, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2025-47935 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2025-47935 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2025-47935?
CVE-2025-47935 affects expressjs multer.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.