{"schemaVersion":3,"id":"CVE-2016-10540","aliases":["UBUNTU-CVE-2016-10540","USN-4783-1","DEBIAN-CVE-2016-10540","GHSA-hxm2-r34f-qmc5"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2018-05-31T20:00:00.000Z","modified":"2024-09-16T19:24:48.196Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.0","versionLabel":"v3.0","source":"NVD","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":5,"severity":"medium","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":7.5,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Debian","score":7.5,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Npm","score":7.5,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true}]},"epss":{"probability":0.01731,"percentile":0.77293,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":-0.02699999999999994,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.01758},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01758,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01758,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01758,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01758,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01758,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01758,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01758,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01713,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01758,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01758,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01758,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01758,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01758,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01758,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01758,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01758,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01758,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01758,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01758,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01758,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01758,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01758,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01758,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01731,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01731,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01731,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01731,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01731,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01731,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01731,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01731,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01731,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01731,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01731,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01731,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01731,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01731,"percentile":0.77293}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.01758,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01713,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01758,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01758,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01758,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01758,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01758,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01758,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01758,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01758,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01758,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01758,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01758,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01758,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01758,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01758,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01758,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01731,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01731,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01731,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01731,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01731,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01731,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01731,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01731,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01731,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01731,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01731,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01731,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01731,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01731,"percentile":0.77293}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_35C82EBAE06AB3AE","name":"Exploit Reference (nodesecurity.io)","source":"reference","url":"https://nodesecurity.io/advisories/118","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption","description":"The product does not properly control the allocation and maintenance of a limited resource.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/400.html"},{"id":"CWE-20","name":"Improper Input Validation","description":"The product receives input or data, but it does\n        not validate or incorrectly validates that the input has the\n        properties that are required to process the data safely and\n        correctly.","type":"weakness","status":"Stable","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/20.html"}],"affected":[{"vendor":"debian","product":"node-minimatch","name":"node-minimatch","label":"node-minimatch","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/node-minimatch","purlType":"deb","versions":[{"text":"< 3.0.3-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.0.3-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"node-minimatch","name":"node-minimatch","label":"node-minimatch","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/node-minimatch","purlType":"deb","versions":[{"text":"< 0.2.12-1ubuntu0.1~esm2","noFixRecorded":false,"fixedIn":null},{"text":"< 1.0.0-1ubuntu0.1~esm2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.2.12-1ubuntu0.1~esm2 | < 1.0.0-1ubuntu0.1~esm2","eol":null,"hubHref":null},{"vendor":"hackerone","product":"minimatch node module","name":"minimatch node module","label":"minimatch node module","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 3.0.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 3.0.1","eol":null,"hubHref":"/vendor/hackerone/minimatch_node_module"},{"vendor":"minimatch_project","product":"minimatch","name":"minimatch","label":"minimatch","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 3.0.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 3.0.1","eol":null,"hubHref":"/vendor/minimatch_project/minimatch"},{"vendor":"Npm","product":"minimatch","name":"minimatch","label":"minimatch","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/minimatch","purlType":"npm","versions":[{"text":"< 3.0.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.0.2","eol":null,"hubHref":null}],"affectedCount":5,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://nodesecurity.io/advisories/118","label":"nodesecurity.io/advisories/118","hostname":"nodesecurity.io","tags":["X Refsource MISC","Exploit","Third Party Advisory","REPORT"]},{"url":"https://ubuntu.com/security/CVE-2016-10540","label":"ubuntu.com/security/CVE-2016-10540","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2016-10540","label":"www.cve.org/CVERecord?id=CVE-2016-10540","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-4783-1","label":"ubuntu.com/security/notices/USN-4783-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2016-10540","label":"security-tracker.debian.org/tracker/CVE-2016-10540","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-10540","label":"nvd.nist.gov/vuln/detail/CVE-2016-10540","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/advisories/GHSA-hxm2-r34f-qmc5","label":"github.com/advisories/GHSA-hxm2-r34f-qmc5","hostname":"github.com","tags":["Advisory"]},{"url":"https://www.npmjs.com/advisories/118","label":"www.npmjs.com/advisories/118","hostname":"www.npmjs.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":["CVE-2016-1000023"],"related":[]},"timeline":[{"kind":"published","date":"2018-05-31T20:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-09-16T19:24:48.196Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":40,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T10:29:02.313Z","stale":false,"partial":false}}