{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-5038","assignerOrgId":"ce714d77-add3-4f53-aff5-83d477b104bb","state":"PUBLISHED","assignerShortName":"openjs","dateReserved":"2026-03-27T16:26:09.638Z","datePublished":"2026-06-15T14:23:24.230Z","dateUpdated":"2026-06-15T16:07:45.114Z"},"containers":{"cna":{"providerMetadata":{"orgId":"ce714d77-add3-4f53-aff5-83d477b104bb","shortName":"openjs","dateUpdated":"2026-06-15T14:23:24.230Z"},"descriptions":[{"lang":"en","value":"Impact: multer versions 2.0.0-alpha.1 through 2.1.1 and 3.0.0-alpha.1 are vulnerable to a Denial of Service when using diskStorage. Aborted or malformed multipart uploads leave orphaned partial files on disk because the Readable.pipe() call does not propagate the stream destroy signal to \nthe underlying fs.WriteStream. An attacker can exhaust disk space by triggering many aborted uploads, with no application bug required.\n\nPatches: Users should upgrade to multer 2.2.0 (2.x line) or 3.0.0-alpha.2 (3.x prerelease). Both versions track in-flight write streams and clean them up on the abort path.\n\nWorkarounds: None.","supportingMedia":[{"type":"text/html","base64":false,"value":"Impact: multer versions 2.0.0-alpha.1 through 2.1.1 and 3.0.0-alpha.1 are vulnerable to a Denial of Service when using diskStorage. Aborted or malformed multipart uploads leave orphaned partial files on disk because the Readable.pipe() call does not propagate the stream destroy signal to \nthe underlying fs.WriteStream. An attacker can exhaust disk space by triggering many aborted uploads, with no application bug required.\n\nPatches: Users should upgrade to multer 2.2.0 (2.x line) or 3.0.0-alpha.2 (3.x prerelease). Both versions track in-flight write streams and clean them up on the abort path.\n\nWorkarounds: None."}]}],"affected":[{"vendor":"multer","product":"multer","defaultStatus":"unaffected","versions":[{"versionType":"semver","status":"affected","version":"2.0.0-alpha.1","lessThan":"2.2.0"},{"versionType":"semver","status":"unaffected","version":"2.2.0"},{"versionType":"semver","status":"affected","version":"3.0.0-alpha.1","lessThan":"3.0.0-alpha.2"},{"versionType":"semver","status":"unaffected","version":"3.0.0-alpha.2"}],"packageURL":"pkg:npm/multer"}],"references":[{"url":"https://github.com/expressjs/multer/security/advisories/GHSA-3p4h-7m6x-2hcm"},{"url":"https://cna.openjsf.org/security-advisories.html"}],"credits":[{"lang":"en","type":"remediation reviewer","value":"yuki-matsuhashi"},{"lang":"en","type":"finder","value":"HamdaanAliQuatil"},{"lang":"en","type":"finder","value":"fasrm"},{"lang":"en","type":"remediation developer","value":"UlisesGascon"},{"lang":"en","type":"remediation reviewer","value":"bjohansebas"},{"lang":"en","type":"finder","value":"0xStraw-Hat"},{"lang":"en","type":"finder","value":"bhaswanthc"},{"lang":"en","type":"finder","value":"ByamB4"},{"lang":"en","type":"finder","value":"sbouabid-sec"},{"lang":"en","type":"finder","value":"DavidCarliez"},{"lang":"en","type":"finder","value":"JebeenLee"}],"title":"multer vulnerable to Denial of Service via incomplete cleanup of aborted uploads","metrics":[{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","baseScore":5.3,"baseSeverity":"MEDIUM"},"scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-459","lang":"en","description":"CWE-459: Incomplete Cleanup","type":"CWE"}]}],"x_generator":{"engine":"cve-kit 1.0.0"}},"adp":[{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-06-15T16:07:25.876003Z","id":"CVE-2026-5038","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-06-15T16:07:45.114Z"}}]}}