Resource Exhaustion Vulnerability in Multer Node.js Middleware
CVE-2025-47935

7.5HIGH

Key Information:

Vendor

Expressjs

Status
Vendor
CVE Published:
19 May 2025

What is CVE-2025-47935?

Multer, a middleware for Node.js used for handling multipart form data, contains a resource exhaustion and memory leak vulnerability in versions prior to 2.0.0. This vulnerability arises from improper handling of HTTP request streams when an error is emitted. The internal busboy stream is not closed, leading to unclosed streams that consume increasing amounts of memory and file descriptors over time. Under conditions of sustained or repeated failures, this exposure can result in a denial of service, necessitating manual server restarts for recovery. Users should upgrade to version 2.0.0 or later to mitigate this issue, as no known workarounds are available.

Affected Version(s)

multer < 2.0.0

References

CVSS V3.1

Score:
7.5
Severity:
HIGH
Confidentiality:
None
Integrity:
None
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.
CVE-2025-47935 : Resource Exhaustion Vulnerability in Multer Node.js Middleware