Skip to content

CVE-2026-77078 multer vulnerable to Denial of Service via crafted multipart field names

HighCVSS 7.5 EPSS 0.49%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial
Technology
DebianRed Hat

Description

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.

Upgrade path

7 packages: 4 fixed, 3 with no fix yet.

PackageAffectedFixed inStatus
redhat/rhdh/red-hat-developer-hub-backstage-plugin-lightspeed-backend:1791242697(Red Hat rhdh 1.10 el9) All versions No fix listed No fix yet
redhat/rhdh/red-hat-developer-hub-backstage-plugin-orchestrator-backend:1791251282(Red Hat rhdh 1.10 el9) All versions No fix listed No fix yet
redhat/rhdh/rhdh-hub-rhel9:1791311495(Red Hat rhdh 1.10 el9) All versions No fix listed No fix yet
debian/node-multer(Debian 14) < 2.4.0+~cs3.2.0-1; = 2.2.0+~cs3.1.0-1; = 2.2.0+~cs3.1.0-2; = 2.2.0+~cs3.2.0-1 2.4.0+~cs3.2.0-1 Fixed
expressjs multer < 2.3.0 2.3.0 Fixed
npm multer < 2.3.0 2.3.0 Fixed
npm multer(npm) < 2.3.0 2.3.0 Fixed

Affected products

ProductAffected versionsFixed in
npm multer < 2.3.0 2.3.0
redhat/rhdh/red-hat-developer-hub-backstage-plugin-lightspeed-backend:1791242697(Red Hat:rhdh:1.10::el9) All versions No fix listed
redhat/rhdh/red-hat-developer-hub-backstage-plugin-orchestrator-backend:1791251282(Red Hat:rhdh:1.10::el9) All versions No fix listed
redhat/rhdh/rhdh-hub-rhel9:1791311495(Red Hat:rhdh:1.10::el9) All versions No fix listed
redhat/ansible-automation-platform/automation-portal(Red Hat:ansible_portal:2) All versions No fix listed
redhat/ansible-automation-platform/bootc-automation-portal-rhel9(Red Hat:ansible_portal:2) All versions No fix listed
npm multer(npm) < 2.3.0 2.3.0
debian/node-multer(Debian:14) < 2.4.0+~cs3.2.0-1 2.4.0+~cs3.2.0-1
debian/node-multer(Debian:14) = 2.2.0+~cs3.1.0-1 No fix listed
debian/node-multer(Debian:14) = 2.2.0+~cs3.1.0-2 No fix listed
debian/node-multer(Debian:14) = 2.2.0+~cs3.2.0-1 No fix listed
expressjs multer < 2.3.0 2.3.0

References