CVE-2025-47935CWE-401

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

High · published May 19, 2025

CVSS v3.1
7.5
EPSS
1%
Percentile
56.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00795 · 56.0th percentile
Weakness
CWE-401 · Missing Release of Memory after Effective Lifetime
Published
2025-05-19T19:18Z
EPSS history
Timeline
  • 19 MAY 19:18Z
    Multer vulnerable to Denial of Service via memory leaks from unclosed streams
    cvelistv5