# file-type (npm) vulnerabilities

3 known vulnerabilities (3 medium), with the versions each affects and the releases that fix them.

## At a glance

- Latest release: not known (cve.now hasn't read this package's releases)
- Newest unaffected release: not known without release data
- Registry: https://www.npmjs.com/package/file-type

## Advisories (3)

### [CVE-2026-32630](https://cve.now/CVE-2026-32630): file-type affected by ZIP Decompression Bomb DoS via \[Content\_Types\].xml entry

- Severity: Medium 5.3
- Published: Mar 13, 2026
- Affected: from 20.0.0, fixed in 21.3.2.

### [CVE-2026-31808](https://cve.now/CVE-2026-31808): file-type affected by infinite loop in ASF parser on malformed input with zero-size sub-header

- Severity: Medium 5.3
- Published: Mar 10, 2026
- Affected: from 13.0.0, fixed in 21.3.1.

### [CVE-2022-36313](https://cve.now/CVE-2022-36313): An issue was discovered in the file-type package before 16.5.4 and 17.x before 17.1.3 for Node.js.

- Severity: Medium 5.5
- Published: Jul 21, 2022
- Affected: from 13.0.0, fixed in 16.5.4; from 17.0.0, fixed in 17.1.3.

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/packages/npm/file-type
Site guide for agents: https://cve.now/llms.txt
Uses NVD data; not endorsed by NVD.
