{"cve":"CVE-2022-36313","nvd":{"published":"2022-07-21T16:15:09.297","modified":"2026-10-07T19:17:30.503","status":"Modified","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","score":5.5},"cwes":["CWE-835"],"references":["https://github.com/sindresorhus/file-type/releases/tag/v16.5.4","https://github.com/sindresorhus/file-type/releases/tag/v17.1.3","https://security.netapp.com/advisory/ntap-20220909-0005/","https://www.npmjs.com/package/file-type","https://github.com/sindresorhus/file-type/releases/tag/v16.5.4"],"products":["sindresorhus:file-type"],"source":"nvd","synced_at":"2026-10-19T21:33:44.859608815+00:00"},"epss":{"cve":"CVE-2022-36313","score":0.00406,"percentile":0.34633,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-mhxj-85r3-2x55","url":"https://osv.dev/vulnerability/GHSA-mhxj-85r3-2x55","summary":"file-type vulnerable to Infinite Loop via malformed MKV file","modified":"2023-11-08T04:10:02.456879Z","packages":[{"ecosystem":"npm","name":"file-type","purl":"pkg:npm/file-type","ranges":[">=13.0.0 <16.5.4"],"fixed":["16.5.4"]},{"ecosystem":"npm","name":"file-type","purl":"pkg:npm/file-type","ranges":[">=17.0.0 <17.1.3"],"fixed":["17.1.3"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}