5.5

CVE-2022-36313: sindresorhus file-type Infinite Loop

CVSS: 5.5v3.1MediumModified
AliasesGHSA-mhxj-85r3-2x55
Published 21-07-2022Last modified 07-10-2026

Vulnerability summary

CVE-2022-36313 is a medium (CVSS 5.5) Infinite Loop vulnerability in sindresorhus file-type. EPSS estimates a 0.41% chance of exploitation in the next 30 days, higher than 33.7% of scored vulnerabilities.

Overall risk
22/100
0100
Low · default modelHow is this calculated?
CVSS score
5.5/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.41%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 21-07-2022
    PublishedVulnerability first disclosed.
  2. 07-10-2026
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.41%

Chance of exploitation in the next 30 days

Percentile

34%

Versus all other CVEs

30-day change

0.00 pp

From 0.41% on 21-09-2026

21-09-202621-10-2026
EPSS score
0.41%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Npm1 product
  • file-type≥ 13.0.0, < 16.5.4 | ≥ 17.0.0, < 17.1.3
Sindresorhus1 product

2 vendors · 2 products

References

12 links
Show all 12 references