CVE Explorer
CVE-2026-32630
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. Thi
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"file-type","vendor":"sindresorhus","versions":[{"status":"affected","version":">= 20.0.0, < 21.3.2"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:9bb68d95ce1bccf516e3bedb39f09d3e330238fd7f8b10edd514bfae2f582182 · sha256:164159c3db2a05a0… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":5.3,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:9bb68d95ce1bccf516e3bedb39f09d3e330238fd7f8b10edd514bfae2f582182 · sha256:164159c3db2a05a0… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-409","description":"CWE-409: Improper Handling of Highly Compressed Data (Data Amplification)","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:9bb68d95ce1bccf516e3bedb39f09d3e330238fd7f8b10edd514bfae2f582182 · sha256:164159c3db2a05a0… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 source assertions{"name":"https://github.com/sindresorhus/file-type/commit/399b0f156063f5aeb1c124a7fd61028f3ea7c124","tags":["x_refsource_MISC"],"url":"https://github.com/sindresorhus/file-type/commit/399b0f156063f5aeb1c124a7fd61028f3ea7c124"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:9bb68d95ce1bccf516e3bedb39f09d3e330238fd7f8b10edd514bfae2f582182 · sha256:164159c3db2a05a0… · /containers/cna/references/1
{"name":"https://github.com/sindresorhus/file-type/security/advisories/GHSA-j47w-4g3g-c36v","tags":["x_refsource_CONFIRM"],"url":"https://github.com/sindresorhus/file-type/security/advisories/GHSA-j47w-4g3g-c36v"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:9bb68d95ce1bccf516e3bedb39f09d3e330238fd7f8b10edd514bfae2f582182 · sha256:164159c3db2a05a0… · /containers/cna/references/0
{"tags":["exploit"],"url":"https://github.com/sindresorhus/file-type/security/advisories/GHSA-j47w-4g3g-c36v"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:9bb68d95ce1bccf516e3bedb39f09d3e330238fd7f8b10edd514bfae2f582182 · sha256:164159c3db2a05a0… · /containers/adp/0/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.