Skip to content
Fencer Vulns
medium 5.3

CVE-2026-32630 json

file-type affected by ZIP Decompression Bomb DoS via [Content_Types].xml entry

published 2026-03-13 7 mo ago modified 2026-09-10 1 mo ago also EUVD-2026-12139 , GHSA-j47w-4g3g-c36v

cvss
5.3
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.4%
EPSS 0.4% chance of exploitation in 30 days, percentile 28%
public exploits
0
none known

Summary

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.

Patch / fix

  • npm file-type 21.3.2
  • file-type_project file-type 21.3.2
  • sindresorhus file-type 21.3.2

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-32630 updated cvss 5.3

file-type: file-type: Denial of Service via excessive memory growth from crafted ZIP files

  • Red Hat Developer Hub 1 rhdh/rhdh-hub-rhel9
    affected: no fix available “Fix deferred”
  • Red Hat Cryostat 4 io.cryostat-cryostat Red Hat Logging Subsystem for Red Hat OpenShift openshift-logging/kibana6-rhel8, openshift-logging/elasticsearch6-rhel9, openshift-logging/logging-curator5-rhel9, openshift-logging/elasticsearch-proxy-rhel9, openshift-logging/elasticsearch-rhel9-operator, openshift-logging/elasticsearch-operator-bundle Red Hat build of Apicurio Registry 2 io.apicurio-apicurio-registry Red Hat Data Grid 8 org.infinispan-infinispan-console Red Hat Enterprise Linux AI (RHEL AI) 3 rhelai3/bootc-cuda-rhel9, rhelai3/bootc-rocm-rhel9, rhelai3/disk-image-cuda-rhel9 Red Hat OpenShift Dev Spaces devspaces/code-rhel9, devspaces/code-sshd-rhel9
    +2 more products
    Red Hat Satellite 6 satellite/iop-host-inventory-frontend-rhel9 Red Hat Self-service automation portal 2 ansible-automation-platform/automation-portal
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
Proof of concept is public
Automatable
yes
Technical impact
partial
Assessed
7 mo ago

Exploit prediction

0.35% chance of exploitation in the next 30 days, higher than 28% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • github.com https://github.com/sindresorhus/file-type/security/advisories/GHSA-j47w-4g3g-c36v referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 3.1 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
GitHub 3.1 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Affected packages

ecosystem package affected fixed in
npm file-type
>=20.0.0, <21.3.2
21.3.2

Affected products

  • sindresorhus file-type

Classification

Weakness
  • CWE-409 Improper Handling of Highly Compressed Data (Data Amplification)
  • CWE-400 Uncontrolled Resource Consumption

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.