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.
Metrics
Affected Vendors & Products
Advisories
| Source | ID | Title |
|---|---|---|
EUVD |
EUVD-2022-6377 | 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. |
Github GHSA |
GHSA-mhxj-85r3-2x55 | file-type vulnerable to Infinite Loop via malformed MKV file |
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Tue, 17 Mar 2026 19:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Sindresorhus
Sindresorhus file-type |
|
| CPEs | cpe:2.3:a:sindresorhus:file-type:*:*:*:*:*:node.js:*:* | |
| Vendors & Products |
File-type Project
File-type Project file-type |
Sindresorhus
Sindresorhus file-type |
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: mitre
Published:
Updated: 2024-08-03T10:00:04.274Z
Reserved: 2022-07-20T00:00:00.000Z
Link: CVE-2022-36313
No data.
Status : Modified
Published: 2022-07-21T16:15:09.297
Modified: 2026-03-17T19:18:04.083
Link: CVE-2022-36313
OpenCVE Enrichment
No data.
Weaknesses
EUVD
Github GHSA