CVE-2022-36313: Sindresorhus File-Type

Medium severity, CVSS 5.5. EPSS: 0.4% chance of exploitation in the next 30 days.

An issue was discovered in the file-type package before 16.5.4 and 17.x before 17.1.3 for Node.js. A malformed MKV file could cause the file type detector to get caught in an infinite loop. This would make the application become unresponsive and could be used to cause a DoS attack.

Affected products

  • Sindresorhus File-Type: before 16.5.4 (fixed in 16.5.4); from 17.0.0, before 17.1.3 (fixed in 17.1.3)

Published 2022-07-21. Last modified 2026-10-07.