CVE-2026-32630
published medium CVSS 3.1 · 5.3file-type affected by ZIP Decompression Bomb DoS via [Content_Types].xml entry
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| sindresorhus | — | file-type>= 20.0.0, < 21.3.2 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| sindresorhus | file-type | >= 20.0.0, < 21.3.2 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-409 CWE-409: Improper Handling of Highly Compressed Data (Data Amplification)
References
2Provider assertions
2GitHub_M · cna
file-type affected by ZIP Decompression Bomb DoS via [Content_Types].xml entry
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- cf6392c0ad4b123122960b944241e3a66e46e21e52dd87890ffb1a200460e8b0
- Ingested
- 23 Sep 2026, 09:10:00 UTC
- Source record
- Official CVE record