CVE-2022-36313

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.

Published: 2022-07-21 Last update: 2026-06-17 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2022-36313 is rated Low Risk (32.6/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.38%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2022-36313

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 0.17% 0.38% +0.21%
2 2026-02-16 0.09% 0.17% +0.08%
3 2025-06-19 0.09%

Full EPSS history (10 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2022-36313

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
5.5 3.1 MEDIUM
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H Click to expand
Attack vector (AV:L)
They already need access on the box, or another person has to do something wrong; it’s not a remote drive-by.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
1.8 3.6 [email protected]

Weakness enumeration for CVE-2022-36313

GitHub Security Advisory for CVE-2022-36313

GHSA-mhxj-85r3-2x55 · Severity: high · Ecosystem: npm — file-type vulnerable to Infinite Loop via malformed MKV file

OS Trackers for CVE-2022-36313

vendor priority summary link
redhat medium https://access.redhat.com/security/cve/CVE-2022-36313

Affected software / configurations for CVE-2022-36313

Vendor Product Version Raw CPE
sindresorhus file-type < 16.5.4 cpe:2.3:a:sindresorhus:file-type:*:*:*:*:*:node.js:*:*
sindresorhus file-type >= 17.0.0, < 17.1.3 cpe:2.3:a:sindresorhus:file-type:*:*:*:*:*:node.js:*:*

References for CVE-2022-36313

cvelogic Threat Intelligence