{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2016-10540","id":"CVE-2016-10540","title":"Regular Expression Denial of Service in minimatch","description":"Minimatch is a minimal matching utility that works by converting glob expressions into JavaScript `RegExp` objects. The primary function, `minimatch(path, pattern)` in Minimatch 3.0.1 and earlier is vulnerable to ReDoS in the `pattern` parameter.","descriptionLong":"Minimatch is a minimal matching utility that works by converting glob expressions into JavaScript `RegExp` objects. The primary function, `minimatch(path, pattern)` in Minimatch 3.0.1 and earlier is vulnerable to ReDoS in the `pattern` parameter.","published":"2018-05-31T20:00:00.000Z","updated":"2026-10-24T10:30:45.798722959Z","reserved":"2017-10-29T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"hackerone","metric":{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"NVD"},{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"OSV"},{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","rating":"medium","source":"NVD"}],"rating":"high","products":["HackerOne minimatch node module"],"affectedProducts":[{"vendor":"HackerOne","product":"minimatch node module","defaultStatus":null,"versions":[{"status":"affected","version":"<=3.0.1"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"minimatch","purl":"pkg:npm/minimatch","ranges":["<3.0.2"],"fixed":["3.0.2"],"advisory":"GHSA-hxm2-r34f-qmc5"}],"cwes":["CWE-400","CWE-20"],"aliases":["GHSA-hxm2-r34f-qmc5"],"references":[{"url":"https://nodesecurity.io/advisories/118","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-10540","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-hxm2-r34f-qmc5","tags":["advisory"]},{"url":"https://www.npmjs.com/advisories/118","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01474,"epssPercentile":0.74343,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2016-10540","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2016-10540","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2016-10540","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-hxm2-r34f-qmc5","ok":true,"note":"GHSA-hxm2-r34f-qmc5"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2016-10540","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}