{"id":"CVE-2026-77078","aliases":["CVE-2026-77078","GHSA-wc9g-mqfw-jrwm"],"related":[],"kind":"vulnerability","state":"published","title":"multer vulnerable to Denial of Service via crafted multipart field names","summary":"multer is a middleware for handling multipart/form-data in Node.js. A small multipart request containing two specially crafted text field names can cause an uncaught RangeError (Invalid array length) that terminates the Node.js process. The first field uses a very large numeric array index to allocate a maximum-length sparse array, and a second field then pushes past that length, which throws inside the append-field dependency and is not caught by multer. All versions before 2.3.0 are affected, and the issue is a remotely triggerable denial of service. The issue is fixed in multer 2.3.0. Upgrade to multer 2.3.0 to remediate.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"multer is a middleware for handling multipart/form-data in Node.js. A small multipart request containing two specially crafted text field names can cause an uncaught RangeError (Invalid array length) that terminates the Node.js process. The first field uses a very large numeric array index to allocate a maximum-length sparse array, and a second field then pushes past that length, which throws inside the append-field dependency and is not caught by multer. All versions before 2.3.0 are affected, and the issue is a remotely triggerable denial of service. The issue is fixed in multer 2.3.0. Upgrade to multer 2.3.0 to remediate.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nA vulnerability in multer allows a remote, unauthenticated attacker to crash the Node.js process with a single `multipart/form-data` request. Two specially crafted text field names cause an uncaught `RangeError: Invalid array length` inside multer's field parsing, which is not routed to the application error handler and terminates the process. All applications using multer to parse multipart requests are affected.\n\n### Patches\n\nUsers should upgrade to `2.3.0`.\n\n### Workarounds\n\nNone.","format":"markdown","source":"ghsa"}],"published":"2026-08-28T20:03:23.114Z","modified":"2026-09-08T21:45:04.624Z","severity":{"scorer":"openjs","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"openjs","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-248"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"2.3.0","status":"affected"},{"type":"semver","version":"2.3.0","status":"unaffected"}],"vendor":"multer","product":"multer","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.3.0"}],"ecosystem":"npm","package":"multer","purl":"pkg:npm/multer","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2.3.0"}],"vendor":"expressjs","product":"multer","cpe":"cpe:2.3:a:expressjs:multer:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/expressjs/multer/security/advisories/GHSA-wc9g-mqfw-jrwm","tags":["vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://cna.openjsf.org/security-advisories.html","tags":["vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-77078","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/expressjs/multer/commit/87a584e8c8d4da873292635fa1d8c4d78d985b76","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/expressjs/multer","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/expressjs/multer/releases/tag/v2.3.0","tags":["web"],"sources":["ghsa"]}],"credits":["O4FDev","UlisesGascon"],"assigner":"openjs","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-08-31T18:40:12.477Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-77078","url":"https://www.cve.org/CVERecord?id=CVE-2026-77078","licence":"CVE Terms of Use","modified":"2026-08-31T18:40:24.545Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-wc9g-mqfw-jrwm","url":"https://github.com/advisories/GHSA-wc9g-mqfw-jrwm","licence":"CC-BY-4.0","modified":"2026-09-08T21:45:04.624Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-77078","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-77078","licence":"Public domain","modified":"2026-09-02T14:46:28.590Z"}],"updatedAt":"2026-11-25T22:59:35.722Z","epss":{"score":0.00422,"percentile":0.38474,"date":"2026-12-01T12:00:22.000Z"}}