{"api_version":"1","generated_at":"2026-12-01T02:35:30+00:00","cve":"CVE-2026-140007","urls":{"html":"https://cve.report/CVE-2026-140007","api":"https://cve.report/api/cve/CVE-2026-140007.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-140007","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-140007"},"summary":{"title":"minimatch: Global pattern cache retains large expansions, enabling memory exhaustion","description":"minimatch is a minimal matching utility for converting glob expressions into JavaScript RegExp objects. From 11.0.3 until 11.0.8, the top-level minimatch() function stores compiled Minimatch objects in a module-level 256-entry Map whose entries are bounded by count but not by retained expansion weight below the braceExpandMax ceiling. An application that accepts unique attacker-controlled glob patterns can retain objects containing up to 100,000 expanded rows per entry, causing memory exhaustion and process termination; direct construction with new Minimatch() is not affected by this cache behavior. This issue is fixed in version 11.0.8.","state":"PUBLISHED","assigner":"GitHub_M","published_at":"2026-11-30 22:17:30","updated_at":"2026-11-30 22:17:30"},"problem_types":["CWE-400","CWE-400 CWE-400: Uncontrolled Resource Consumption"],"metrics":[{"version":"3.1","source":"security-advisories@github.com","type":"Secondary","score":"5.9","severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","baseScore":5.9,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"5.9","severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","data":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":5.9,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}}],"references":[{"url":"https://github.com/isaacs/minimatch/security/advisories/GHSA-hqmv-qgp3-jx75","name":"https://github.com/isaacs/minimatch/security/advisories/GHSA-hqmv-qgp3-jx75","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/isaacs/minimatch/commit/d70a7bbc73140bd771daf5c30869b28dbc48929c","name":"https://github.com/isaacs/minimatch/commit/d70a7bbc73140bd771daf5c30869b28dbc48929c","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-140007","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-140007","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"isaacs","product":"minimatch","version":"affected >= 11.0.3, < 11.0.8","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"product":"minimatch","vendor":"isaacs","versions":[{"status":"affected","version":">= 11.0.3, < 11.0.8"}]}],"descriptions":[{"lang":"en","value":"minimatch is a minimal matching utility for converting glob expressions into JavaScript RegExp objects. From 11.0.3 until 11.0.8, the top-level minimatch() function stores compiled Minimatch objects in a module-level 256-entry Map whose entries are bounded by count but not by retained expansion weight below the braceExpandMax ceiling. An application that accepts unique attacker-controlled glob patterns can retain objects containing up to 100,000 expanded rows per entry, causing memory exhaustion and process termination; direct construction with new Minimatch() is not affected by this cache behavior. This issue is fixed in version 11.0.8."}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":5.9,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-400","description":"CWE-400: Uncontrolled Resource Consumption","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-11-30T21:35:25.548Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M"},"references":[{"name":"https://github.com/isaacs/minimatch/security/advisories/GHSA-hqmv-qgp3-jx75","tags":["x_refsource_CONFIRM"],"url":"https://github.com/isaacs/minimatch/security/advisories/GHSA-hqmv-qgp3-jx75"},{"name":"https://github.com/isaacs/minimatch/commit/d70a7bbc73140bd771daf5c30869b28dbc48929c","tags":["x_refsource_MISC"],"url":"https://github.com/isaacs/minimatch/commit/d70a7bbc73140bd771daf5c30869b28dbc48929c"}],"source":{"advisory":"GHSA-hqmv-qgp3-jx75","discovery":"UNKNOWN"},"title":"minimatch: Global pattern cache retains large expansions, enabling memory exhaustion"}},"cveMetadata":{"assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","assignerShortName":"GitHub_M","cveId":"CVE-2026-140007","datePublished":"2026-11-30T21:35:25.548Z","dateReserved":"2026-11-30T17:42:59.710Z","dateUpdated":"2026-11-30T21:35:25.548Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 22:17:30","lastModifiedDate":"2026-11-30 22:17:30","problem_types":["CWE-400","CWE-400 CWE-400: Uncontrolled Resource Consumption"],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","baseScore":5.9,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":2.2,"impactScore":3.6}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"140007","Ordinal":"1","Title":"minimatch: Global pattern cache retains large expansions, enabli","CVE":"CVE-2026-140007","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"140007","Ordinal":"1","NoteData":"minimatch is a minimal matching utility for converting glob expressions into JavaScript RegExp objects. From 11.0.3 until 11.0.8, the top-level minimatch() function stores compiled Minimatch objects in a module-level 256-entry Map whose entries are bounded by count but not by retained expansion weight below the braceExpandMax ceiling. An application that accepts unique attacker-controlled glob patterns can retain objects containing up to 100,000 expanded rows per entry, causing memory exhaustion and process termination; direct construction with new Minimatch() is not affected by this cache behavior. This issue is fixed in version 11.0.8.","Type":"Description","Title":"minimatch: Global pattern cache retains large expansions, enabli"}]}}}