{"id":"CVE-2026-77078","summary":"multer vulnerable to Denial of Service via crafted multipart field names","details":"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.","aliases":["GHSA-wc9g-mqfw-jrwm"],"modified":"2026-09-04T03:47:32.643953525Z","published":"2026-08-28T20:03:23.114Z","database_specific":{"cna_assigner":"openjs","cwe_ids":["CWE-248"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/77xxx/CVE-2026-77078.json"},"references":[{"type":"ADVISORY","url":"https://cna.openjsf.org/security-advisories.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/77xxx/CVE-2026-77078.json"},{"type":"ADVISORY","url":"https://github.com/expressjs/multer/security/advisories/GHSA-wc9g-mqfw-jrwm"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-77078"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/expressjs/multer","events":[{"introduced":"0"},{"fixed":"4e8edf50dbb5ddec213b6253642cbc08ce0225a7"}],"database_specific":{"cpe":"cpe:2.3:a:expressjs:multer:*:*:*:*:*:node.js:*:*","extracted_events":[{"introduced":"0"},{"fixed":"2.3.0"}],"source":["AFFECTED_FIELD","CPE_RANGE"]}}],"versions":["v2.2.0","v2.1.1","v2.1.0","v2.0.2","v2.0.1","v2.0.0","v1.4.5-lts.2","v1.4.5-lts.1","v1.4.4","v1.4.4-lts.1","v1.4.3","v1.4.2","v1.4.1","v1.4.0","v1.3.1","v1.3.0","v1.2.1","v1.2.0","v1.1.0","v1.0.6","v1.0.5","v1.0.4","v1.0.3","v1.0.2","v1.0.1","v1.0.0"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-77078.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}