7.5High

CVE-2026-82333multer vulnerable to Denial of Service via oversized array index in field names

multer multer Published: (2 months ago)

Description

multer is a middleware for handling multipart/form-data in Node.js. A small multipart request with two specially crafted text field names can make multer's field parser synchronously iterate a maximum-length sparse array, blocking the event loop so the process cannot handle other requests. A large numeric array index in the first field allocates a maximum-length sparse array, and a second field with a non-numeric key then triggers a full-length iteration inside the append-field dependency. All versions before 2.3.0 are affected, and this is a remotely triggerable denial of service. multer 2.3.0 adds an opt-in fieldArrayIndexLimit option that rejects oversized array indexes. Upgrade to multer 2.3.0 and set limits.fieldArrayIndexLimit to the largest array index your application needs to remediate.

Weakness (CWE): CWE-400

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
expressjs multer < 2.3.0
multer multer < 2.3.0, fixed 2.3.0

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:expressjs:multer:*:*:*:*:*:node.js:*:* < 2.3.0