CVE-2026-3304

Multer vulnerable to Denial of Service via incomplete cleanup

Published Feb 27, 2026 CVSS 4.0 · 8.7 High EPSS 1.0% KEV · Not listed
Description
Multer is a node.js middleware for handling `multipart/form-data`. A vulnerability in Multer prior to version 2.1.0 allows an attacker to trigger a Denial of Service (DoS) by sending malformed requests, potentially causing resource exhaustion. Users should upgrade to version 2.1.0 to receive a patch. No known workarounds are available.

Analysis

AI-generated

Technical impact

Multer is a middleware that parses multipart/form-data for Node.js applications. Versions prior to 2.1.0 allow an attacker to trigger a denial‑of‑service by sending malformed requests that cause the parser to exhaust resources; the library fails to complete cleanup when malformed data is received, corresponding to CWE‑459. This results in memory or CPU overconsumption that can render the hosting application unavailable to legitimate users.

Affected Systems

The vulnerability is confined to the Multer component of Express.js applications. Any project using a Multer instance whose version is older than 2.1.0 is at risk, regardless of other middleware used. The risk applies globally to any endpoint that processes file uploads through Multer.

Risk and Exploitability

The CVSS score of 8.7 marks this as a high‑severity issue. The EPSS score, being less than 1%, indicates that exploitation attempts remain rare at present, and the vulnerability is not yet catalogued in CISA’s KEV. Attackers can exploit the weakness remotely via HTTP requests without authentication; by crafting multipart/form-data packets that trigger excessive resource usage, they can cause the target server to become unresponsive.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Multer to version 2.1.0 or later
  • Configure and enforce file size limits and other resource quotas on the upload gateway to mitigate any accidental or malicious overflow
  • Implement rate‑limiting or traffic shaping for upload endpoints and monitor incoming multipart requests for abnormal patterns

Generated by OpenCVE AI on April 16, 2026 at 15:27 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-xf7r-hgr6-v32p Multer vulnerable to Denial of Service via incomplete cleanup
History
Type Values Removed Values Added
CPEs cpe:2.3:a:expressjs:multer:*:*:*:*:*:node.js:*:*
Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Important

Type Values Removed Values Added
First Time appeared Expressjs
Expressjs multer
Vendors & Products Expressjs
Expressjs multer
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Multer is a node.js middleware for handling `multipart/form-data`. A vulnerability in Multer prior to version 2.1.0 allows an attacker to trigger a Denial of Service (DoS) by sending malformed requests, potentially causing resource exhaustion. Users should upgrade to version 2.1.0 to receive a patch. No known workarounds are available.
Title Multer vulnerable to Denial of Service via incomplete cleanup
Weaknesses CWE-459
References
Metrics cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
openjs
Published
Updated
Jul 15, 2026, 1:07 AM
Reserved
Feb 26, 2026, 8:42 PM
Status
Modified
Published
Feb 27, 2026, 4:16 PM
Modified
Jul 15, 2026, 2:20 AM
Severity
Important
Public date
Feb 27, 2026, 3:44 PM