Missing Release of Memory after Effective Lifetime Affecting multer package, versions <2.0.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (11th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Missing Release of Memory after Effective Lifetime vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-MULTER-10185675
  • published20 May 2025
  • disclosed19 May 2025
  • creditUnlimitedBytes

Introduced: 19 May 2025

NewCVE-2025-47935  (opens in a new tab)
CWE-401  (opens in a new tab)

How to fix?

Upgrade multer to version 2.0.0 or higher.

Overview

Affected versions of this package are vulnerable to Missing Release of Memory after Effective Lifetime due to improper handling of error events in HTTP request streams, which fails to close the internal busboy stream. An attacker can cause a denial of service by repeatedly triggering errors in file upload streams, leading to resource exhaustion and memory leaks.

Note:

This is only exploitable if the server is handling file uploads.

CVSS Base Scores

version 4.0
version 3.1