CVE-2025-47935
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
multernpm | < 2.0.0 | 2.0.0 |
Affected products
4- osv-coords3 versions
< 3.12.6-r0+ 2 more
- (no CPE)range: < 3.12.6-r0
- (no CPE)range: < 3.12.6-r0
- (no CPE)range: < 2.0.0
Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-44fp-w29j-9vj5ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-47935ghsaADVISORY
- github.com/expressjs/multer/commit/2c8505f207d923dd8de13a9f93a4563e59933665nvdWEB
- github.com/expressjs/multer/pull/1120nvdWEB
- github.com/expressjs/multer/security/advisories/GHSA-44fp-w29j-9vj5nvdWEB
News mentions
0No linked articles in our index yet.