5.3

CVE-2026-32630: sindresorhus file-type

CVSS: 5.3v3.1MediumAnalyzed
AliasesGHSA-j47w-4g3g-c36vCGA-j6wj-gj35-6f4hCGA-rpwr-pxp3-rw9p
Published 13-03-2026Last modified 16-03-2026

Vulnerability summary

CVE-2026-32630 is a medium (CVSS 5.3) vulnerability in sindresorhus file-type. EPSS estimates a 0.45% chance of exploitation in the next 30 days, higher than 37.9% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
31/100
0100
Medium · default modelHow is this calculated?
CVSS score
5.3/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.45%
0%100%
Low · +0.15 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 0 · Related 1

Timeline

  1. 13-03-2026
    PublishedVulnerability first disclosed.
  2. 16-03-2026
    Last modifiedVulnerability information updated.

Description

file-type detects the file type of a file, stream, or data. From 20.0.0 to 21.3.1, a crafted ZIP file can trigger excessive memory growth during type detection in file-type when using fileTypeFromBuffer(), fileTypeFromBlob(), or fileTypeFromFile(). The ZIP inflate output limit is enforced for stream-based detection, but not for known-size inputs. As a result, a small compressed ZIP can cause file-type to inflate and process a much larger payload while probing ZIP-based formats such as OOXML. This vulnerability is fixed in 21.3.2.

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.45%

Chance of exploitation in the next 30 days

Percentile

38%

Versus all other CVEs

30-day change

+0.15 pp

From 0.30% on 21-09-2026

21-09-202621-10-2026
EPSS score
0.45%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • githubUnverified

    File Type

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Chainguard1 product
  • redisinsight< 3.2.0-r2
Npm1 product
  • file-type≥ 20.0.0, < 21.3.2
Sindresorhus1 product

3 vendors · 3 products

References

7 links