CVE-2025-48997: Multer vulnerable to Denial of Service via unhandled exception

8.7 CVSS

Description

Multer is a node.js middleware for handling `multipart/form-data`. A vulnerability that is present starting in version 1.4.4-lts.1 and prior to version 2.0.1 allows an attacker to trigger a Denial of Service (DoS) by sending an upload file request with an empty string field name. This request causes an unhandled exception, leading to a crash of the process. Users should upgrade to `2.0.1` to receive a patch. No known workarounds are available.

Classification

CVE ID: CVE-2025-48997

CVSS Base Severity: HIGH

CVSS Base Score: 8.7

CVSS 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

Problem Types

CWE-248: Uncaught Exception

Affected Products

Vendor: expressjs

Product: multer

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.04% (probability of being exploited)

EPSS Percentile: 12.35% (scored less or equal to compared to others)

EPSS Date: 2025-06-05 (when was this score calculated)

Stakeholder-Specific Vulnerability Categorization (SSVC)

SSVC Exploitation: none

SSVC Technical Impact: partial

SSVC Automatable: true

References

https://nvd.nist.gov/vuln/detail/CVE-2025-48997
https://github.com/expressjs/multer/security/advisories/GHSA-g5hg-p3ph-g8qg
https://github.com/expressjs/multer/issues/1233
https://github.com/expressjs/multer/pull/1256
https://github.com/expressjs/multer/commit/35a3272b611945155e046dd5cef11088587635e9

Timeline