cve.bz

CVE-2026-32630 sindresorhus file-type

5.3 mediumExploit referenceEPSS 0.4%Fix available

Medium (5.3) in sindresorhus file-type. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in file-type 21.3.2.

On this page
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.

Severity

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 29th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: partial, assessed 2026-03-16. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-409 Improper Handling of Highly Compressed Data (Data Amplification)
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-32630 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-32630?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-32630?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-32630 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
sindresorhus:file-typefrom 20.0.0 before 21.3.2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-j47w-4g3g-c36vnpmfile-type>=20.0.0 <21.3.221.3.2

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Cryostat 4io.cryostat-cryostatNot affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/elasticsearch6-rhel9Not affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/elasticsearch-operator-bundleNot affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/elasticsearch-proxy-rhel9Not affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/elasticsearch-rhel9-operatorNot affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/kibana6-rhel8Not affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/logging-curator5-rhel9Not affected
Red Hat build of Apicurio Registry 2io.apicurio-apicurio-registryNot affected
Red Hat Data Grid 8org.infinispan-infinispan-consoleNot affected
Red Hat Developer Hub 1rhdh/rhdh-hub-rhel9Fix deferred
Red Hat Enterprise Linux AI (RHEL AI) 3rhelai3/bootc-cuda-rhel9Not affected
Red Hat Enterprise Linux AI (RHEL AI) 3rhelai3/bootc-rocm-rhel9Not affected
Red Hat Enterprise Linux AI (RHEL AI) 3rhelai3/disk-image-cuda-rhel9Not affected
Red Hat OpenShift Dev Spacesdevspaces/code-rhel9Not affected
Red Hat OpenShift Dev Spacesdevspaces/code-sshd-rhel9Not affected
Red Hat Satellite 6satellite/iop-host-inventory-frontend-rhel9Not affected
Self-service automation portal 2ansible-automation-platform/automation-portalNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-32630.

References

Check your stackJSON