← Terug naar overzicht

A denial-of-service vulnerability exists in multer, a Node.js middleware for handling multipart/form-data. By sending a small multipart request with two specially crafted text field names, an attacker can cause multer's field parser to synchronously iterate a maximum-length sparse array, blocking the Node.js event loop entirely. A large numeric array index in the first field allocates a maximum-length sparse array, and a second field with a non-numeric key triggers a full-length iteration inside the append-field dependency. All versions of multer before 2.3.0 are affected. The vulnerability is remotely triggerable with minimal request size, making it highly exploitable. The fix is available in multer 2.3.0, which introduces an opt-in fieldArrayIndexLimit option to reject oversized array indexes. Users are advised to upgrade to multer 2.3.0 and set limits.fieldArrayIndexLimit appropriately.

Affected products

  • Node.js
  • append-field
  • multer

Related CVE's

  • CVE-2026-82333

Categories

  • Supply Chain & Dependencies
  • Web Technologies