CVE-2026-3520: Multer Vulnerable to Denial of Service via Uncontrolled Recursion
Impact A vulnerability in Multer versions < 2.1.1 allows an attacker to trigger a Denial of Service (DoS) by sending malformed requests, potentially causing stack overflow. Patches Users should upgrade to 2.1.1 Workarounds None Resources - https://github.com/expressjs/multer/security/advisories/GHSA-5528-5vmv-3xc2 - https://www.cve.org/CVERecord?id=CVE-2026-3520 -…
Published Mar 5, 2026
Affected packages
multer
- Ecosystem
- npm
- Affected
- < 2.1.1
- Fixed in
- 2.1.1
- Check
npm ls multer
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Impact
A vulnerability in Multer versions < 2.1.1 allows an attacker to trigger a Denial of Service (DoS) by sending malformed requests, potentially causing stack overflow.
Patches
Users should upgrade to 2.1.1
Workarounds
None
Resources
- https://github.com/expressjs/multer/security/advisories/GHSA-5528-5vmv-3xc2
- https://www.cve.org/CVERecord?id=CVE-2026-3520
- https://github.com/expressjs/multer/commit/7e66481f8b2e6c54b982b34c152479e096ce2752
- https://cna.openjsf.org/security-advisories.html
Credited to yuki-matsuhashi, ctcpip, UlisesGascon.
References
- https://github.com/expressjs/multer/security/advisories/GHSA-5528-5vmv-3xc2
- https://nvd.nist.gov/vuln/detail/CVE-2026-3520
- https://github.com/expressjs/multer/commit/7e66481f8b2e6c54b982b34c152479e096ce2752
- https://cna.openjsf.org/security-advisories.html
- https://www.cve.org/CVERecord?id=CVE-2026-3520
- https://github.com/advisories/GHSA-5528-5vmv-3xc2
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
