CVE-2025-7338: Multer denial of service via unhandled exception

CVE-2025-7338 · Severity: low · CVSS 3.1 · Published 2025-07-17

Multer is a popular Node.js library for handling file uploads in web applications. An attacker can crash the application server by sending a specially crafted malformed request that triggers an unhandled exception, causing service outages and disrupting legitimate users' ability to upload files or access the application.

Technologies: multer (npm). Vendors: npm.

Quick answers

Is CVE-2025-7338 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2025-7338 being exploited in the wild.
How severe is CVE-2025-7338?
Low severity, with a CVSS score of 3.1, published 17 July 2025.
Which products and versions are affected?
multer (npm) SEMVER:introduced=1.4.4-lts.1,fixed=2.0.2.
Is there a fix for CVE-2025-7338?
Yes. multer (npm): upgrade to 2.0.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2025-7338 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2025-7338?
Check whether you run multer (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • multer (npm): upgrade to 2.0.2 or later
    npm install multer@2.0.2

Technical details

This vulnerability is an uncaught exception flaw (CWE-248) affecting Multer versions 1.4.4-lts.1 through 2.0.1. An attacker can send a malformed request to an endpoint using Multer for file upload processing, causing the library to throw an unhandled exception that crashes the Node.js process. The attack requires only network access and no authentication or user interaction. The vulnerability has been patched in version 2.0.2, and users are advised to upgrade immediately.

Affected products

  • Express.js Foundation Multer >=1.4.4-lts.1, <2.0.2

Identifiers

  • CVE-2025-7338
  • GHSA-fjgf-rc76-4x9p

Timeline

  • 2025-07-17: disclosed: Vulnerability published on GitHub Security Advisory
  • 2025-07-17: patched: Version 2.0.2 released with fix

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.