Home / micromatch / micromatch / CVE-2024-4067
CVE-2024-4067: is it exploited, and which versions of micromatch are affected and fixed?
CVE-2024-4067 is a regular expression denial of service (ReDoS) vulnerability in micromatch. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 11:08 UTC). Affected: micromatch before 4.0.8 (GitHub advisory GHSA-952p-6rrq-rcjv). Fixed in 4.0.8 (GitHub advisory GHSA-952p-6rrq-rcjv). Severity: Medium (5.3, CVSS 3.1, from Checkmarx).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:08 UTC, CVE record November 19, 2026, 07:12 UTC and NVD November 19, 2026, 07:29 UTC.
What is CVE-2024-4067?
Regular Expression Denial of Service in micromatch
The NPM package `micromatch` prior to 4.0.8 is vulnerable to Regular Expression Denial of Service (ReDoS). The vulnerability occurs in `micromatch.braces()` in `index.js` because the pattern `.*` will greedily match anything. By passing a malicious payload, the pattern matching will keep backtracking to the input while it doesn't find the closing bracket. As the input size increases, the consumption time will also increase until it causes the application to hang or slow down. There was a merged fix but further testing shows the issue persists. This issue should be mitigated by using a safe pattern that won't start backtracking the regular expression due to greedy matching. This issue was fixed in version 4.0.8.
From the CVE record by Checkmarx, last updated September 17, 2024, 19:47 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| micromatch | micromatch | before 4.0.8 | 4.0.8 |
As the CVE record by Checkmarx states it, last updated September 17, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | micromatch | < 4.0.8 | 4.0.8 | GHSA-952p-6rrq-rcjv |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated August 28, 2024. Summary: Regular Expression Denial of Service (ReDoS) in micromatch.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| jonschlinkert | micromatch | before 4.0.8 | application |
NVD analysis (status Analyzed), last modified June 17, 2026, 08:01 UTC.
How severe is CVE-2024-4067?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.3 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L | Checkmarx |
| Medium 5.3 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-4067 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, May 13, 2024)
- EPSS
- 1.43% probability of exploitation activity in the next 30 days, percentile 73.8 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-1333 Inefficient Regular Expression Complexity
Where are the vendor advisories and references?
- https://devhub.checkmarx.com/cve-details/CVE-2024-4067/
- https://github.com/micromatch/micromatch/pull/266
- https://github.com/micromatch/micromatch/commit/03aa8052171e878897eee5d7bb2ae0ae83ec2ade
- https://github.com/micromatch/micromatch/releases/tag/4.0.8
- https://advisory.checkmarx.net/advisory/CVE-2024-4067/
- https://github.com/micromatch/micromatch/blob/2c56a8604b68c1099e7bc0f807ce0865a339747a/index.js#L448 x_transferred
- https://github.com/micromatch/micromatch/issues/243 x_transferred
- https://github.com/micromatch/micromatch/pull/247 x_transferred
Who found and reported it?
- Mário Teixeira, Checkmarx Research Group (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- April 23, 2024
- Published
- May 13, 2024, 10:04 UTC
- CVE record updated
- September 17, 2024, 19:47 UTC by Checkmarx
- NVD
- Analyzed, last modified June 17, 2026, 08:01 UTC
- Last checked
- CVE list November 19, 2026, 07:12 UTC; NVD November 19, 2026, 07:29 UTC; KEV December 3, 2026, 11:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
Questions about CVE-2024-4067
Is CVE-2024-4067 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 11:08 UTC. FIRST's EPSS gives it a 1.43% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of micromatch are affected by CVE-2024-4067?
micromatch before 4.0.8, per the GitHub advisory GHSA-952p-6rrq-rcjv. The tables above give every range the sources list.
Which version fixes CVE-2024-4067?
4.0.8, per the GitHub advisory GHSA-952p-6rrq-rcjv. Check the vendor's advisory before you rely on it.
How severe is CVE-2024-4067?
Medium (5.3, CVSS 3.1, from Checkmarx). The severity table above shows each score with its source.
Where is the official record of CVE-2024-4067?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.