Allocation of Resources Without Limits or Throttling Affecting file-type package, versions >=20.0.0 <21.3.2


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.08% (24th 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 Allocation of Resources Without Limits or Throttling vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-FILETYPE-15609896
  • published15 Mar 2026
  • disclosed13 Mar 2026
  • creditByambadalai Sumiya

Introduced: 13 Mar 2026

CVE-2026-32630  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade file-type to version 21.3.2 or higher.

Overview

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling in the processing of ZIP-based file type detection via the fileTypeFromBuffer, fileTypeFromBlob, or fileTypeFromFile functions. An attacker can cause excessive memory consumption by submitting a large [Content_Types].xml entry.

CVSS Base Scores

version 4.0
version 3.1