# CVE-2026-32630: file-type affected by ZIP Decompression Bomb DoS via [Content_Types].xml entry

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.50%, higher than 36% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-13T20:54:16.960Z
- Modified: 2026-09-10T03:50:39.741Z
- Also known as: GHSA-j47w-4g3g-c36v
- Weaknesses: CWE-400, CWE-409
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- sindresorhus file-type: >= 20.0.0, < 21.3.2; from 20.0.0 before 21.3.2
- file-type (npm): from 20.0.0 before 21.3.2

## Every score

- GitHub_M: 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`
- GitHub: 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`

## References

- <https://github.com/sindresorhus/file-type/security/advisories/GHSA-j47w-4g3g-c36v> (exploit, vendor-advisory, web)
- <https://github.com/sindresorhus/file-type/commit/399b0f156063f5aeb1c124a7fd61028f3ea7c124> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-32630> (advisory)
- <https://github.com/sindresorhus/file-type/commit/a155cd71323279de173c54e8c530d300d3854fdd> (web)
- <https://github.com/sindresorhus/file-type> (package)
- <https://github.com/sindresorhus/file-type/releases/tag/v21.3.2> (web)

## Sources

- CVE List: [CVE-2026-32630](https://www.cve.org/CVERecord?id=CVE-2026-32630), CVE Terms of Use, modified 2026-03-16
- GitHub Advisory Database: [GHSA-j47w-4g3g-c36v](https://github.com/advisories/GHSA-j47w-4g3g-c36v), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-32630](https://nvd.nist.gov/vuln/detail/CVE-2026-32630), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-32630 · Whole record: https://cve.day/CVE-2026-32630.json · Rebuilt by cve.day 2026-11-25T22:59:15.959Z
