---
title: "file-type 22.3.0: release notes, upgrades and advisories"
description: "file-type 22.3.0: release notes, breaking changes by major version and 3 known advisories with their fix."
url: https://inlinr.com/packages/file-type
lang: en
---

[Packages](https://inlinr.com/packages)

# file-type

22.3.0 · 29 Oct 2026 MIT 83.2M / week [Repository](https://github.com/sindresorhus/file-type) [Homepage](https://github.com/sindresorhus/file-type#readme) [npm](https://www.npmjs.com/package/file-type) [Atom feed](https://inlinr.com/packages/feed/file-type)

Your version 

## Where each line stands

[Plan an upgrade](https://inlinr.com/packages/file-type/upgrade)

LineNewestSecurity

- 22.x 22.3.0 No known advisory Latest line
- 21.x 21.3.4 Safe from 21.3.2 [To 22.3.0](https://inlinr.com/packages/file-type/upgrade/21.3.4-22.3.0)
- 20.x and older 20.5.0 12 open advisories, worst high  · last release Apr 2025, no longer updated [To 22.3.0](https://inlinr.com/packages/file-type/upgrade/20.5.0-22.3.0)

## Latest releases

[All 174 releases](https://inlinr.com/packages/file-type/releases)

1. 22.x · latest line
2. ### [22.3.0](https://inlinr.com/packages/file-type/releases/22.3.0 "Open this release") [](https://github.com/sindresorhus/file-type/releases/tag/v22.3.0 "Read this release where it was published")  
29 Oct 2026

  - Harden EBML header traversal with a bounded tokenizer view ([#813](https://github.com/sindresorhus/file-type/issues/813)) [08bef8e](https://github.com/sindresorhus/file-type/commit/08bef8e)
  - Refactor ZIP detection to use upstream traversal limits ([#812](https://github.com/sindresorhus/file-type/issues/812)) [0c14b6f](https://github.com/sindresorhus/file-type/commit/0c14b6f)
3. ### [22.2.0](https://inlinr.com/packages/file-type/releases/22.2.0 "Open this release") [](https://github.com/sindresorhus/file-type/releases/tag/v22.2.0 "Read this release where it was published")  
14 Oct 2026

  - Add support for Core Audio Format (CAF) ([#805](https://github.com/sindresorhus/file-type/issues/805)) [bde605a](https://github.com/sindresorhus/file-type/commit/bde605a)
  - Add support for DSDIFF ([#804](https://github.com/sindresorhus/file-type/issues/804)) [e49d5b7](https://github.com/sindresorhus/file-type/commit/e49d5b7)
4. ### [22.1.1](https://inlinr.com/packages/file-type/releases/22.1.1 "Open this release") [](https://github.com/sindresorhus/file-type/releases/tag/v22.1.1 "Read this release where it was published")  
17 Sep 2026

  - Fix streamed OOXML files being detected as zip ([#801](https://github.com/sindresorhus/file-type/issues/801)) 1347414

Dependency tracking

## Know when your own dependencies move

file-type had 2 security advisories in the last 12 months. inlinr emails you the day one touches a project of yours, with the version that fixes it.

- Advisories reach you  
An email when a critical or high advisory affects a project, before the next install.
- Upgrades checked first  
Peer ranges, Node, ESM-only and types changes read before you bump.
- Only what matters  
Majors and breaking notes stay; patches and sibling bumps fold into one line.

[How dependency tracking works](https://inlinr.com/dependencies)

## Security

[Details](https://inlinr.com/packages/file-type/security)

- [file-type vulnerable to Infinite Loop via malformed MKV file](https://inlinr.com/advisories/GHSA-mhxj-85r3-2x55) High · fixed in 17.1.3, 16.5.4
- [file-type: ZIP Decompression Bomb DoS via \[Content\_Types\].xml entry](https://inlinr.com/advisories/GHSA-j47w-4g3g-c36v) Moderate · fixed in 21.3.2
- [file-type affected by infinite loop in ASF parser on malformed input with zero-size sub-header](https://inlinr.com/advisories/GHSA-5v7r-6r5c-r473) Moderate · fixed in 21.3.1

## Health

[Details](https://inlinr.com/packages/file-type/security#signals)

- **Provenance**:
- **Publisher**:
- **Maintainers**:
- **Scorecard**:
- **Size**:

## Weekly downloads

Registry facts last checked 22 Nov 2026\. Releases and advisories last read 22 Nov 2026.

A whole project to check? Paste its package.json in the [dependency check](https://inlinr.com/tools/dependency-check): every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.
