Read the docs
TI-2026-25139 Aliases CVE-2026-32630GHSA-j47w-4g3g-c36v

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

Priority MEDIUM 63CWE-409Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · Low
Fix status
Partial Red Hat: 1 without a fix

Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-400.

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00318 24th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Partial file-type (sindresorhus): 21.3.2file-type (npm): 21.3.2Red Hat: 1 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
sindresorhusfile-type20.0.0 to before 21.3.221.3.2Patch availableCNA
—file-type (npm)20.0.0 to before 21.3.221.3.2Patch availableGHSA-j47w-4g3g-c36v
  • file-type Vendorsindresorhus Affected 20.0.0 to before 21.3.2 Fixed in 21.3.2 Patch available CNA
  • file-type (npm) Vendor— Affected 20.0.0 to before 21.3.2 Fixed in 21.3.2 Patch available GHSA-j47w-4g3g-c36v

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:sindresorhus:file-type:*:*:*:*:*:node.js:*:*20.0.0 to before 21.3.2Vulnerablesindresorhus
  • cpe:2.3:a:sindresorhus:file-type:*:*:*:*:*:node.js:*:* Versions 20.0.0 to before 21.3.2 Vulnerable ·sindresorhus

Remediation

  • Fix · CNA file-type (sindresorhus) Fixed in 21.3.2
  • Fix · GHSA-j47w-4g3g-c36v file-type (npm) Fixed in 21.3.2 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Developer Hub 1AffectedNo fix yet: Fix deferred
Not affected: 8 products
  • Cryostat 4
  • Logging Subsystem for Red Hat OpenShift
  • Red Hat Data Grid 8
  • Red Hat Enterprise Linux AI (RHEL AI) 3
  • Red Hat OpenShift Dev Spaces
  • Red Hat Satellite 6
  • Red Hat build of Apicurio Registry 2
  • Self-service automation portal 2

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-32630
  2. 2026-10-03 Alias added: GHSA-j47w-4g3g-c36v
  3. 2026-10-27 Affected versions changed · Red Hat

References

  • TI-2026-24363 file-type affected by infinite loop in ASF parser on malformed input with zero-size sub-header CVSS 3.1MEDIUM 5.3
  • TI-2022-16660 An issue was discovered in the file-type package before 16.5.4 and 17.x before 17.1.3 for… CVSS 3.1MEDIUM 5.5

Sources