{"id":"CVE-2025-7338","published":"2025-07-17T15:26:45Z","modified":"2025-07-17T16:48:43Z","title":"Multer vulnerable to Denial of Service via unhandled exception from malformed request","vendor":"expressjs","product":"multer","tier":"tail","description":{"text":"Multer is a node.js middleware for handling `multipart/form-data`. A vulnerability that is present starting in version 1.4.4-lts.1 and prior to version 2.0.2 allows an attacker to trigger a Denial of Service (DoS) by sending a malformed multi-part upload request. This request causes an unhandled exception, leading to a crash of the process. Users should upgrade to version 2.0.2 to receive a patch. No known workarounds are available.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00808,"percentile":0.57746,"provenance":"source"},"cwes":[{"id":"CWE-248","name":"Uncaught Exception"}],"references":[{"url":"https://github.com/expressjs/multer/security/advisories/GHSA-fjgf-rc76-4x9p","tags":[]},{"url":"https://github.com/expressjs/multer/commit/adfeaf669f0e7fe953eab191a762164a452d143b","tags":[]},{"url":"https://cna.openjsf.org/security-advisories.html","tags":[]}],"priority":{"score":21.8,"factors":[{"name":"EPSS percentile","points":11.55},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.25}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2025-12-04","earliestUrl":"https://github.com/r2c-CSE/multer-sca-rule-test_cve-2025-7338","repos":[{"name":"r2c-CSE/multer-sca-rule-test_cve-2025-7338","url":"https://github.com/r2c-CSE/multer-sca-rule-test_cve-2025-7338","stars":0,"created":"2025-12-04"}]},"first":{"date":"2025-12-04","source":"PoC-in-GitHub","url":"https://github.com/r2c-CSE/multer-sca-rule-test_cve-2025-7338"},"provenance":"source"},"vendorSlug":"expressjs","affectedVersions":[{"vendor":"expressjs","product":"multer","versions":[">= 1.4.4-lts.1, < 2.0.2"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-07-17T16:48:34.245218Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"multer","vulnerableRanges":[">=1.4.4-lts.1, <2.0.2"],"patched":["2.0.2"],"from":["GHSA-fjgf-rc76-4x9p"],"provenance":"source"}],"summary":{"text":"Multer, a Node.js middleware for handling multipart/form-data in the expressjs project, contains a flaw in versions from 1.4.4-lts.1 up to (but not including) 2.0.2 where a malformed multipart upload request triggers an unhandled exception. An unauthenticated remote attacker who can reach the affected application over the network can send such a request without user interaction, causing the process to crash and resulting in denial of service.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:00:22Z"},"euvd":{"id":"EUVD-2025-21776","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2025-47935","published":"2025-05-19","fixed":"2.0.0","kev":false},{"cve":"CVE-2025-47944","published":"2025-05-19","fixed":"2.0.0","kev":false},{"cve":"CVE-2025-48997","published":"2025-06-03","fixed":"2.0.1","kev":false,"link":{"from":"CVE-2025-48997","to":"CVE-2025-7338","relation":"successor","confidence":"high","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:multer","fromFixed":"2.0.1","toFixed":"2.0.2","daysApart":44},{"kind":"same-code","provenance":"machine","files":["lib/make-middleware.js"],"commits":["https://github.com/expressjs/multer/commit/35a3272b611945155e046dd5cef11088587635e9","https://github.com/expressjs/multer/commit/adfeaf669f0e7fe953eab191a762164a452d143b"],"basis":"shared file"}]}},{"cve":"CVE-2025-7338","published":"2025-07-17","fixed":"2.0.2","kev":false},{"cve":"CVE-2026-2359","published":"2026-02-27","fixed":"2.1.0","kev":false,"link":{"from":"CVE-2025-7338","to":"CVE-2026-2359","relation":"successor","confidence":"high","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:multer","fromFixed":"2.0.2","toFixed":"2.1.0","daysApart":225},{"kind":"same-code","provenance":"machine","files":["lib/make-middleware.js"],"commits":["https://github.com/expressjs/multer/commit/adfeaf669f0e7fe953eab191a762164a452d143b","https://github.com/expressjs/multer/commit/cccf0fe0e64150c4f42ccf6654165c0d66b9adab"],"basis":"shared file"}]}},{"cve":"CVE-2026-3304","published":"2026-02-27","fixed":"2.1.0","kev":false,"link":{"from":"CVE-2025-7338","to":"CVE-2026-3304","relation":"successor","confidence":"high","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:multer","fromFixed":"2.0.2","toFixed":"2.1.0","daysApart":225},{"kind":"same-code","provenance":"machine","files":["lib/make-middleware.js"],"commits":["https://github.com/expressjs/multer/commit/adfeaf669f0e7fe953eab191a762164a452d143b","https://github.com/expressjs/multer/commit/739919097dde3921ec31b930e4b9025036fa74ee"],"basis":"shared file"}]}},{"cve":"CVE-2026-3520","published":"2026-03-04","fixed":"2.1.1","kev":false}],"package":"npm:multer"}}