CVE-2025-48997: Multer vulnerable to Denial of Service via unhandled exception
Impact A vulnerability in Multer versions =1.4.4-lts.1, <2.0.1 allows an attacker to trigger a Denial of Service (DoS) by sending an upload file request with an empty string field name. This request causes an unhandled exception, leading to a crash of the process.
Published Jun 5, 2025
Affected packages
multer
- Ecosystem
- npm
- Affected
- >= 1.4.4-lts.1, < 2.0.1
- Fixed in
- 2.0.1
- Check
npm ls multer
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Impact
A vulnerability in Multer versions >=1.4.4-lts.1, <2.0.1 allows an attacker to trigger a Denial of Service (DoS) by sending an upload file request with an empty string field name. This request causes an unhandled exception, leading to a crash of the process.
Patches
Users should upgrade to 2.0.1
Workarounds
None
References
https://github.com/expressjs/multer/commit/35a3272b611945155e046dd5cef11088587635e9 https://github.com/expressjs/multer/issues/1233 https://github.com/expressjs/multer/pull/1256
Credited to bjohansebas, ctcpip, Markiz9999, UlisesGascon, wesleytodd, LinusU.
References
- https://github.com/expressjs/multer/security/advisories/GHSA-g5hg-p3ph-g8qg
- https://nvd.nist.gov/vuln/detail/CVE-2025-48997
- https://github.com/expressjs/multer/issues/1233
- https://github.com/expressjs/multer/pull/1256
- https://github.com/expressjs/multer/commit/35a3272b611945155e046dd5cef11088587635e9
- https://github.com/advisories/GHSA-g5hg-p3ph-g8qg
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More npm vulnerabilities
All npm entriesCVE-2026-113872
multer vulnerable to Denial of Service via a pending asynchronous fileFilter after request teardown
high7.5Oct 23, 2026CVE-2026-88932
multer vulnerable to Denial of Service via orphaned disk writes on aborted uploads
medium5.3Sep 28, 2026CVE-2026-77037
multer vulnerable to Denial of Service via file descriptor leak on aborted uploads
high7.5Sep 8, 2026CVE-2026-77063
multer vulnerable to file size limit bypass via async fileFilter race condition
low3.7Sep 8, 2026CVE-2026-77078
multer vulnerable to Denial of Service via crafted multipart field names
high7.5Sep 8, 2026CVE-2026-82333
multer vulnerable to Denial of Service via oversized array index in field names
high7.5Sep 8, 2026
