CVE-2022-36313

MEDIUM CVSS 3.1: 5.5 EPSS 0.41%
Updated Oct 07, 2026
Sindresorhus
Parameter Value
CVSS 5.5 (MEDIUM)
Affected Versions 17.0.0 — 17.1.3
Fixed In 16.5.4
Type CWE-835
Vendor Sindresorhus
Public PoC No

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.

Attack Parameters

Attack Vector
Local
Requires local access
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
Required
User action required

Impact Assessment

Confidentiality
None
No data leak
Integrity
None
No data modification
Availability
High
Complete denial of service

CVSS Vector v3.1

Weakness Type (CWE)

Vulnerable Products 2

Configuration From (including) Up to (excluding)
Sindresorhus File-Type
cpe:2.3:a:sindresorhus:file-type:*:*:*:*:*:node.js:*:*
— 16.5.4
Sindresorhus File-Type
cpe:2.3:a:sindresorhus:file-type:*:*:*:*:*:node.js:*:*
17.0.0 17.1.3